About servletContext
Hi!
what is the use of servlet context.
what is the difference between request.GetRequestDispatcher and servletContext.gerRequestDispatcher .
Friends,i need a clear explanation with some example code.
The use of ServletContext is just described in it's API documentation.
The difference between those RequestDispatchers is answered in the API documentation of the ServletRequest#getRequestDispatcher().
Don't underestimate the API documentation ;)
Similar Messages
-
About servletContext (i need a good explanation)
Hi!
what is the use of servlet context.
what is the difference between request.GetRequestDispatcher and servletContext.gerRequestDispatcher .
Friends,i need a clear explanation with some example code.Don't crosspost. Proceed here: http://forum.java.sun.com/thread.jspa?threadID=5173104
-
Hi,
How many servletCotext objects are created in clustered environment, if
an application has 10 servles?A never programmed a servlet but I can say something that sounds logical to me:
If both methods function, why not using both ways? Maybe the author didn't recognize that he used it in different ways (that happens). Otherwise he would maybe have used it only in one way in order not to confuse most people who read his examples.
Rommie. -
Singleton vs ServletContext for storing application scope objects
Hi all,
I would like to share some bean objects between all sessions inside the same web application, i.e. all users should access the same beans.
Which is the best way, to store the beans, use a singleton ore put them into the ServletContent vs get/setAttribute?
How about large objects, are there any limitations?
Thanks
Mert
Edited by: mahmut1 on Oct 22, 2009 3:32 AMI must confess I am a heretic. I would use a singleton. I try to use as few servlet services as possible when working with servlets; that way the code has a fighting chance of being reusable outside the servlet system.
As to "singletons are evil": well, if we are talking about ServletContext.setAttribute(), that is a singleton. It is a singleton hash table. The difference between the attribute hash table and a hash table singleton you write yourself is with attributes you don't automatically see the source code that defines the singleton, so you get to pretend you are not using a singleton.
protected Hashtable myAttributes;Haha! There, I just showed how the singleton hash table is implemented in a popular web server! -
Please help me about an error of JBO-26022
My jdev version is 11.1.2.3 and weblogic server version is 10.3.5.
I test a example from oracle jdev code corner, which is "68-contextual-event-table-selection-262529", and it is about table selection event handling.
Then I tried the method in my own example adf application but an error occured. I can't figure out how to resolve it.
It seems the error has something with the class "org.apache.myfaces.trinidad.event.SelectionListener".
the log is as below:
Target URL -- http://127.0.0.1:7101/varCatchAndDisplay-ViewController-context-root/faces/getVar.jsf
<2013-4-11 上午11时28分04秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext@2527622[app:varCatchAndDisplay module:varCatchAndDisplay-ViewController-context-root path:/varCatchAndDisplay-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
oracle.jbo.CustomClassNotFoundException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26022. Error message parameters are {0=org.apache.myfaces.trinidad.event.SelectionListener}
at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:121)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
Truncated. see log file for complete stacktrace
Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:115)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
Truncated. see log file for complete stacktrace
>
<2013-4-11 上午11时28分04秒 CST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 2013-4-11 上午11时28分04秒 CST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = 2013-4-11 上午11时28分04秒 CST SERVER = DefaultServer MESSAGE = [ServletContext@2527622[app:varCatchAndDisplay module:varCatchAndDisplay-ViewController-context-root path:/varCatchAndDisplay-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
oracle.jbo.CustomClassNotFoundException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26022. Error message parameters are {0=org.apache.myfaces.trinidad.event.SelectionListener}
at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:121)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1283)
at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:112)
at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1645)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:384)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:259)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:115)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1283)
at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:112)
at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1645)
at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:384)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:259)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Neo-PC TXID = CONTEXTID = 4e666f50a13e7378:-4165eede:13df6fbc123:-8000-000000000000012e TIMESTAMP = 1365650884295
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<DiagnosticsDataExtractorImpl> <createADRIncident> 使用问题关键字 "DFW-99998 [java.lang.InstantiationException][oracle.adf.model.binding.DCUtil.createNewInstance][varCatchAndDisplay]" 控制了意外事件涌进Hi,
obviously its a wrong use of org.apache.myfaces.trinidad.event.SelectionListener
Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
The class cannot be instantiated which indicates a failed argument (or missing argument)
Frank -
When I try to stablish a secure connection (via
https://localhost:7002/AdminMain) the console gives me this error (please
see
below), which is the same when I run . startWebLogic.sh to start it.
Two questions:
1.- What is this problem about?
2.- Even with this error, I can see AdminMain in secure mode. Should I be
worried about the
error?
I'm using Weblogic Server Manager 5.1.0 04/03/2000 17:13:23 #66825 (without
any service pack) on a Red Hat Linux 6.2 Machine & jdk 1.2.2
Thanks in advance
Sergio Rios Mendoza
Departamento de Sistemas
Corporativo de Servicios Grupo Comercial Mexicana
PS: this is the error:
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:529)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Tue Nov 14 15:31:51 CST 2000:<I> <ServletContext-General> AdminMain: init
Tue Nov 14 15:31:54 CST 2000:<I> <ServletContext-General> servletimages:
init
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)When I try to stablish a secure connection (via
https://localhost:7002/AdminMain) the console gives me this error (please
see
below), which is the same when I run . startWebLogic.sh to start it.
Two questions:
1.- What is this problem about?
2.- Even with this error, I can see AdminMain in secure mode. Should I be
worried about the
error?
I'm using Weblogic Server Manager 5.1.0 04/03/2000 17:13:23 #66825 (without
any service pack) on a Red Hat Linux 6.2 Machine & jdk 1.2.2
Thanks in advance
Sergio Rios Mendoza
Departamento de Sistemas
Corporativo de Servicios Grupo Comercial Mexicana
PS: this is the error:
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:529)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Tue Nov 14 15:31:51 CST 2000:<I> <ServletContext-General> AdminMain: init
Tue Nov 14 15:31:54 CST 2000:<I> <ServletContext-General> servletimages:
init
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
Who Can help me? About "Error 500--Internal Server Error"
Dear,brothers,
I can run AdminMain in "http://192.9.100.3:7001/AdminMain". But when I run
pooltest in
"http://192.9.100.3:7001/pooltest". It cannot work.It displays:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
When I see the weblogic.log,there are some information about it:
Wed Jun 28 20:03:51 MDT 2000:<E> <IIOPSocket> failed to configure user for
iiop protocol
Wed Jun 28 20:03:56 MDT 2000:<E> <ServletContext-General> Error casting
servlet: examples.jdbc.oracle.simpleselect
java.lang.ClassCastException:
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:382)
at weblogic.servlet.internal.ServletStubImpl.createInstances(Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
4)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:99)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Wed Jun 28 20:03:56 MDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
javax.servlet.ServletException: Servlet class:
examples.jdbc.oracle.simpleselect does not implement javax.servlet.Servlet
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:385)
at weblogic.servlet.internal.ServletStubImpl.createInstances(Compiled Code)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
4)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:99)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Get the TNSNAMES.ORA file of your database and copy it in Discoverer Home (i.e., home where you installed Discoverer Administrator, usually BIToolsHome_1/network/admin). Then login to Discoverer Administrator using a new database user (usually EUL_US) which you might have created as part of installation. Once logged in, it will prompt you to create an EUL. Please follow Discoverer Installation Document.
-
New to Oracle - Ques. about globals.jsa
Hi,
I'm trying to put together a simple web application (JSPs only) to run under Oracle 9i. For this application, I need to maintain a persistent variable among all users and sessions (we would set the variable initially, once, via our app, and the variable would be available to all of our JSPs).
I guess with other containers, I would use ServletContext, but I understand this is not supported in Oracle, and I may need to use globals.jsa instead.
This is a simple requirement I think, and I think I actually have it working, but just want to check if I'm doing things correctly.
What I have so far is a globals.jsa in my apps home directory:
<%-----------------------------------------------------------
Copyright © 1999, Oracle Corporation. All rights reserved.
------------------------------------------------------------%>
<event:application_OnStart>
<jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
</event:application_OnStart>
<event:application_OnEnd>
<jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
</event:application_OnEnd>
<event:session_OnStart>
<%-- Acquire beans --%>
</event:session_OnStart>
<event:session_OnEnd>
<%-- Acquire beans --%>
</event:session_OnEnd>
And, in my JSPs, I add:
<jsp:useBean id="myvar" class="oracle.jsp.jml.JmlString" scope = "application" />
Then, I access the 'global' variable:
To retrieve: String s = myvar.getValue();
or
To update: myvar.setValue("whatever");
Like I said, this seems to be working, but I'm just checking. I'm kind of unclear about what I have in the globals.jsa itself. Is what I have above correct?
Thanks,
JimJim, I am not sure if I have ever used globals.jsa or not. However, if you got it working, then it is working. Please take a look at the documentation "chapter 9, Oracle JSP in Apache JServ" in
Oracle9i Support for JavaServer Pages Reference
Release 2 (9.2)
Part Number A96657-01
Current url is http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96657/apjsvsup.htm#1015160
Any particular reason that you are trying to use globals.jsa as of now?! Please note the j2ee aspect in the Oracle java product has been moved forward enormously. For a minor example, globals.jsa is not longer supported in later releases. It was only a mechanism for implementing the JSP specification in a servlet 2.0 environment as Web applications and servlet contexts are not fully defined in the servlet 2.0 specification. Since we have passed year 2002, there is no reason to support globals.jsa.
Please have fun trying oc4j 10.1.2 production or oc4j 10.1.3 developer preview. -
Confusion about backing beans and multiple pages
Hello:
I'm new to JSF and am confused by several high level and/or design issues surrounding backing beans. The
application I am working on (not unlike many apps out there, I suspect), is comprised of several forms which
collect various query parameters and other pages that display the query results via dataTables. Additionally, the
displayed results have hyper-text enabled content sprinkled throughout in order to allow further "drill-down" to
greater details about a given result.
Obviously, the initial forms are backed by a managed bean that has the getters/setters for each of the various
fields. From a modularization perspective, I'd prefer to have the query execution in a separate class entirely,
which I can accomplish via delegation or actionListeners. Where I get confused is in the case that one of the
hyper-text enabled fields needs to invoke yet another query requiring specific values from the original result.
In this case, how should I design the beans to store the pertinent selection information AND still be able to
have the resulting 'details' query in a separate class.
For example, let's assume that I have a form with a simple backing bean to collect initial query params. The user
fills out the form and clicks on submit. The action field of the <h:commandButton> tag inside the <h:form>
delegates to a method which performs the query and returns a navigation string to the results display page. The
results page then uses a <h:dataTable> tag to display the results. However, through the process of displaying the
results, it will create the hyper-text links as follows:
<h:form>
<h:commandLink action="viewDetails">
<h:inputHidden id="P_ID" value="#{results.id}"/>
<h:outputText value="Click here to see details"/>
</h:commandLink>
</h:form>Notice that the value="#{results.id}" is the key field (in some case I may need more than one) that the subsequent
details page will need to perform the query. However, this value is stored in the results attribute of the original
query backing bean. I do NOT want to add yet another level of queries into the same backing bean as I would like
to keep the original and details query beans separated for maintenance and style reasons. How then, can I get this
specific value ("#{results.id}") into another backing bean that could be accessed by the subsequent details page
and query? In general, how does one map a single display element to multiple backing beans (or accomplish the
effect of having one 'source' bean's value end up in another 'destination' bean's attr? If this is not possible,
then isn't the details query/page forced to use the same backing bean in order to get the data it needs? If so,
how can it determine which id was selected in this case?
I'd appreciate any thoughts, ideas and suggestions here! Is there a better way to design the above in order to
maintain the separation of logic/control? What is the 'best practice' approach for this sort of stuff?
Thanks much in advance!This is what I have done in the pass
<h:commandLink action="#{AppAction.getRecord}" >
<h:outputText value="#{bbr.id}"/>
<f:param name = "recordid" value ="#{bbr.id}" />
</h:commandLink>
within the getRecord method
String key = "";
FacesContext facesContext = FacesContext.getCurrentInstance();
ServletContext servletContext = ServletContext)facesContext.getExternalContext().getContext();
key = (String)facesContext.getExternalContext().getRequestParameterMap().get("recordid");
then call you dbmethod passing in the key of the record the user wants to edit
and then simply return a string to what page you want the user to go to
I think this is what your looking for -
All current Sessions in a ServletContext
Does anybody knows what is the easiest way to
get information about all current client sessions
for a particular ServletContext.
All methods that could offer such information are
depricted. Is there a substitute way of doing it?
It would be handy for example to be able to implement
servlet that would give the administrator of the site
information about all currently logedon users.
Milan
d o L i t h e . c o m
http://www.dolithe.comNot sure if this is easy or a good thing, but it is possible.
At the top of your JSP pages, put the following code.
<%
HashMap sessionTable = null ;
if( application.getAttribute("com.x.currentsessions" ) != null )
sessionTable = (HashMap)application.getAttribute("com.x.currentsessions") ;
else
sessionTable = new HashMap() ;
sessionTable.put( session.getId(), session ) ;
%>Now, you can create a simple page that displays the HashMap from the ServletContext, thus browsing the current session contents. I would, however, on that browse page, remove all sessions that have been invalidated so you can reclaim that memory. Anyone know how to check that? -
ServletContext and ServletContextAttribute listener query
I have 2 listener classes : One that implements ServletContextListener and other that implements ServletContextAttributeLIstener.
I have put println statements in each of the implemented methods of the corresponding listener.
I am using tomcat as container.
In my deployment descriptor I have the following entry for context init parameters:
<context-param>
<param-name> context name </param-name>
<param-value> context value </param-value>
</context-param>
When I start tomcat I get the below output in the console.
Jun 9, 2007 10:48:19 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 9, 2007 10:48:19 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 906 ms
Jun 9, 2007 10:48:19 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 9, 2007 10:48:19 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Jun 9, 2007 10:48:19 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
context initializes
attribute added:
context initializes
attribute added:
Jun 9, 2007 10:48:20 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 9, 2007 10:48:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 9, 2007 10:48:20 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Jun 9, 2007 10:48:20 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jun 9, 2007 10:48:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1108 ms
As can be seen by the bold lines, the ServletContextEvent and ServletContextAttributeEvent are fired.
I can understand the initialization part, but what about the attribute one, i havent added any attribute, yet I get the corresponding event is fired.
Also from the output it seems that the initialization takes place twice.
I wonder if the container initialized the ServletContext object with some value and also adds some attribute to it. Please let me know if this is the case.
Also, is there a way by which the attribute that was added to the context object can be obtained in the corresponding listener class. The event.getSource() returns object of ServletContext I guess.
Regards,
JoshuaCheck your tnsnames.ora file, it will have an entry like
listener_facdb =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL=TCP) (HOST= danube103) (PORT=31415))
)When you create a listener on a non-default port, PMON should be able to register the database service(s) with this listener.
PMON utilises tnsentry naming method for this. PMON will look in tnsnames.ora file for the value it found in LOCAL_LISTENER.
If it doesn't find this entry in the tnsnames.ora file, it will throw error.
Alternatively, you could just use
alter system set local_listener='(ADDRESS = (PROTOCOL=TCP) (HOST= danube103) (PORT=31415))' scope = both;But this isn't very readable. Is it ? -
My first two questions about SSL
When I try to stablish a secure connection (via
https://localhost:7002/AdminMain) the console gives me this error (please
see
below), which is the same when I run . startWebLogic.sh to start it.
Two questions:
1.- What is this problem about?
2.- Even with this error, I can see AdminMain in secure mode. Should I be
worried about the
error?
I'm using Weblogic Server Manager 5.1.0 04/03/2000 17:13:23 #66825 (without
any service pack) on a Red Hat Linux 6.2 Machine & jdk 1.2.2
Thanks in advance
Sergio Rios Mendoza
Departamento de Sistemas
Corporativo de Servicios Grupo Comercial Mexicana
PS: this is the error:
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:529)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Tue Nov 14 15:31:51 CST 2000:<I> <ServletContext-General> AdminMain: init
Tue Nov 14 15:31:54 CST 2000:<I> <ServletContext-General> servletimages:
init
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)That error about "no jsafe" occurs if you have not applied any service
pack at all ( as you have said ). Get the latest SP ( SP6 ) and it
should go away.
John
Sergio Rios Mendoza wrote:
>
When I try to stablish a secure connection (via
https://localhost:7002/AdminMain) the console gives me this error (please
see
below), which is the same when I run . startWebLogic.sh to start it.
Two questions:
1.- What is this problem about?
2.- Even with this error, I can see AdminMain in secure mode. Should I be
worried about the
error?
I'm using Weblogic Server Manager 5.1.0 04/03/2000 17:13:23 #66825 (without
any service pack) on a Red Hat Linux 6.2 Machine & jdk 1.2.2
Thanks in advance
Sergio Rios Mendoza
Departamento de Sistemas
Corporativo de Servicios Grupo Comercial Mexicana
PS: this is the error:
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:529)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Tue Nov 14 15:31:51 CST 2000:<I> <ServletContext-General> AdminMain: init
Tue Nov 14 15:31:54 CST 2000:<I> <ServletContext-General> servletimages:
init
java.lang.UnsatisfiedLinkError: no jsafe in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1287)
at java.lang.Runtime.loadLibrary0(Runtime.java:469)
at java.lang.System.loadLibrary(System.java:774)
at
COM.rsa.jsafe.JSAFE_DeviceBuilderNative.buildObjects(JSAFE_DeviceBuilderNati
ve.java)
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at
COM.rsa.jsafe.JSAFE_AsymmetricCipher.getInstance(JSAFE_AsymmetricCipher.java
at weblogic.security.RSA.performOPJSafe(RSA.java:178)
at weblogic.security.RSA.performOp(RSA.java:104)
at weblogic.security.RSApkcs1.decrypt(RSApkcs1.java:153)
at
weblogic.security.SSL.ClientKeyExchange.input(ClientKeyExchange.java:132)
at weblogic.security.SSL.Handshake.input(Handshake.java:109)
at weblogic.security.SSL.SSLSocket.getHandshake(SSLSocket.java:928)
at weblogic.security.SSL.SSLSocket.serverInit2(SSLSocket.java:655)
at weblogic.security.SSL.SSLSocket.serverInit(SSLSocket.java:546)
at weblogic.security.SSL.SSLSocket.initialize(SSLSocket.java:219)
at
weblogic.security.SSL.SSLSocket.performAcceptHandshake(SSLSocket.java:192)
at
weblogic.security.SSL.SSLSocket.getInputStream(SSLSocket.java:1001)
at weblogic.socket.ResettableSocket.<init>(ResettableSocket.java:30)
at
weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java:377)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java:50
6)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
2 questions about authorization filter...
Hi guys,
i need your help to solve my question..
i'm developing a jsf application and i've created an authorization
filter...
My filter must checking for each page access if a registered user is
stored in the session,if not redirect to login page. I've a bit
experience on servlet and filter and i've solved this question with
this filter.
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class AuthorizationFilter implements Filter {
* @uml.property name="config"
* @uml.associationEnd
FilterConfig config = null;
* @uml.property name="servletContext"
* @uml.associationEnd
ServletContext servletContext = null;
public AuthorizationFilter() {
public void init(FilterConfig filterConfig) throws ServletException {
config = filterConfig;
servletContext = config.getServletContext();
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException {
Utils.log(servletContext, "Inside the filter");
HttpServletRequest httpRequest = (HttpServletRequest) request;
HttpServletResponse httpResponse = (HttpServletResponse) response;
HttpSession session = httpRequest.getSession();
String requestPath = httpRequest.getPathInfo();
Visit visit = (Visit) session.getAttribute("visit");
if (visit == null) {
System.out.println("Visit Nullo");
session.setAttribute("originalTreeId", httpRequest
.getPathInfo());
Utils.log(servletContext, "redirecting to "
+ httpRequest.getContextPath() + "/faces/Login.jsp");
httpResponse.sendRedirect(httpRequest.getContextPath()
+ "/index.jsp");
else {
chain.doFilter(request, response);
Utils.log(servletContext, "Exiting the filter");
public void destroy() {
} in my authentication bean,after user has logged in i've
loggedIn=true;
User newUser = new User(loginName, password,teamName, role);
Visit visit = new Visit();
visit.setUser(newUser);
visit.setAuthenticationBean(this);
visit.setLoggedIn(loggedIn);
setVisit(visit);
getApplication().createValueBinding("#{sessionScope.visit}").setValue(faces�Context,visit); to store values into visit object.
and this is my logout function
FacesContext facesContext = getFacesContext();
Utils.log(facesContext, "Executing AuthenticationBean.logout()");
HttpSession session = (HttpSession) facesContext.getExternalContext()
.getSession(false);
session.removeAttribute("sessionScope.visit");
if (session != null) {
session.invalidate();
} My 2 questions are:
1) how can i redirect to login page a user that tries to log in with
the same data of a user stored in the session?
2) how can i handling browser closing?I need a listener?
Please help me,i'm trying to learn about it and i need your help.
Thankshi,
1. use the copy - paste functions in the drop down menu.
2. same menu, save setting as........
DR9. -
Is ServletContext methods thread-safe?
Just read servlet spec again, I know for shared data which is used by
servlet must be thread-safe. But how about setAttribute/getAttribute methods
on ServletContext and Session object? Are they thread-safe? or I have to
synchronize the access to these methods?
Any help is appreciated.
hi Antalas,
for Tomcat,it is not thread safe.but for WebSphere it is.for more info click on the following link :
http://www.webagesolutions.com/knowledgebase/waskb/waskb026/index.html.
[email protected] -
Hi everyone! I am actually in love with this adobe photoshop. I used PSCS2 before, but later on upgraded to CS4. But I feel tired in upgrading to CS5.
One time, I found a tutorial in youtube about camera raw, and would really want to use it. But I was wondering how to install the camera raw. I believe camera raw is a plugin? so I downloaded the plugin here, installed it in my PS. I downloaded a file Camera Raw.8bi and paste it on my C drive - C:\Program Files\Adobe\Photoshop CS4\Plug-ins\File Formats.
I now am very confused, how will I open it? I do not have adobe bridge! After I installed the camera raw, I opened my PS. I clicked the file>then browse in bridge. I had an error, it's "error 2 photoshop11 undefined". Which is what I thought, I might have done something wrong with installing it.
My question is, do you still need adobe bridge installed in order to use camera raw?
If yes, how does it work? How am I suppose to open camera raw?
If no, how am I going to open camera raw without bridge?
And also, where will I download adobe bridge? I cannot find one here for CS4, only adobe bridge for CS5. I am wondering, is it okay to install adobe bridge CS5 and use it with my PS CS4?
I badly need help!WebDAV (Web-based Distributed Authoring and Versioning) is a set of extensions to HTTP/1.1.
The main difference from FTP as far as I can see is that it allows you to edit documents on a remote web server.
WebDAV was used by the Apple server - MobileMe but is not generally supported by hosting services.
Using WebDAV you can mount a directory locally. This was how iDisk worked on your Mac and you could drag files onto it to upload them to the remote directory.
With WebDAV, a number of users can share a directory which is why its used in local networks but presents security problems when using a remote server.
If you are into file sharing rather than publishing, Dropbox or its new rival SugarSync are more appropriate.
Maybe you are looking for
-
BAPI for training and event management
Hi all, I need a bapi that returns the list of the attendees of a training course. I've seen that a FM exists: RH_GET_PARTICIPANTS and i know how it works. I would like a standard BAPI to be called by an external system. If it doesn't exit I will cre
-
Somebody can help?
-
HT1454 iPhone to TV connection
I am having trouble hooking my iphone 4 to my HD TV. Got the Apple Digital AV Adapter to hook iPhone to TV's HDMI port but am only get sound and no picture. Am trying to stream PBS's "Sherlock" from PBS app. I also tried to stream YouTube and get
-
I am using iOS 9 public beta 2 and the Sky Sports Scores Centre app doesn't load at all. Anyway to fix this?
-
Encoding of a XML +XSL - HTML tranformation
Hello: I've run into a problem transforming a XML doc. containing results retrieved from a database and later passed from a EJB to a servlet. The thing is that the database contains data formatted with encoding="ISO-8859-1", the XML doc. I create bas