Madan Kulkarni

Greenhorn
+ Follow
since Sep 23, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Madan Kulkarni

I am getting the following error when starting the application server.
I am using Sun Solaris 5.8, WebSphere 4.0.6 Application Server.
Need urgent help





NMSV0603E: Naming Service unavailable. Could not get the root context.
[8/11/04 17:37:03:533 GMT+05:00] 26684f Jts U Unable to register transaction factory
javax.naming.ServiceUnavailableException: Caught exception when resolving initial reference=NameService. Root exception is org.omg.CORBA.INTERNAL: minor code: 0 completed: No
at com.ibm.CORBA.iiop.RIs.iterateClientResponsePostRIs(RIs.java:377)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:484)
at com.ibm.CORBA.iiop.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:591)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:355)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:1877)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getCosRootContext(WsnInitCtxFactory.java:437)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:363)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)
at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1640)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:951)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:408)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ejs.sm.server.ManagedServer.main(ManagedServer.java:168)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
----- Begin backtrace for rootCause
org.omg.CORBA.INTERNAL: minor code: 0 completed: No
at com.ibm.CORBA.iiop.RIs.iterateClientResponsePostRIs(RIs.java:377)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:484)
at com.ibm.CORBA.iiop.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:591)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:355)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:1877)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getCosRootContext(WsnInitCtxFactory.java:437)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:363)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)
at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1640)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:951)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:408)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
at com.ibm.ejs.sm.server.ManagedServer.main(ManagedServer.java:168)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)

[8/11/04 17:37:03:844 GMT+05:00] 26684f WsnInitCtxFac W NMSV0603E: Naming Service unavailable. Could not get the root context.
[8/11/04 17:37:04:166 GMT+05:00] 26684f DrAdminServer I WSVR0053I: DrAdmin available on port 51135
[8/11/04 17:37:21:621 GMT+05:00] 1497d CacheManager A DYNA0011E: Servlet cache file dynacache.xml not found; caching is disabled
[8/11/04 17:37:21:707 GMT+05:00] 1497d ServletEngine A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2001
[8/11/04 17:37:21:732 GMT+05:00] 1497d ServletEngine A SRVE0162I: Servlet Specification Level: 2.2
[8/11/04 17:37:21:735 GMT+05:00] 1497d ServletEngine A SRVE0163I: Supported JSP Specification Level: 1.1
[8/11/04 17:37:22:004 GMT+05:00] 1497d ServletEngine A SRVE0167I: Session Manager is Configured - Initializing...
[8/11/04 17:37:22:586 GMT+05:00] 1497d ServletEngine A SRVE0169I: Loading Web Module: CadenzaServlet.
[8/11/04 17:37:28:379 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
[8/11/04 17:37:29:037 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
[8/11/04 17:37:29:163 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init
[8/11/04 17:37:29:294 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: DirectoryBrowsingServlet: init
[8/11/04 17:37:30:486 GMT+05:00] 1497d ServletEngine A SRVE0169I: Loading Web Module: AdminServlet.
[8/11/04 17:37:33:546 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
[8/11/04 17:37:33:600 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
[8/11/04 17:37:33:638 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init
[8/11/04 17:37:33:714 GMT+05:00] 1497d WebGroup I SRVE0091I: [Servlet LOG]: DirectoryBrowsingServlet: init
[8/11/04 17:37:33:941 GMT+05:00] 1497d HttpTransport A SRVE0171I: Transport http is listening on port 9,081.
[8/11/04 17:37:34:025 GMT+05:00] 1497d Server A WSVR0023I: Server idw open for e-business
[8/11/04 18:20:28:106 GMT+05:00] 777511 ServletReques X SRVE0079E: Servlet host not found
15 years ago
While starting the Application Server, I am getting the following error, anybody is there to help???


[8/11/04 20:06:17:961 GMT+05:00] 1ec4ed WsnInitCtxFac W NMSV0603E: Naming Service unavailable. Could not get the root context.


[8/11/04 20:06:18:029 GMT+05:00] 1ec4ed Jts U Unable to register transaction factory


javax.naming.ServiceUnavailableException: Caught exception when resolving initial reference=NameService. Root exception is org.omg.CORBA.INTERNAL: minor code: 0 completed: No


at com.ibm.CORBA.iiop.RIs.iterateClientResponsePostRIs(RIs.java:377)


at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:484)


at com.ibm.CORBA.iiop.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:591)


at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:355)


at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:1877)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getCosRootContext(WsnInitCtxFactory.java:437)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:363)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)


at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)


at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)


at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)


at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)


at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)


at javax.naming.InitialContext.init(InitialContext.java:217)


at javax.naming.InitialContext.<init>(InitialContext.java:193)


at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)


at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1640)


at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:951)


at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:408)


at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)


at com.ibm.ejs.sm.server.ManagedServer.main(ManagedServer.java:168)


at java.lang.reflect.Method.invoke(Native Method)


at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)


----- Begin backtrace for rootCause


org.omg.CORBA.INTERNAL: minor code: 0 completed: No


at com.ibm.CORBA.iiop.RIs.iterateClientResponsePostRIs(RIs.java:377)


at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:484)


at com.ibm.CORBA.iiop.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:591)


at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:355)


at com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:1877)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getCosRootContext(WsnInitCtxFactory.java:437)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:363)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)


at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)


at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)


at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)


at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)


at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)


at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)


at javax.naming.InitialContext.init(InitialContext.java:217)


at javax.naming.InitialContext.<init>(InitialContext.java:193)


at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)


at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1640)


at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:951)


at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.java:408)


at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)


at com.ibm.ejs.sm.server.ManagedServer.main(ManagedServer.java:168)


at java.lang.reflect.Method.invoke(Native Method)


at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
15 years ago
Try this:

Properties properties = new Properties();
properties.put("java.naming.provider.url", "iiop://localhost");
properties.setProperty("java.naming.factory.initial", "com.ibm.ejs.ns.jndi.CNInitialContextFactory");
InitialContext initialcontext = new InitialContext(properties);
ds= (DataSource)initialcontext.lookup(str_dsName);//str_dsName=JNDI Name
15 years ago
Hi,
I have a question regarding the JDBC Connection object from DataSource.

I have created the connection pooling in WAS 4.06 Application Server thr' administrative consol.

In my ConnectionWraper class, I am searching the data source object thr' JNDI search and then using datasource.getConnection() method to get the JDBC Connection object to perform Database SQLs.

When I complete the SQL execution, I am closing the resultset, statement and connection objects in respective methods.

Now, my question is, when I am closing the connection object with connection.close() method, will this connection object return to the connection pool or not?
15 years ago
I am trying to configure the SSL certificate in weblogic 6.1..
I am able to configure SSL for Node Manager and Admin Server. But when i am trying it for WL instance, i am facing a problem. I am getting the exception like "CipherException: Invalid padding length"
Can anybody tell me the right procedure of deploying SSL certificate in weblogic 6.1???
16 years ago