JCA - Failed calling get method getThreadSecurity on the ManagedConnectionF

Hi All,
This is my first post with the SDN, hope I could see and extend helping hands in form of technology and solutions
My problem
=============
I am new to JCA.I am trying to deploy the helloworldra.ear provided by the IBM site.I deployed the resoource adapter and created a connectionFactory named "HelloWorld"(jndi).I get the below mentioned exception when I do
ConnectionFactory cxFactory = (ConnectionFactory) context.lookup("java:comp/env/HelloWorld");
Kindly chek into the exception and provide me with the solution.
Thanks in Advance
KABA
Exceptions Snapshot
==================
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O Populating Context
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O #################### JNDI Context Contents ####################
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.hostname.normalizer ---:-- com.ibm.ws.naming.util.DefaultHostnameNormalizer
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O java.naming.factory.initial ---:-- com.ibm.websphere.naming.WsnInitialContextFactory
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.name.syntax ---:-- jndi
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.namespace.connection ---:-- lazy
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.ws.naming.ldap.ldapinitctxfactory ---:-- com.sun.jndi.ldap.LdapCtxFactory
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.jndicache.cacheobject ---:-- populated
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.namespaceroot ---:-- defaultroot
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.ws.naming.wsn.factory.initial ---:-- com.ibm.ws.naming.util.WsnInitCtxFactory
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.jndicache.maxcachelife ---:-- 0
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.jndicache.maxentrylife ---:-- 0
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O com.ibm.websphere.naming.jndicache.cachename ---:-- providerURL
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O java.naming.provider.url ---:-- corbaloc:rir:/NameServiceServerRoot
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O java.naming.factory.url.pkgs ---:-- com.ibm.ws.runtime:com.ibm.ws.naming
[7/7/06 14:38:27:624 EDT] 5a004128 SystemOut O #################### JNDI Context Contents END ####################
[7/7/06 14:38:28:718 EDT] 5a004128 ConnectionFac E J2CA0066E: Failed calling get method getThreadSecurity on the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jca/HelloWorld with the value <null>. Exception is java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
     at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getThreadSecurity(WSManagedConnectionFactoryImpl.java:612)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getThreadSecurity(ConnectionFactoryBuilderImpl.java:2520)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1747)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1188)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1762)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1615)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
     at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
     at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:293)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:144)
     at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:127)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:135)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1227)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldBean.execute(HelloWorldBean.java:81)
     at org.apache.jsp._HelloWorldResults._jspService(_HelloWorldResults.java:105)
     at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.dispatch(HelloWorldController.java:101)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.performTask(HelloWorldController.java:66)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.doPost(HelloWorldController.java:88)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
     at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
     at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
     at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
     at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
     at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
     at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
     at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[7/7/06 14:38:28:812 EDT] 5a004128 ConnectionFac E J2CA0009E: An exception occurred while trying to instantiate the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jca/HelloWorld : java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
     at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getThreadSecurity(WSManagedConnectionFactoryImpl.java:612)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getThreadSecurity(ConnectionFactoryBuilderImpl.java:2520)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1747)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1188)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1762)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1615)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
     at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
     at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:293)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:144)
     at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:127)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:135)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1227)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldBean.execute(HelloWorldBean.java:81)
     at org.apache.jsp._HelloWorldResults._jspService(_HelloWorldResults.java:105)
     at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.dispatch(HelloWorldController.java:101)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.performTask(HelloWorldController.java:66)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.doPost(HelloWorldController.java:88)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
     at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
     at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
     at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
     at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
     at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
     at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
     at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[7/7/06 14:38:28:859 EDT] 5a004128 Helpers W NMSV0605W: A Reference object looked up from the context "localhost/nodes/localhost/servers/server1" with the name "jca/HelloWorld" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
Reference Factory Class Name: com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl
Reference Factory Class Location URLs: <null>
Reference Class Name: HelloWorld
Type: connectorName
Content: HelloWorld
Type: classpath
Content: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5/lib/rsadapter.rar
Type: FactoryJndiName
Content: jca/HelloWorld
Address Type: dd
AddressContents: ffffffac ffffffed 0 5 73 72 0 25 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 52 65 73 6f 75 72 63 65 ...
Address Type: poolProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 27 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 43 6f 6e 6e 65 63 74 6f ...
Address Type: configProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 23 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 43 6f 6e 6e 65 63 74 6f ...
Address Type: mmProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 14 6a 61 76 61 2e 75 74 69 6c 2e 50 72 6f 70 65 72 74 69 65 73 39 12 ffffffd0 7a ...
Address Type: mbeanProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 1a 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 4d 42 65 61 6e 50 72 6f ...
Exception data follows:
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
     at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getThreadSecurity(WSManagedConnectionFactoryImpl.java:612)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getThreadSecurity(ConnectionFactoryBuilderImpl.java:2520)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1747)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1188)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1762)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1615)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
     at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
     at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:293)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:144)
     at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:127)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:135)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1227)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldBean.execute(HelloWorldBean.java:81)
     at org.apache.jsp._HelloWorldResults._jspService(_HelloWorldResults.java:105)
     at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.dispatch(HelloWorldController.java:101)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.performTask(HelloWorldController.java:66)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.doPost(HelloWorldController.java:88)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
     at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
     at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
     at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
     at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
     at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
     at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
     at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[7/7/06 14:38:28:953 EDT] 5a004128 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
