WebSphere DataSource Connection Failing - java

I'm using WebSphere 8.5.5 and have a DataSource created. When I click "Test Connection" from the "Data Sources" page the test is successful! When the application is started though, I get an error message and lengthy stack trace. I have the identical application code and DS setup running fine in another WebSphere instance. Here's the message and a partial stack trace.
[10/18/19 10:37:54:465 EDT] 00000081 SystemOut O 2019-10-18 10:37:54,465 INFO o.h.j.i.u.LogHelper [WebContainer : 3] HHH000204: Processing PersistenceUnitInfo [
name: icegate
...]
[10/18/19 10:37:55:650 EDT] 00000081 SystemOut O 2019-10-18 10:37:55,649 WARN o.h.e.j.e.i.JdbcEnvironmentInitiator [WebContainer : 3] HHH000342: Could not obtain connection to query metadata : ORA-01017: invalid username/password; logon denied
DSRA0010E: SQL State = 72000, Error Code = 1,017
[10/18/19 10:37:55:658 EDT] 00000081 SystemOut O 2019-10-18 10:37:55,657 INFO o.h.d.Dialect [WebContainer : 3] HHH000400: Using dialect: org.hibernate.dialect.Oracle9iDialect
[10/18/19 10:37:55:660 EDT] 00000081 SystemOut O 2019-10-18 10:37:55,659 INFO o.h.e.j.e.i.LobCreatorBuilderImpl [WebContainer : 3] HHH000422: Disabling contextual LOB creation as connection was null
[10/18/19 10:37:57:465 EDT] 00000081 SystemOut O 2019-10-18 10:37:57,430 ERROR o.h.h.s.i.IdTableHelper [WebContainer : 3] Unable obtain JDBC Connection
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
DSRA0010E: SQL State = 72000, Error Code = 1,017
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]
at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:675) ~[ojdbc6-11.2.0.3.jar:11.2.0.4.0]

Related

Permission denied in getting spanner session create in a java spring boot project using spanner emulator

