Error for running jsp in Weblogic 5.1
I am using weblogic 5.1 on Solaris 8 (intel) for testing
I try to test the jsp page through the browser
The following error message prompt and the server shutdown
The java.library.path is
/usr/java/bin/../jre/bin/../lib/i386:/opt/weblogic/lib/solaris/oci815_8:/opt/weblogic/lib/solaris:/usr/lib
and i am using JSK 1.2.2_07a
Please help!
Fannie
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x2]
stackpointer=D639E440
"SSLListenThread" (TID:0x91a7d28, sys_thread_t:0x91a7c70, state:R, thread_t:
t@30, threadID:0xd5f50d74, stack_bottom:0xd5f51000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5]y.SSL.SSLServerSocket.acceptNoHandshake(SSLServerSocket.java:121)
[6] weblogic.security.SSL.SSLServerSocket.accept(SSLServerSocket.java:112)
[7] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
"ListenThread" (TID:0x9171528, sys_thread_t:0x9171470, state:R, thread_t:
t@29, threadID:0xd5f80d74, stack_bottom:0xd5f81000, stack_size:0x20000)
prio=5
[1] java.net.PlainSocketImpl.socketAccept(Native Method)
[2] java.net.PlainSocketImpl.accept(PlainSocketImpl.java:413)
[3] java.net.ServerSocket.implAccept(ServerSocket.java:241)
[4] java.net.ServerSocket.accept(ServerSocket.java:223)
[5] weblogic.t3.srvr.ListenThread.run(ListenThread.java:226)
"ExecuteThread-14" (TID:0x867b8e8, sys_thread_t:0x867b830, state:CW,
thread_t: t@24, threadID:0xd6320d74, stack_bottom:0xd6321000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-13" (TID:0x86810e8, sys_thread_t:0x8681030, state:CW,
thread_t: t@23, threadID:0xd6370d74, stack_bottom:0xd6371000,
stack_size:0x20000) prio=5
[1] weblogic.common.internal.DynaQueue.getW(DynaQueue.java:219)
[2] weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:177)
[3] weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
[4] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-12" (TID:0x872cd20, sys_thread_t:0x872cc68, state:R,
thread_t: t@22, threadID:0xd63a0d74, stack_bottom:0xd63a1000,
stack_size:0x20000) prio=5 current thread
[1] weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE(JspLexer.java:3344)
[2] weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3174)
[3] weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1636)
[4] weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1477)
[5] weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1356)
[6] weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:786)
[7] weblogic.servlet.jsp.JspParser.doit(JspParser.java:57)
[8] weblogic.servlet.jsp.JspParser.parse(JspParser.java:109)
[9] weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
[10] weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:235)
[11] weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:198)
[12] weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
[13]weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
[14]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
[15]weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:123)
[16]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
[17]weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
[18]
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
[19]weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
[20] weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
[21] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-11" (TID:0x86c80e8, sys_thread_t:0x86c8030, state:CW,
thread_t: t@21, threadID:0xd63f0d74, stack_bottom:0xd63f1000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-10" (TID:0x8745218, sys_thread_t:0x8745160, state:CW,
thread_t: t@20, threadID:0xd6fb0d74, stack_bottom:0xd6fb1000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-9" (TID:0x867bce8, sys_thread_t:0x867bc30, state:CW,
thread_t: t@19, threadID:0xd6ff0d74, stack_bottom:0xd6ff1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-8" (TID:0x8742098, sys_thread_t:0x8741fe0, state:CW,
thread_t: t@18, threadID:0xd7920d74, stack_bottom:0xd7921000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-7" (TID:0x8740ed8, sys_thread_t:0x8740e20, state:CW,
thread_t: t@17, threadID:0xd7970d74, stack_bottom:0xd7971000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-6" (TID:0x86f40e8, sys_thread_t:0x86f4030, state:CW,
thread_t: t@16, threadID:0xd79a0d74, stack_bottom:0xd79a1000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-5" (TID:0x873dd58, sys_thread_t:0x873dca0, state:CW,
thread_t: t@15, threadID:0xd79e0d74, stack_bottom:0xd79e1000, stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-4" (TID:0x86ff4e8, sys_thread_t:0x86ff430, state:CW,
thread_t: t@14, threadID:0xd86b0d74, stack_bottom:0xd86b1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-3" (TID:0x86ffce8, sys_thread_t:0x86ffc30, state:CW,
thread_t: t@13, threadID:0xd8700d74, stack_bottom:0xd8701000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-2" (TID:0x87134e8, sys_thread_t:0x8713430, state:CW,
thread_t: t@12, threadID:0xd8730d74, stack_bottom:0xd8731000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-1" (TID:0x8739c70, sys_thread_t:0x8739bb8, state:CW,
thread_t: t@11, threadID:0xd8760d74, stack_bottom:0xd8761000,
stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"ExecuteThread-0" (TID:0x8739a68, sys_thread_t:0x87399b0, state:CW,
thread_t: t@10, threadID:0xd8790d74, stack_bottom:0xd8791000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:88)
[3] weblogic.kernel.ExecuteThread.run(ExecuteThread.java:96)
"TimeEventGenerator" (TID:0x869a220, sys_thread_t:0x869a168, state:CW,
thread_t: t@9, threadID:0xd87c0d74, stack_bottom:0xd87c1000,
stack_size:0x20000) prio=5
[1] weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:249)
[2] weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:131)
[3] java.lang.Thread.run(Thread.java:479)
"SpinnerRandomSource" (TID:0x86e8218, sys_thread_t:0x86e8160, state:CW,
thread_t: t@8, threadID:0xd87f0d74, stack_bottom:0xd87f1000,stack_size:0x20000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.security.SpinnerThread.stopSpinning(SpinnerRandomBitsSource.java:102)
[3] weblogic.security.SpinnerThread.run(SpinnerRandomBitsSource.java:116)
Exiting Thread (sys_thread_t:0xdfb7c29c) : no stack
"Finalizer" (TID:0x81e3940, sys_thread_t:0x81e3888, state:CW, thread_t: t@6,
threadID:0xdf4e0d74, stack_bottom:0xdf4e1000, stack_size:0x20000) prio=8
[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
[3]
java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
"Reference Handler" (TID:0x81da690, sys_thread_t:0x81da5d8, state:CW,
thread_t: t@5, threadID:0xdf510d74, stack_bottom:0xdf511000,stack_size:0x20000) prio=10
[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
"Signal dispatcher" (TID:0x81a0ea8, sys_thread_t:0x81a0df0, state:MW,
thread_t: t@4, threadID:0xdf670d74, stack_bottom:0xdf671000,stack_size:0x20000) prio=10
"main" (TID:0x8061728, sys_thread_t:0x8061670, state:CW, thread_t: t@1,
threadID:0x804c178, stack_bottom:0x8048000, stack_size:0x848000) prio=5
[1] java.lang.Object.wait(Object.java:424)
[2] weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:1784)
[3] java.lang.reflect.Method.invoke(Native Method)
[4] weblogic.Server.startServerDynamically(Server.java:148)
[5] weblogic.Server.main(Server.java:66)
[6] weblogic.Server.main(Server.java:58)
how is the weblogic.properties configured?
how do you run the BWLS ? memory (M)?
is the documentroot and the WEBLOGIC JSP PROPERTIES right ?
Similar Messages
-
hi
Error to run Configuration Wizard weblogic 12.1.2
my system is windows xp by 2 gig ram
and jvm version
C:\Program Files\Java\jdk1.7.0_25\bin>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
how resolve this problem and how find log file weblogic to this error?In user environments where the path to java is not already established as an system-level environment variable, the service is unable to determine where to find java and this error will occur.
This could occur, for example, in environments where there is more than one JDK installed, or where the default JDK is different from the JDK which needs to be used by WLS.
Try to set the environment variable in windows i.e JAVA_HOME=C:\Sun\Java\jdk1.7.xx.x. to point to jdk 1.7 and run the configuration wizard.
Hope it helps!!
Thanks,
Vijaya -
Error while parsing JSP with WebLogic 5.1/SP9/JDK 1.2.2
Hello everybody,
I get the error given below when calling a JSP in a WebLogic
application which seems to work fine in all other (non-JSP) parts:
java.lang.NullPointerException:
at weblogic.servlet.jsp.JspLexer.addSetPropertyValue(JspLexer.java:1432)
at weblogic.servlet.jsp.JspLexer.mXML_SET_PROPERTY(JspLexer.java,
Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1726)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:159)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:109)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
I know that this error has been reported more than once in these
discussion groups, and all people who solved it say
- that it occurs only wen running WebLogic 5.1 with JDK 1.3 instead of
1.2.2
- that it may also be caused by bad jsp code
But in my case, it has to be another reason, because
- I am using jdk 1.2.2
- the same JSP file is running withour errors on WebLogic 6
I wonder if it could have something to do with the operating system:
the parsing error is produced on a Windows version of WL 5.1, while my
WL 6 which doesn't cause errors is running with Linux.
Many thanks in advance for any help,
Eckhard Beisswenger
Once again me!
After a long time, I stumbled by accident across the answer that solves the problem I described above. It is explained at
http://support.bea.com/application;JSESSIONID_WLCS_DEFAULT=2R2lzQfEBxFRMX2z0AxeU1Un3N1522I9fCIUI7GfjnjsiSYkPscz
The clue is that weblogic complains about corresponding get and set methods, when the type of the set methods parameter is different from the return type of the corresponding get method. Unfortunately, the weblogic lexer class gives only a NullPointerException without any hint.
-
Hi,
While running JSP page in weblogic I am getting following error.
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
I am using jdk1.5. And I am using this jsp page for cognos connection.swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
send ur jsp code -
Error while running JSP Page on Desktop Client PDA
Hi Experts,
I am trying to run MI Project on my local desktop. But it is not able to start. Browser gives the following error:
java.lang.ExceptionInInitializerError
at com.model.CalibModel.getUomList(CalibModel.java:75)
at com.jspjava.OrderList._jspService(OrderList.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Could not create SmartSyncRuntime intance: null
at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:102)
at com.model.mwfields.order.ISyncBO.(ISyncBO.java:10)
.. 23 more
It is giving Error for line having following code:
SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade();
On checking Tomcat logs, following error is getting displayed in trace file:
<r id="1242970226250" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="Cannot get all node descriptors --> java.lang.ClassCastException: com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorImpl.<init>(SyncBoDescriptorImpl.java:66)
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.getSyncBoDescriptorAgain(SyncBoDescriptorFacadeImpl.java:89)
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.<init>(SyncBoDescriptorFacadeImpl.java:103)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.<init>(SmartSyncRuntimeImpl.java:75)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.<clinit>(ISyncBO.java:10)
at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
">
<f n="ThreadName" v="Thread-19"/>
</r>
<r id="1242970226251" t="11:00:26" d="2009-05-22" s="D" c="000" u="SMA_GOPAL" g="en" m="Error while getInstance --> java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.<clinit>(ISyncBO.java:10)
at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Cannot get all node descriptors:com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.<init>(SyncBoDescriptorFacadeImpl.java:140)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.<init>(SmartSyncRuntimeImpl.java:75)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
... 29 more
">
<f n="ThreadName" v="Thread-19"/>
</r>
<r id="1242970226265" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="java.sql.SQLException: Statement is closed">
<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
<f n="ThreadName" v="Thread-19"/>
</r>
Can anyone please explain what wrong I may be doing?
Thanks and Regards,
GopalError in log trace was as follows:
<r id="1242970226250" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="Cannot get all node descriptors --> java.lang.ClassCastException: com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorImpl.<init>(SyncBoDescriptorImpl.java:66)
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.getSyncBoDescriptorAgain(SyncBoDescriptorFacadeImpl.java:89)
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.<init>(SyncBoDescriptorFacadeImpl.java:103)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.<init>(SmartSyncRuntimeImpl.java:75)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.<clinit>(ISyncBO.java:10)
at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
">
<f n="ThreadName" v="Thread-19"/>
</r>
<r id="1242970226251" t="11:00:26" d="2009-05-22" s="D" c="000" u="SMA_GOPAL" g="en" m="Error while getInstance --> java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.<clinit>(ISyncBO.java:10)
at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Cannot get all node descriptors:com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.<init>(SyncBoDescriptorFacadeImpl.java:140)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.<init>(SmartSyncRuntimeImpl.java:75)
at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
... 29 more
">
<f n="ThreadName" v="Thread-19"/>
</r>
<r id="1242970226265" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="java.sql.SQLException: Statement is closed">
<f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
<f n="ThreadName" v="Thread-19"/>
</r> -
An Project containing Business components and JSP was developed using JDeveloper 3.0 version ( using wizards). I am unable to run main.jsp inside the JDeveloper environment. What could be the reason.
When the file is run in IE with java web server, then main.jsp, contents.jsp are opening up but it gives JBO error for insert,view,edit JSPs. ( Unable to create application module is the error shown).
Help or suggestions in any way is required urgently. Thanks in advanceIf the error says
"Unable to create application module"
Then you better find the solution to this problem first before assuming it has anything to do with JSPs.
You can test your Business Components for Java applicaiton by right clicking on the
Application Module and selecting Test.
This will launch the Business Component Browser (after connect dialog) -
if you get there then, the Application Module
has been created - if not - you may see some
error as to why.
If you are still having problems, try creating a new BC application using the
File | New Project ... wizard and
selecting all defaults -
Select a couple of tables, create the
view object, create the application module,
test the results.
I hope this helps,
John - JDeveloper Team
null -
Compilation error for a .jsp file
I am working with JSP on WebLogic. I have a file called login.jsp, which takes values thru a form and uses a bean to set and get those values. I am getting the following error, can someone help me to figure out why i am getting this error.
Compilation of 'D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__login.java' failed:
D:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp\jsp_servlet\__login.java:87: cannot resolve symbol
probably occurred due to an error in /login.jsp line 7:
<jsp:useBean id="logBean" scope="request" class="LoginBean" />Hey
Check out the classpath for the application. The server is not able to find the class for that Bean. Also, try using a package name in that Bean Class. It has been a disadvantage with the JSP that it cannot detect the classes in the default package.
Good luck -
while running JSP which is deployed in JAvaWebserver2.0 Trial version, it is giving this error
javawebserver: Loading from CLASSPATH POLCATMA001_ItemMasterModule.properties
javawebserver: Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutp
ut=console to see it)
javawebserver: A nonfatal internal JIT (3.00.072b(x)) error 'ResolveItem64' has
occurred in :
javawebserver: 'oracle/sql/NUMBER.toBytes (Ljava/math/BigDecimal;)[B': Interpr
eting method.
This is happening while inserting a record to any master-detail jsp. In some Jsps while displaying(viewRecord) itself it is giving this error. After this error comes we are not able to do any insert, update or even navigation is not coming properly. Some vague errors like Error Message:null is coming. Why is it so? anybody got any idea abt this? Sometimes The same Jsp is working fine.Is your JSP functioning correctly when you run it from within JDeveloper, or are you experiencing the same problems there?
If you are having the same problems from your JSP within JDeveloper, try the same from the Application Module tester.
This will help determine where the source of the error is.
Laura -
How to run jsp in weblogic server
hi,
how to run jsp application in weblogic server,plz send the procedure how to deploy..
ThanksHow to run JSP and EJB program using weblogic server
-
Error while running JSP with custom tag
I am trying to run a jsp with a tag and I am getting the following error when I run the jsp:
"Unable to open taglibrary /WEB-INF/jsp/mytaglib.tld : Parse Error in the tag library descriptor: External parameter entity "%(DOCTYPE);" has characters after markup."
I have no idea what this is, can anyone help me here?
tx
-ABIts difficult to tell without looking at your TLD file i.e. mytaglib.tld
However, a guess is that you may be refering to an invalid or otherwise corrupted DTD from your TLD.
Check that out.
The official DTD for TLDs in JSP 1.1 is http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
and the official DTD for TLDs in JSP 1.2 is http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd -
500 Internal Server Error when run jsp in JDev
Dear allm
I had newly installed the JDev10g, but I got the following 500 Server Error when I click on a hyperlink in testing a jsp page, have I missed out some configuration tasks for 10g?? BTW, I am new to JDev also
Thanks
Regards,
Eddie
500 Internal Server Error
java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String) java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String) oracle.adf.model.binding.DCBindingContainer oracle.adf.model.binding.DCUtil.findBindingContainer(oracle.adf.model.BindingContext, java.lang.String) void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)The full error message should be....
500 Internal Server Error
java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String) java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String) oracle.adf.model.binding.DCBindingContainer oracle.adf.model.binding.DCUtil.findBindingContainer(oracle.adf.model.BindingContext, java.lang.String) void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void oracle.adf.controller.lifecycle.LifecycleContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void oracle.adf.controller.struts.actions.DataActionContext.initialize(oracle.adf.controller.lifecycle.Lifecycle, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) org.apache.struts.action.ActionForward oracle.adf.controller.struts.actions.DataAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping) void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) void oracle.adf.model.servlet.ADFBindingFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse) boolean com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.ApplicationServerThread, com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpServletRequest, com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(java.lang.Thread) void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run() void com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run() void java.lang.Thread.run() -
Internal Server Error while running JSP file (Oracle AS - HP Unix)
Hello Friends,
I have created a JSP file in which I am trying to connect the database using oracle.jdbc.pool directory. But it shows an error message as:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
the path for pool package is:
/appltest/apps/prodora/iAS/oem_webstage/oracle/jdbc/pool
the location of JSP file is:
/appltest/apps/prodcomn/portal/TEST_test/test
What I think is I have to play with the CLASSPATh entries, but dont know how. Please help me in solving this issue...
For your reference the JSP code is:
<%@ page import="java.sql.*, javax.sql.*, oracle.jdbc.pool.*" %>
<jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
<%
try
ods.setURL("jdbc:oracle:thin:@test:1546:test");
ods.setUser("kpm_hr");
ods.setPassword("kpm_hr");
Connection conn = ods.getConnection();
Statement stmt = conn.createStatement();
Resultset rset = stmt.executeQuery("select first_name,last_name from kpm_hr.kpm_hr_emp_mst where empcode='P0580'");
rset.next();
out.println(rset.getString(1)+" "+rset.getString(2);
catch(SQLException e)
out.println(e);
Thanks in adavnce,
Ankur
Regards,
Ankur BhatiaJust to verify, which relevant log files have you found?
catch(SQLException e) {
out.println(e);
} Have you search the console log file?
A quick observation reveals that your jsp is just a standalone java program executed inside jsp. Suppose you just run it as a standalone program. Any error then?
Another way going forward is to install oc4j standalone of the same version. It is very easy to install: just download the oc4j-extended.zip and unzip it and run "java -jar oc4j.jar". Put you jsp inside j2ee/home/default-web-app and run. You should see relevant log messages in j2ee/home/log/server.log and j2ee/home/application-deployments/yourApp/application.log.
You should have Jdeveloper of some appropriate version installed. If you have not, install one. It might be not a little bit high learning curve at first, but the rewards are quick and amazing, especially since jdev 10.1.3. (I am speaking from my experience.) Try it with Jdeveloper. -
I am getting the following error when I compile the JSP page. I have set my CLASSPATH correctly, still I am getting the error.Where should I place my class file???
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 0 in the jsp file: /JspSession_NextPage.jsp
Generated servlet error:
[javac] Compiling 1 source file
D:\Program Files\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\_\JspSession_NextPage_jsp.java:41: cannot resolve symbol
symbol : class UserData
location: class org.apache.jsp.JspSession_NextPage_jsp
UserData user = null;
^
An error occurred at line: 0 in the jsp file: /JspSession_NextPage.jsp
Generated servlet error:
D:\Program Files\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\_\JspSession_NextPage_jsp.java:43: cannot resolve symbol
symbol : class UserData
location: class org.apache.jsp.JspSession_NextPage_jsp
user = (UserData) pageContext.getAttribute("user", PageContext.SESSION_SCOPE);
^
An error occurred at line: 0 in the jsp file: /JspSession_NextPage.jsp
Generated servlet error:
D:\Program Files\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\_\JspSession_NextPage_jsp.java:46: cannot resolve symbol
symbol : class UserData
location: class org.apache.jsp.JspSession_NextPage_jsp
user = (UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserData");
^
3 errors
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/4.1.18-LE-jdk14Have you placed the UserData class in the same directory?
-
ALC-LCM-100-011 error for configuring LC to weblogic
When trying to configure LC to managed weblogic application server. I am seeing this error. I tried to change the port from 7001 to 8001(configured for managed server). I tried to put the IP of localhost and tried with 127.0.0.1 and no use. My weblogic is running and I am able to see the page when hit http://localhost:7001/console
Please help me if I missed some thing for configuration.Hi,
Are you still facing this issue.
In case you do, Could you please check whether the Machine is mapped to the Application Server and further with the managed Server in weblogic.
I had a similar issue some time back, I was able to resolve it by checking the weblogic configuration for the Managed Server running LC.
- Pushkar -
Gateway Timeout error when running JSP page in 10.1.3 preview
I am unable to run a JSF JSP page with nothing in it but text. I get an error in the browser:
Gateway Timeout
The following error occurred:
[code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Retry the request.
The url is:
http://82.123.84.247:8988/ListProto2-ViewController-context-root/faces/test.jsp
My laptop uses DHCP and 82.123.84.247 is currently my IP address. If I change the url to use localhost instead of the IP address, the page displays without error. I tried changing Tools -> Preferences -> Web Browser and Proxy to exclude the proxy for 82.123.84.247 (localhost was already excluded), but this didn't help.
I saw a post from a year ago where someone had the same problem with an earlier version of JDev, so I don't think it is specific to the preview release. It must be some kind of setup problem. Unfortunately, no one responded to the other post.Hi Vicki,
Under the main menu, pick:
Tools | Embedded OC4J Server Preferences
and visit the "Startup" panel in that dialog.
For the "Host Name or IP Address Used to Refer to the Embedded OC4J" field, click the (*) Specific Host Name option, and type in "localhost" for the host name.
That usually fixes it for me.
Maybe you are looking for
-
Deleted iTunes Media off the Mac, Can i now get it to read from my Hard Drive ?
I started looking into this as my Mac was using Roughly 500 of 750 gig on Music. But I've only recently noticed that this is due to duplicates in My Music folder and iTunes Media. Ive done Some reading up and can't seem to find a definitive answer to
-
MouseEnter/mouseExit event is triggering a screen jump ONLY when zoomed in?
Hi all: First and foremost, to all the people who repeatedly post answers: you are truly rock stars in my book. Learned so much from you all; deepest, deepest thanks. I can't find anything online re: this issue, and BELIEVE me I've looked, so I'm go
-
Abap macro parameter number limit?
Is there any number of macro parameter restriction? I am using "set_column" to populate field-category for ALV report. Every is fine until I add ls_fcat-no_out = &10. I wonder the max parameter no. is 9? Then what can I do for this case? DEFINE
-
Copy its content to show on onother window
Hello! The Problem I'm having is: A list of all orders is shown on a view which is defined for. Click on a special button opens a new Window (external window) and this window should show the same list like the privious view once more. With other word
-
Incorrect Fixed duration in SNP PDS
Hi, We are maintaining the capacity for "SNP Bucket Capacity" with number of periods as 7 days for resources in SAP APO. However when we CIF the PDS the fixed duration for the activity is getting populated as 1 Day instead of 7 Days. I have attache