Context method: lookup
Context name: localhost/nodes/localhost/servers/server1
Target name: jca/HelloWorld
Other data:
Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
     at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getThreadSecurity(WSManagedConnectionFactoryImpl.java:612)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getThreadSecurity(ConnectionFactoryBuilderImpl.java:2520)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1747)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1188)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1762)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1615)
     at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
     at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
     at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:293)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:144)
     at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:127)
     at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
     at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
     at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:135)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1227)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
     at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
     at javax.naming.InitialContext.lookup(InitialContext.java:359)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldBean.execute(HelloWorldBean.java:81)
     at org.apache.jsp._HelloWorldResults._jspService(_HelloWorldResults.java:105)
     at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
     at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.dispatch(HelloWorldController.java:101)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.performTask(HelloWorldController.java:66)
     at com.ibm.ssya.helloworldra.servlets.HelloWorldController.doPost(HelloWorldController.java:88)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
     at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
     at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
     at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
     at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
     at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
     at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
     at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
     at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
     at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
     at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
     at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
     at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
     at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[7/7/06 14:38:29:031 EDT] 5a004128 ConnectionFac E J2CA0066E: Failed calling get method getThreadSecurity on the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jca/HelloWorld with the value <null>. Exception is java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
     at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.getThreadSecurity(WSManagedConnectionFactoryImpl.java:612)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getThreadSecurity(ConnectionFactoryBuilderImpl.java:2520)
     at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionF

PersianKamran wrote:
folks.. i am sending my class object on Sockets from client to Server (i am implementing Seriablizable Interface).
No your aren't.
You are sending the data in the class.
That is what serialization does. (And actually not all data can be sent either.)
When i get the object on server, i am able to print all its fields and methods... But i have one problem. I want to invoke a simple static method that just prints "hello".. The method on client that i am trying to invoke is....You probably either need stop attempting that or re-architect the solution.
It is possible to send a class (not data) to another computer and that computer runs it. That is how applets work.
But for that to work you must send the class. And deal with how the VM loads and unloads classes (not data) as well.