I am trying to run a basic spring boot application with JPA by using spanner emulator. However, I am getting the below error after startup after hitting any exposed end point.
PERMISSION_DENIED: com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Caller is missing IAM permission spanner.sessions.create on resource projects/test-project/instances/test-instance/databases/test-database.
Project has been cloned from https://github.com/GoogleCloudPlatform/google-cloud-spanner-hibernate/tree/master/google-cloud-spanner-hibernate-samples/spring-data-jpa-sample
and the only change I have done is updated the application.properties file.
as per my understanding spanner emulator should not have any IAM related issues as it doesn't need any. I am not sure what is causing this issue here. I have verified that the emulator config is the active config and hence I would expect the code to connect to emulator.
# Application configuration to use Cloud Spanner with Spring Data JPA
# Spanner connection URL.
# - ${PROJECT_ID} Replace with your GCP project ID
# - ${INSTANCE_ID} Replace with your Spanner instance ID
# - ${DATABASE_NAME} Replace with your Spanner database name within your Spanner instance
spring.datasource.url=jdbc:cloudspanner:/projects/test-project/instances/test-instance/databases/test-database
# Specify the Spanner JDBC driver.
spring.datasource.driver-class-name=com.google.cloud.spanner.jdbc.JdbcDriver
# Specify the Spanner Hibernate dialect.
spring.jpa.properties.hibernate.dialect=com.google.cloud.spanner.hibernate.SpannerDialect
#spring.jpa.hibernate.ddl-auto=update //same error even if I uncomment this line
# Settings to enable batching statements for efficiency
spring.jpa.properties.hibernate.jdbc.batch_size=100
# You may display SQL statements and stats for debugging if needed.
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hibernate.format_sql=true
Please find the console logs below:
2021-10-06 12:59:12.549 INFO 9747 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-10-06 12:59:12.556 INFO 9747 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-10-06 12:59:12.556 INFO 9747 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53]
2021-10-06 12:59:12.617 INFO 9747 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-10-06 12:59:12.617 INFO 9747 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 694 ms
2021-10-06 12:59:12.707 INFO 9747 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2021-10-06 12:59:12.737 WARN 9747 --- [ main] c.g.a.oauth2.DefaultCredentialsProvider : Your application has authenticated using end user credentials from Google Cloud SDK. We recommend that most server applications use service accounts instead. If your application continues to use end user credentials from Cloud SDK, you might receive a "quota exceeded" or "API not enabled" error. For more information about service accounts, see https://cloud.google.com/docs/authentication/.
2021-10-06 12:59:14.558 INFO 9747 --- [ main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (Network timeout is not supported)
2021-10-06 12:59:22.165 INFO 9747 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2021-10-06 12:59:22.197 INFO 9747 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-10-06 12:59:22.231 INFO 9747 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.29.Final
2021-10-06 12:59:22.337 INFO 9747 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-10-06 12:59:22.396 INFO 9747 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: com.google.cloud.spanner.hibernate.SpannerDialect
2021-10-06 12:59:22.851 INFO 9747 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-10-06 12:59:22.857 INFO 9747 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-10-06 12:59:23.060 WARN 9747 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-10-06 12:59:23.184 INFO 9747 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2021-10-06 12:59:23.290 INFO 9747 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-10-06 12:59:23.298 INFO 9747 --- [ main] com.example.CoffeeApplication : Started CoffeeApplication in 12.957 seconds (JVM running for 13.227)
2021-10-06 12:59:33.646 INFO 9747 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-10-06 12:59:33.646 INFO 9747 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2021-10-06 12:59:33.647 INFO 9747 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
Hibernate:
select
customer0_.id as id1_1_,
customer0_.email as email2_1_,
customer0_.name as name3_1_
from
customer customer0_
2021-10-06 12:59:35.650 WARN 9747 --- [nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 7, SQLState: null
2021-10-06 12:59:35.650 ERROR 9747 --- [nio-8080-exec-1] o.h.engine.jdbc.spi.SqlExceptionHelper : PERMISSION_DENIED: com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Caller is missing IAM permission spanner.sessions.create on resource projects/test-project/instances/test-instance/databases/test-database.
2021-10-06 12:59:35.668 ERROR 9747 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet] with root cause
io.grpc.StatusRuntimeException: PERMISSION_DENIED: Caller is missing IAM permission spanner.sessions.create on resource projects/test-project/instances/test-instance/databases/test-database.
at io.grpc.Status.asRuntimeException(Status.java:535) ~[grpc-api-1.40.1.jar:1.40.1]
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:533) ~[grpc-stub-1.40.1.jar:1.40.1]
at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39) ~[grpc-api-1.40.1.jar:1.40.1]
at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23) ~[grpc-api-1.40.1.jar:1.40.1]
at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40) ~[grpc-api-1.40.1.jar:1.40.1]
at com.google.cloud.spanner.spi.v1.SpannerErrorInterceptor$1$1.onClose(SpannerErrorInterceptor.java:100) ~[google-cloud-spanner-6.12.5.jar:6.12.5]
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:557) ~[grpc-core-1.40.1.jar:1.40.1]
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:69) ~[grpc-core-1.40.1.jar:1.40.1]
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:738) ~[grpc-core-1.40.1.jar:1.40.1]
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:717) ~[grpc-core-1.40.1.jar:1.40.1]
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37) ~[grpc-core-1.40.1.jar:1.40.1]
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133) ~[grpc-core-1.40.1.jar:1.40.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_281]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_281]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_281]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_281]
The error is a clear indication that your application is not trying to connect to the emulator, but to a real Spanner database. In order to connect to the emulator instead of 'real' Cloud Spanner, you should do one of the following:
Set the environment variable SPANNER_EMULATOR_HOST=localhost:9010
OR: Edit the JDBC connection URL to include the autoConfigEmulator=true property. Your JDBC URL would then become jdbc:cloudspanner:/projects/test-project/instances/test-instance/databases/test-database;autoConfigEmulator=true
The advantage of the second alternative is that the autoConfigEmulator property will not only ensure that the JDBC driver is connecting to the emulator, it will also automatically create the test-instance and test-database on the emulator if they do not already exist.

No Kerberos creds in keytab for principal HTTP/XXXX