Similar Messages

  • How to call AMImpl method before loading the page(task_flow_config.xml)

    Hi experts,
    I have requirement like,
    I need to call AmImpl method, before rendering the page.(I heard like we can do it in task_flow_config.xml by using method_Invoke operation,But I am not sure about How it is going to work, also i need to know the implementation part,,,help pls )
    (I need to do in Task_Flow.)
    Inside that method I have some logic, where I will setting the BindVariable of my one ViewObject and I need to run the ViewOblect,So that DataShuold be available while page loading.
    I have some different logic after that,,,,
    can anyone suggest me for this??
    thanks
    Santosh

    thanks to Timo n TK,
    I have use case like,
    In the search page I have 2 LOV dropdowns say LOV1 and LOV2. Both list of values are created based on the independent View Objects based on the Query.
    LOV2 VO query is having the Bind Variable, for that Bind variable will be getting the value from the one of the AM method based on the user logged in.
    Also I need to display LOV2 dropdown in the page when user selects LOV1 as a 'SCM', for others it should be in hidden state.
    As per requirement I have to display LOV2 only for LOV1 value as 'SCM'. So I dont want to use valueChangeListner() for this.
    Instead I want populate LOV2 value before page rendering(because in that time i will be having all the parameter to populate ) by executing LOV2 VO Query.
    Once in search page user selects LOV1 as 'SCM', I should display 'LOV2' values in the dropdown.
    If i execute LOV2 VO in the AMImpl method say A() before page rendering ,then if user select LOV1 as 'SCM', will same data available in the dropdown (LOV2 dropdown is based on the LOV2VO)??
    Can u pls suggest me how can i render ,LOV2 when LOV1 as 'SCM' by using 'rendered' property without having valueChangeListner??
    pls suggest me the right approach as per my use case..
    waiting for reply,,
    Thanks
    Santosh

  • "failed to get function context for the data region"

    Hello,
    Is it possible to use {function::} inside a spry:when? It works, but it also shows an error:
    "getValueFromDataSet: Failed to get function context for the paceSetter region."
    excerpt:
    <div spry:choose="spry:choose">
         <div spry:when="'{function::diff4700}' < '0'"><span class="psNegative">{function::diff4700}</span></div>
    the spry:when looks to see if the number returned by function::diff4700 is a negative number, then adds a span class to change it to red. Code works the way I want it to, but can't make the error message go away.
    thank you for any assistance or ideas to make error go away

    Hello,
    Is it possible to use {function::} inside a spry:when? It works, but it also shows an error:
    "getValueFromDataSet: Failed to get function context for the paceSetter region."
    excerpt:
    <div spry:choose="spry:choose">
         <div spry:when="'{function::diff4700}' < '0'"><span class="psNegative">{function::diff4700}</span></div>
    the spry:when looks to see if the number returned by function::diff4700 is a negative number, then adds a span class to change it to red. Code works the way I want it to, but can't make the error message go away.
    thank you for any assistance or ideas to make error go away

  • Failed to get airlineregion context for the spryregion1 region

    Hi ,
    I am new to spry and using Neston json dataset.
    My data is uploding perfectly but i am getting an error like:-- "Failed to get airlineregion context for the spryregion1 region".
    where airlineRegion is one of my parenbt regions.
    Kindly suggest.
    Satish.

    Hi Satish,
    You have not given us much to work on and especially because we do not get this error, I can only assume that you are not doing the right thing.
    FYI I quote what is being suggested to newbies:
                            Announcement:
                            New to Spry, or  the Spry forums?
                                Hide Details
    Before you post a topic please verify
    that:
    You
    are using the latest Spry files
    The latest version of
    the Adobe Spry Framework is 1.6.1, this is the same version that ships
    with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its
    wise to upgrade your files to the latest version. This can easily be
    done using the Spry Updater that can be found here.
    Your
    question was not asked before
    Using the search
    functionality on forums you can easily find out if your question has
    been answered before. While you are in search, you can specify the
    search locations. The Spry forum can be found under:
    Adobe
    Labs > Spry Framework for Ajax
    Yoru question can not be
    found in the existing documentation
    Spry provides you
    with allot of documentation this can found on different locations. In
    the sidebar of this forum you can find a small summary of resources that
    will help you on your way.
    If these options do not apply to your question,
    please be so kind to also supply the following information in your topic
    together with a clear description of your issue:
    What
    browsers does this issue occure:
    example: Internet Explorer 8 on
    Window 7 and Firefox 3.0 on Mac OSX
    What version
    of Spry are using:
    example: Spry 1.6.1 ( the version number can
    be found in license header of the .css and .js files )
    What
    is the url of your website or page in issue:
    example: http://www.example.com/page/in/issue.html
    Step
    to reproduce the issue:
    example: Scroll down till you find the
    header "help", there you will see a Spry Accordion. When you click on it
    it will not open or close.
    So users can provide you with a
    better answer, without having to ask you for further details.
    I look forward to helping you.
    Ben

  • Client fails to install (push) Failed to get DP locations as the expected version from MP

    On the client (ccmsetup.log) I am getting the error:
    <![LOG[Failed to get DP locations as the expected version from MP ‘server.domain’. Error 0x87d00215]LOG]!><time="15:05:24.261+300" date="02-13-2013"
    component="ccmsetup" context="" type="2" thread="3168" file="ccmsetup.cpp:10926">
    <![LOG[MP ‘server.domain’ didn't return DP locations for client package with the expected version. Retrying in 30 minutes.]LOG]!><time="15:05:24.261+300"
    date="02-13-2013" component="ccmsetup" context="" type="2" thread="3168" file="ccmsetup.cpp:10752">
    On the server I noticed (MP_ Framework): 
    <![LOG[Policy request file doesn't exist.]LOG]!><time="15:21:51.468+300" date="02-13-2013" component="MpFramework" context=""
    type="1" thread="4660" file="mpstartuptask.cpp:122">
    I have a feeling the two errors are related but I’m not sure where to begin to troubleshoot. 

    Thanks for your reply, and yes I believe it is all set up as it needs to be, but obviously I'm missing something.
    I will add this: the client will eventually install. I am still testing of course and each of the 2 clients I have pushed it out too has gotten this error but
    I come back the next day and it has installed.   

  • Error pushing client "Failed to get DP locations as the expected version from MP...."

    I am new at SCCM.  installed 2012 R2 and SQL 2012 R2 on a single server.   I created a boundary and a boundary group and ran discover on my AD.  I am trying to push the client to a couple of discovered PCs.  I resolved an issue with a
    permissions error accessing the \admin$ share, but now I'm getting "Failed to get DP locations as the expected version from MP servername..."
    I'm seeing this in the client ccmsetup.log
    I've tried everything I can think of and still can't fix it.   I have checked my DP and it was set to HTTP.   Can anyone help offer some suggestions?
    Thanks

    The error means the expected version of Client Package cannot be got from DP. Please update Client Package from Package Node in SCCM Console, then observe the distmgr.log to make sure the updated pkg has been distributed to DP, then try again.
    Juke Chou
    TechNet Community Support

  • How to call a method when initialing the page?

    Help! I need to call a method to get some information from server to create a part of the page.
    But I don't konw what to do, Is there a function similar to the Flex's createComplete in JavaFX.
    please give me an example to show how to do that.

    DoStuff();
    Stage { scene: Scene { ... }}DoStuff() (or equivalent code at script level) will be executed first.
    You can also use the public override function run() function to ensure it is executed first.

  • I am trying to download firefox5 and the download failed, and getting message To close the application -Rundell32.exe and Ox0000142

    Trying to download firefox 5 and the download failed i am getting message to close the application and cod number Ox0000142, is have any way to fix the problem with out removing window 7

    Open the Java pane in System Preferences. A separate application will launch. In the Security tab, check the box marked
    Enable Java content in the browser
    If necessary, adjust the Security Level slider, but if you must reduce the level, do so only temporarily and only if you are absolutely sure of what you're doing. Don't do this to play a game or because a stranger on the Internet asked you to. Java can be dangerous.
    If your browser is Safari, you may also need to make changes to the plugin settings in the Security tab of its preferences window.

  • Call gets disconnected after playing the menu from CVP

    Hello,
    When I make a call, the call is going to the ICM and then it is coming to the Call server then to the VXML gateway and then it goes to the VXML server and plays the promt.
    The problem i am facing is that once the menu audio is played the call gets disconnected.  It doesnt let me choose any options. I feel it is not able to identify the my inputs
    I have some debug outputs
    Mar  1 01:09:03.095: //-1/C113522D805A/CCAPI/cc_api_display_ie_subfields:
       cc_api_call_setup_ind_common:
       cisco-username=1000
       ----- ccCallInfo IE subfields -----
       cisco-ani=sip:[email protected]:5060
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=1
       dest=sip:[email protected];transport=udp
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    *Mar  1 01:09:03.103: //-1/C113522D805A/CCAPI/cc_api_call_setup_ind_common:
       Interface=0x67213130, Call Info(
       Calling Number=sip:[email protected]:5060,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
       Called Number=sip:[email protected];transport=udp(TON=Unknown, NPI=Unknown),
       Calling Translated=FALSE, Subscriber Type Str=Un
    R1#known, FinalDestinationFlag=TRUE,
       Incoming Dial-peer=811, Progress Indication=NULL(0), Calling IE Present=TRUE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=65
    *Mar  1 01:09:03.103: //-1/C113522D805A/CCAPI/ccCheckClipClir:
       In: Calling Number=sip:[email protected]:5060(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
    *Mar  1 01:09:03.103: //-1/C113522D805A/CCAPI/ccCheckClipClir:
       Out: Calling Number=sip:[email protected]:5060(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
    *Mar  1 01:09:03.103: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    *Mar  1 01:09:03.103: :cc_get_feature_vsa malloc success
    *Mar  1 01:09:03.103: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    *Mar  1 01:09:03.103:  cc_get_feature_vsa count is 1
    *Mar  1 01:09:03.103: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    *Mar  1 01:09:03.103: :FEATURE_VSA attributes are: feature_name:0,feature_time:1732532552,feature_id:23
    *Mar  1 01:09:03.103: //65/C113522D805A/CCAPI/cc_api_call_setup_ind_common:
       Set Up Event Sent;
       Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
       Called Number=(TON=Unknown, NPI=Unknown))
    *Mar  1 01:09:03.111: //65/C113522D805A/CCAPI/cc_process_call_setup_ind:
       Event=0x67452800
    *Mar  1 01:09:03.119: //65/C113522D805A/CCAPI/ccCallSetContext:
       Context=0x65097114
    *Mar  1 01:09:03.119: //65/C113522D805A/CCAPI/cc_process_call_setup_ind:
       >>>>CCAPI handed cid 65 with tag 811 to app "_ManagedAppProcess_bootstrap"
    *Mar  1 01:09:03.143: //65/C113522D805A/CCAPI/ccCallProceeding:
       Progress Indication=NULL(0)
    *Mar  1 01:09:03.147: //65/C113522D805A/CCAPI/ccCallConnect:
       Progress Indication=NULL(0), Data Bitmask=0x0
    *Mar  1 01:09:03.151: //65/C113522D805A/CCAPI/ccCallConnect:
       Call Entry(Connected=TRUE, Responsed=TRUE)
    *Mar  1 01:09:03.239: //65/C113522D805A/CCAPI/cc_api_event_indication:
       Event=141, Call Id=65
    *Mar  1 01:09:03.243: //65/C113522D805A/CCAPI/cc_api_event_indication:
       Event Is Sent To Conferenced SPI(s) Directly
    *Mar  1 01:09:03.243: //65/C113522D805A/CCAPI/cc_api_caps_ind:
       Destination Interface=0x0, Destination Call Id=-1, Source Call Id=65,
       Caps(Codec=0x0, Fax Rate=0x2, Vad=0x2,
       Modem=0x0, Codec Bytes=20, Signal Type=2)
    *Mar  1 01:09:03.243: //65/C113522D805A/CCAPI/cc_api_caps_ind:
       Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
       Playout Max=250(ms), Fax Nom=300(ms))
    *Mar  1 01:09:04.163: //65/C113522D805A/CCAPI/ccCallHandoff:
       Silent=FALSE, Application=0x6773AB4C, Conference Id=0xFFFFFFFF
    *Mar  1 01:09:04.295: //65/C113522D805A/CCAPI/ccSetDigitTimeouts:
       Initial Digit Timeout=0(ms), Inter Digit Timeout=0(ms)
    *Mar  1 01:09:04.295: //65/C113522D805A/CCAPI/ccSetDigitTimeouts:
       Call Entry(Inter Digit Timeout=0(ms), Initial Digit Timeout=0(ms))
    *Mar  1 01:09:04.295: //65/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
       (callID=0x41, digit_event=0x1, enable=TRUE, consume=FALSE)
    *Mar  1 01:09:04.299: //65/C113522D805A/CCAPI/ccCallReportDigits:
       Enabled=TRUE, Call Id=65
    *Mar  1 01:09:04.303: //65/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
       (vdbPtr=0x67213130, callID=0x41, disp=-4, digit_event=0x1, enable=TRUE, consume=FALSE)
    *Mar  1 01:09:04.307: //65/C113522D805A/CCAPI/cc_api_call_report_digits_done:
       Enabled=TRUE, Disposition=0xFFFFFFFC, Interface=0x67213130, Call Id=65
    *Mar  1 01:09:04.311: //65/C113522D805A/CCAPI/cc_api_call_report_digits_done:
       Call Entry(Initial Digit Timeout=0(ms), Inter Digit Timeout=0(ms))
    *Mar  1 01:09:05.291: //65/C113522D805A/CCAPI/ccAssociateStream:
       Coder=5, DTMF Relay=4, Vad=0,
       Record Function=0x0, Event Queue=0x66954714, Stream Context=678B0364,
       Record Context=0x0, Stream Call Id=66, Call Id=65
    *Mar  1 01:09:05.295: //65/C113522D805A/CCAPI/ccAssociateStream:
       Call Entry(Stream Status=2, Digit Enable=TRUE)
    *Mar  1 01:09:05.327: //65/C113522D805A/CCAPI/cc_api_call_associated:
       Interface=0x0, CallId=65, Disposition=0
       Play Function=0x62C2DFA8, Codec=0x5, Vad=0x0
       Media Type=0x3, SPI Context=0x678D2480, Stream CallId=66
       TX Dynamic Pt=0x0, RX Dynamic Pt=0x0
    *Mar  1 01:09:05.531: //65/C113522D805A/CCAPI/ccSetDigitTimeouts:
       Initial Digit Timeout=5000(ms), Inter Digit Timeout=10000(ms)
    *Mar  1 01:09:05.535: //65/C113522D805A/CCAPI/ccSetDigitTimeouts:
       Call Entry(Inter Digit Timeout=10000(ms), Initial Digit Timeout=5000(ms))
    *Mar  1 01:09:05.535: //65/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
       (callID=0x41, digit_event=0x1, enable=TRUE, consume=FALSE)
    *Mar  1 01:09:05.535: //65/C113522D805A/CCAPI/ccCallReportDigits:
       Enabled=TRUE, Call Id=65
    *Mar  1 01:09:05.535: //65/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
       (vdbPtr=0x67213130, callID=0x41, disp=-4, digit_event=0x1, enable=TRUE, consume=FALSE)
    *Mar  1 01:09:05.539: //65/C113522D805A/CCAPI/cc_api_call_report_digits_done:
       Enabled=TRUE, Disposition=0xFFFFFFFC, Interface=0x67213130, Call Id=65
    *Mar  1 01:09:05.543: //65/C113522D805A/CCAPI/cc_api_call_report_digits_done:
       Call Entry(Initial Digit Timeout=5000(ms), Inter Digit Timeout=10000(ms))
    *Mar  1 01:09:08.723: //65/C113522D805A/CCAPI/ccDisassociateStream:
       Record Context=0x0, Stream Call Id=66, Call Id=65
    *Mar  1 01:09:08.723: //65/C113522D805A/CCAPI/ccDisassociateStream:
       Call Entry(Stream Status=1, Digit Enable=TRUE)
    *Mar  1 01:09:08.735: //65/C113522D805A/CCAPI/ccAssociateStream:
       Coder=5, DTMF Relay=4, Vad=0,
       Record Function=0x0, Event Queue=0x66954714, Stream Context=678B0364,
       Record Context=0x0, Stream Call Id=66, Call Id=65
    *Mar  1 01:09:08.739: //65/C113522D805A/CCAPI/ccAssociateStream:
       Call Entry(Stream Status=2, Digit Enable=TRUE)
    *Mar  1 01:09:08.747: //65/C113522D805A/CCAPI/cc_api_call_associated:
       Interface=0x0, CallId=65, Disposition=0
       Play Function=0x62C2DFA8, Codec=0x5, Vad=0x0
       Media Type=0x3, SPI Context=0x678D2480, Stream CallId=66
       TX Dynamic Pt=0x0, RX Dynamic Pt=0x0
    R1#
    R1#
    *Mar  1 01:09:16.143: //65/C113522D805A/CCAPI/ccDisassociateStream:
       Record Context=0x0, Stream Call Id=66, Call Id=65
    *Mar  1 01:09:16.143: //65/C113522D805A/CCAPI/ccDisassociateStream:
       Call Entry(Stream Status=1, Digit Enable=TRUE)
    *Mar  1 01:09:16.175: //65/C113522D805A/CCAPI/ccCallDisconnect:
       Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
    *Mar  1 01:09:16.179: //65/C113522D805A/CCAPI/ccCallDisconnect:
       Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
    *Mar  1 01:09:16.227: //65/C113522D805A/CCAPI/cc_api_call_disconnect_done:
    R1#Disposition=0, Interface=0x67213130, Tag=0x0, Call Id=65,
       Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
    *Mar  1 01:09:16.235: //65/C113522D805A/CCAPI/cc_api_call_disconnect_done:
       Call Disconnect Event Sent
    *Mar  1 01:09:16.235: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    *Mar  1 01:09:16.235: :cc_free_feature_vsa freeing 67445940
    *Mar  1 01:09:16.235: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
    *Mar  1 01:09:16.235:  vsacount in free is 0
    I have some  basic VXML gateway configuration
    R1#show run
    Building configuration...
    Current configuration : 2588 bytes
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname R1
    boot-start-marker
    boot-end-marker
    no aaa new-model
    memory-size iomem 5
    ip cef
    no ip domain lookup
    ip domain name lab.local
    ip auth-proxy max-nodata-conns 3
    ip admission max-nodata-conns 3
    multilink bundle-name authenticated
    voice service voip
    sip
      header-passing
    application
      service cvperror flash:cvperror.tcl
      paramspace english index 0
      paramspace english language en
      paramspace english location flash
      paramspace english prefix en
      service new-call flash:bootstrap.vxml
      paramspace english index 0
      paramspace english language en
      paramspace english location flash
      paramspace english prefix en
      service ringtone flash:ringtone.tcl
      paramspace english language en
      paramspace english index 0
      paramspace english location flash
      paramspace english prefix en
      service ringback flash:ringtone.tcl
      service handoff flash:handoff.tcl
      paramspace english index 0
      paramspace english language en
      paramspace english location flash
      paramspace english prefix en
      service bootstrap flash:bootstrap.tcl
      paramspace english index 0
      paramspace english language en
      paramspace english location flash
      paramspace english prefix en
    archive
    log config
      hidekeys
    interface FastEthernet0/0
    ip address 192.168.1.253 255.255.255.0
    duplex auto
    speed auto
    interface FastEthernet0/1
    no ip address
    shutdown
    duplex auto
    speed auto
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    control-plane
    dial-peer voice 9191 voip
    service ringtone
    session protocol sipv2
    incoming called-number 91919191
    codec g711ulaw
    no vad
    dial-peer voice 9292 voip
    service cvperror
    session protocol sipv2
    incoming called-number 92929292
    codec g711ulaw
    no vad
    dial-peer voice 1503 voip
    destination-pattern 1503
    session protocol sipv2
    session target ipv4:192.168.1.57
    dtmf-relay rtp-nte h245-alphanumeric h245-signal
    codec g711ulaw
    ip qos dscp cs3 signaling
    no vad
    dial-peer voice 100 voip
    destination-pattern 10..
    session target ipv4:192.168.1.100
    dial-peer voice 811 voip
    service bootstrap
    session protocol sipv2
    session target sip-server
    incoming called-number 81T
    codec g711ulaw
    no vad
    line con 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    line aux 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    line vty 0 4
    login
    end
    Please help me out how o fix this issue/

    Thanks for the respose
    The microapp what I use is user.microapp.ToExtVXML[]
    This is the activity log in the CVP application. I dont see any error logs.
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,newcall,
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,ani,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,areacode,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,exchange,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,dnis,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,uui,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.109,,start,iidigits,NA
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.125,CVP Subdialog Start_01,enter,
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.593,CVP Subdialog Start_01,exit,done
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.593,Greetings,enter,
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.597,Greetings,interaction,audio_group,initial_audio_group
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.703,Greetings,exit,done
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.703,Menu,enter,
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.707,Menu,interaction,audio_group,initial_audio_group
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.875,Menu,exit,
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.875,,end,how,hangup
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.875,,end,result,normal
    192.168.1.57.1368611401109.0.ImationIVR,05/15/2013 15:20:01.875,,end,duration,1
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,newcall,
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,ani,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,areacode,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,exchange,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,dnis,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,uui,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,,start,iidigits,NA
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.531,CVP Subdialog Start_01,enter,
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.921,CVP Subdialog Start_01,exit,done
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.921,Greetings,enter,
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:06.957,Greetings,interaction,audio_group,initial_audio_group
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:07.109,Greetings,exit,done
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:20:07.109,Menu,enter,
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:50:25.718,,end,how,app_session_complete
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:50:25.718,,end,result,timeout
    192.168.1.57.1368611406531.1.ImationIVR,05/15/2013 15:50:25.718,,end,duration,1819
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,newcall,
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,ani,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,areacode,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,exchange,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,dnis,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,uui,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,,start,iidigits,NA
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.312,CVP Subdialog Start_01,enter,
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.750,CVP Subdialog Start_01,exit,done
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.750,Greetings,enter,
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.782,Greetings,interaction,audio_group,initial_audio_group
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.937,Greetings,exit,done
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:22:56.937,Menu,enter,
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:53:25.718,,end,how,app_session_complete
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:53:25.718,,end,result,timeout
    192.168.1.57.1368611576312.2.ImationIVR,05/15/2013 15:53:25.718,,end,duration,1829
    Thank you

  • Getting methods out of the application module.

    I have now deployed my BC components to the OAS as an EJB and now I am trying to get the method calls working from my applet. The module connection code somewhat confusing because of when I look at the EJB/Client snippet, it returns the remote interface, but I don4t know how to get projectmoduleimpl out what need to be returned. Could you please give me some insight to this issue? Here is the code what I am trying now...
    public static ProjectModuleImpl/*Project.common.oas.RemoteProjectModule*/ getGenericAppMod(String platform)
    String ejbUrl = "oas://<host>:8889/ProjectOAS/Project/ProjectModule";
    // Setup the environment
    Hashtable environment = new Hashtable();
    // Turn JNDI on to OAS
    environment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "oracle.oas.naming.jndi.RemoteInitCtxFactory");
    // Lookup the URL
    Project.common.oas.ProjectModuleHome homeInterface = null;
    try {
    System.out.println("Creating an initial context");
    Context ic = new InitialContext(environment);
    System.out.println("Looking for the EJB published as 'ProjectOAS/Project/ProjectModule'");
    homeInterface = ( Project.common.oas.ProjectModuleHome )javax.rmi.PortableRemoteObject.narrow(ic.lookup(ejbUrl), Project.common.oas.ProjectModuleHome.class);;
    catch (CommunicationException e) {
    System.out.println("Communication exception! Unable to connect: " + ejbUrl);
    e.printStackTrace();
    System.exit(1);
    catch (NamingException e) {
    System.out.println("Naming exception occurred!");
    System.out.println("Cause: This may be an unknown URL, or some" +
    " classes required by the EJB are missing from your classpath," +
    " or your OAS host is short of resources");
    System.out.println("Suggestion: Check the components of the URL," +
    " and make sure your project includes a library containing the" +
    " EJB .jar files generated by the deployment utility.");
    e.printStackTrace();
    System.exit(1);
    // That's it!
    try {
    System.out.println("Creating a new EJB instance");
    Project.common.oas.RemoteProjectModule remoteInterface = homeInterface.create();
    Hashtable env = new Hashtable(2);
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_EJB_OAS);
    Context ic = new InitialContext(env);
    System.out.println("Initial context done1");
    ApplicationModuleHome home1 = (ApplicationModuleHome) ic.lookup("Project.ProjectModule"); //Impl");
    System.out.println("home done1");
    //Module
    ProjectModuleImpl appMod = (ProjectModuleImpl) home1.create();
    System.out.println("module done1");
    //Module
    appMod.getTransaction().connect("jdbc:oracle:thin:<user>/<password>@<host>:1521:<SID>");
    System.out.println("connection done1");
    return appMod;
    catch (Exception e) {
    System.out.println("Module failed : " + e.getMessage());
    e.printStackTrace();
    return null;
    }// end getgenericappmod
    Thank you in advance!!

    Am I to understand that this cannot be done? Please give me some info on this, because the applet works fine in the local mode and frankly, as you might quess, it is of no use if I cannot use the methods from OAS... I am waiting...

  • Call a methode without opening the main view

    Hi,
    I have a function that calls a web dynpro application. The handledefault methode of the window from this web dynproapplication searches for a url of a picture and opens it with my browser.
    This works well.
    But there are two windows open: my picture and the empty web dynpro main view.
    How can I stop this? I just want the window with my picture.
    Thanks,
    Martina.

    Hi Manigandaan,
    I deleted  the empty main view from the webdynpro window.
    But the result is always the same:
    1 empty window and
    1 window with my url
    this is the code in the handledefault (after the data declaration):
    DATA lo_window_manager TYPE REF TO   if_wd_window_manager.
       DATA lo_api_component  TYPE REF TO   if_wd_component.
       DATA lo_window         TYPE REF TO   if_wd_window.
       DATA ld_url            TYPE          string.
       lo_api_component  = wd_comp_controller->wd_get_api( ).
       lo_window_manager = lo_api_component->get_window_manager( ).
    ld_url = lv_doclink.
      data lo_api_controller type ref to if_wd_view_controller.
      data lo_window_ctlr TYPE REF TO if_wd_window_controller.
      lo_api_controller = wd_this->wd_get_api( ).
      lo_window_ctlr = lo_api_controller->GET_EMBEDDING_WINDOW_CTLR( ).
    * get the control for window to be closed
      lo_window = lo_window_ctlr->get_window( ).
    * this will close the window
      lo_window->close( delete_window = abap_true ).
    if the ld_url is i.e. 'http://www.google.com' I get one browser window with google and another
    browser window which is empty. The URL of this empty browser window is the url with which
    i called the web dynpro application. But I don't need this window, how can I avoid this?
    Thank you very much!!!
    Martina

  • Calling a method(application) after the login screen

    Sorry for reposting this, but if you've read my other posts, I've managed to solve the stack overflow error. Now here's the problem, I get a successful login but the second application will not appear, I just get the login screen reappearing again. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms {
         public AdminEForms() {     
         public void AdminSide() {
              System.out.println("1");
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.pack();
              AdminFrame.setVisible(true);     
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms {
         public UserEForms() {     
         public void UserSide() {
              System.out.println("2");
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.pack();
              UserFrame.setVisible(true);     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } I've put System.out.println("1"); and System.out.println("2"); in the code and I can see that it is actually going into the Adminside and Userside methods, but there not appearing. My text file looks like this:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Please can someone help me???
    Colin

    Ok, I've got the stackoverflow thing figured out. My program runs, but when it goes into either the admin or the user methods the buttons from the login methods are still visible. I've done some reading in the forums about dispose() and setVisible(false) and I've tried using them without success. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         public AdminEForms() {          
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);     
         public void AdminSide() {
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.setVisible(true);     
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout;
         public UserEForms() {     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
         public void UserSide() {
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.setVisible(true);     
    }I'm thinking on using setVisible(false), but then again seeing that the login method isn't being used once you have a successful login, the dispose() method would be better. If you copy and paste my program, you'll clearly see my problem. Thanks.
    Text file:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Colin

  • Failed to get DP locations as the expected version. Client is failing to install.

    Hi,
    I am at a loss here.
    Out of all the times that I have installed and setup automatic client install. I have never come across this one until now.
    I have tried everything, but I still cant figure whats going on.
    The client will install and communicate on my site server. But I can't get it to install on anything else.
    I thought it might be the Windows Firewall, so I turned them all off. But I'm still getting the same problem.
    Here is a screenshot :
    Can some help?
    Thanks

    Hi,
    Could you open  http://<MP Name>/<mp name="">sms_mp/.sms_aut?mplist</mp> from IE on the client?
    Please check MP_Framework.log and MP_Location.log to see whether there are any helpful information.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Does the restore previous session call get destroyed too with the new forget button in firefox

    I have checked under startup to restore previous session ... Can it still if I use the new forget button since it states all tabs are closed ... so that would be last session to my thinking Rick Carter

    I think there is a serious risk that your session history will be cleared, too. However, I haven't tested it yet. If you want to preserve a copy of your session history files while you experiment, you can back them up as follows:
    Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a list of your settings files.
    Look for a folder named '''sessionstore-backups''' and copy it in its entirely to a safe location such as your Documents folder.
    You also should find a file named sessionstore.js which contains your current session windows and tabs. You could back that one up, too, but the recovery.js file in the sessionstore-backups folder should be identical or virtually identical (it may lag a little, but should be updated to be the same fairly quickly).

  • Why does adding a PostUserMessage cause the call to the TestReport Callback step "Call Get Report Body" to be skipped ?

    I am trying to add steps to my process model to send progress messages to my user interface. When I add these steps (Automation Call -PostUIMessage) I receive the message and can update the UI accordingly. However, then the step "Call Get Report Body" (in the TestReport callback) will not execute (it is reported as "skipped" in the Execution Flow column) and the report generated doesn't contain the test step result information. My guess is that the step isn’t executing because the precondition is evaluating to False. Any thoughts as to why the step doesn’t execute ?

    When you add steps to your process model, make sure that results collection is turned off for the steps. Edit the step properties, select the "run options" tab, and make sure that "Record Results" is not checked.

Maybe you are looking for