Hello everybody (sorry for my english), I am using this library (which is a filter for SSO login with kerberos/spnego):
http://spnego.sourceforge.net/
I have an application developed with java(spring) which is deployed in IBM Websphere 8.5.5.8 (ibm jdk 1.7). The deploy is ok.
The library that I mentioned (spnego.jar) is put in the next path:
[WAS_HOME_INSTALL]/AppServer/lib/ext/
I have the krb5.conf file and login.conf file added as jvm parameters in Websphere.
After Deploy I start the application, and when its trying to do the authentication appears the next message:
No Kerberos creds in keytab for principal
HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
Here is the log file:
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: debug=true
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: principal=HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: credsType=accept only
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 config: useDefaultCcache=false (default)
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 config: useCcache=null
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 config: useDefaultKeytab=false
[2/28/18 17:03:22:996 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 config: useKeytab=/Apps/SSOpoc/SPNEGO/appsvr.keytab
[2/28/18 17:03:22:997 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: forwardable=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: renewable=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: proxiable=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: tryFirstPass=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: useFirstPass=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: moduleBanner=false (default)
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 JAAS config: interactive login? no
[2/28/18 17:03:22:998 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 Try keytab for principal=HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:006 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 No Kerberos creds in keytab for principal HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:007 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 Login successful
[2/28/18 17:03:23:007 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 kprincipal : HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:008 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 HTTP/PWAS02.olympus.corp#OLYMPUS.CORP added to Subject
[2/28/18 17:03:23:008 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 Attempting to add KeyTab to Subject for HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:008 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 find keys for HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:008 PET] 00000082 SystemOut O [JGSS_DBG_CRED] WebContainer : 1 No keys to add to Subject for HTTP/PWAS02.olympus.corp#OLYMPUS.CORP
[2/28/18 17:03:23:027 PET] 00000082 SystemOut O 17:03:23.027 [WebContainer : 1] INFO SpnegoHttpFilter - creds=
--- GSSCredential ---
Number of mehanism credentials: 1
[1] SPNEGOCredential
Owner: default
Usage: Accept Only
Start Time: 2/28/18 5:03 PM
InitLifetime: 0 Seconds
AcceptLifetime: INDEFINITE
--- End of GSSCredential ---
This is my login.conf file when I use Java native library
spnego-client {
com.sun.security.auth.module.Krb5LoginModule required;
};
spnego-server {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=true
keyTab="file://C:/Apps/SSOpoc/SPNEGO/appsvr.keytab"
storeKey=true
isInitiator=false
useTicketCache=false
principal="HTTP/OLYSOFT-WS.olympus-corp.info#OLYMPUS-CORP.INFO"
debug=true;
};
This is the login.conf when I use Java IBM jdk
spnego-client {
com.ibm.security.auth.module.Krb5LoginModule required;
};
spnego-server {
com.ibm.security.auth.module.Krb5LoginModule required
principal="HTTP/PWAS02.olympus.corp#OLYMPUS.CORP"
credsType=acceptor
useDefaultKeytab=false
useKeytab="file:/Apps/SSOpoc/SPNEGO/appsvr.keytab"
serviceAccountName=appsvr
debug=true;
};
I don´t know which is the equivalent for storeKey (which Store key in principal’s private credentials) parameter for IBM login.conf (I think that is the principal reason for the error in my log).
Please I appreciate any help.
Thank you for your time.

Upgraded application to Spring 4.3.7 and JDK 8. After this Spring beans are not loading. Beanfactory factory itself is NULL

I have the following error, could someone help me? Thank you in advance for your help.
11/24/17 4:21:43:949 EST] 000000a2 ContextLoader I
org.springframework.web.context.ContextLoader
initWebApplicationContext Root WebApplicationContext: initialization
completed in 15836 ms
[11/24/17 4:21:43:949 EST] 000000a2 SystemOut O TRIMS.properties file getting loaded on path:
/opt/applications/trims_main_ASIA/SIT1/config/TRIMSConfig.properties
[11/24/17 4:21:44:021 EST] 000000a2 SystemOut O MenuServletContextListener:: Menu XML config loaded.
[11/24/17 4:21:44:147 EST] 000000a2 webapp E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated
SRVE0283E: Exception caught while initializing context: {0}
java.lang.NullPointerException
at com.citigroup.trims.framework.cache.Cache.loadStaticCache(Cache.java:112)
at com.citigroup.trims.framework.cache.Cache.init(Cache.java:83)
at com.citigroup.trims.framework.cache.CacheManager.initialize(CacheManager.java:112)
at com.citigroup.trims.framework.cache.CacheStartup.contextInitialized(CacheStartup.java:30)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1732)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:415)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1201
I really appreciate!

HttpClient throws SSLException: Received fatal alert:decode_error

I have a Java application running on Websphere 8.5. I am trying to call a 3rd party webservice using below code but it fails the SSLException as follows.
HttpClient httpClient = new HttpClient();
PostMethod post = new PostMethod(clientURL);
post.addRequestHeader(....blah);
httpClient.executeMethod(post); // The error is thrown at this line `
It fails with the below error:
HttpMethodDir I org.apache.commons.httpclient.HttpMethodDirector executeWithRetry I/O exception (javax.net.ssl.SSLException) caught when processing request: Received fatal alert: decode_error`
Below is the full stacktrace:
[8/21/15 16:33:08:997 EDT] 00000093 HttpMethodDir I
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry I/O
exception (javax.net.ssl.SSLException) caught when processing request:
Received fatal alert: decode_error [8/21/15 16:33:08:997 EDT] 00000093
HttpMethodDir I org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry Retrying request [8/21/15 16:33:09:059 EDT] 00000093
HttpMethodDir I org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry I/O exception (javax.net.ssl.SSLException) caught
when processing request: Received fatal alert: decode_error [8/21/15
16:33:09:059 EDT] 00000093 HttpMethodDir I
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
Retrying request [8/21/15 16:33:09:122 EDT] 00000093 HttpMethodDir I
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry I/O
exception (javax.net.ssl.SSLException) caught when processing request:
Received fatal alert: decode_error [8/21/15 16:33:09:122 EDT] 00000093
HttpMethodDir I org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry Retrying request [8/21/15 16:33:09:168 EDT] 00000093
SystemOut O In MessageSender....end of sendMessage() [8/21/15
16:33:09:168 EDT] 00000093 servlet E
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E:
Uncaught service() exception root cause /cova.jsp:
com.ibm.websphere.servlet.error.ServletErrorReport:
com.company.exception.ClientCommunicationException: No response
received at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
at com.ibm._jsp._cova._jspService(_cova.java:147) at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at
com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1032)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:975)
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
-Thanks.
I'm guessing here, but here's a few possibilities...
Either A: You should be using http as opposed to https in your post URL (or visa versa)
B : You are using https and the SSL Certificate is not valid
Or C : You are using the correct URL and SSL is valid yet the Authentication your providing to the API is invalid and not being handled very well by the third party API

Error on starting the application deployed in WAS7.0

I have deployed a war file in Websphere 7.0 console . Deployment was successful . On starting the application throws error as " Failed to Start "
Error logs are as below.
[9/19/11 12:50:36:679 EDT] 0000001f CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=EPROVIDER in BLA WebSphere:blaname=EPROVIDER.
[9/19/11 12:50:36:694 EDT] 0000001f ApplicationMg A WSVR0200I: Starting application: EPROVIDER
[9/19/11 12:50:36:694 EDT] 0000001f ApplicationMg A WSVR0204I: Application: EPROVIDER Application build level: Unknown
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg E WSVR0101W: An error occurred starting, EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg A WSVR0217I: Stopping application: EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg A WSVR0220I: Application stopped: EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=EPROVIDER in BLA WebSphere:blaname=EPROVIDER failed to start.
[9/19/11 12:50:37:038 EDT] 0000001f MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=L67695M1Node02,version=7.0.0.11,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=L67695M1Node02Cell,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException
You need to give us more info pal.
If you provide us with the full console log, we could surely help.
You can find the log of the server here :
C:*Your installed directory*\IBM\SDP75\runtimes\base_v7\profiles*YourProfile*\logs*yourServerName*
and the file is startServer.log.
You can also try this :
Stop the server.
Manually delete temp and wstemp directories under your profile directory.
Clean publish.
Good luck

Categories

Resources