Jdev 9I on linux: hw to run jsp on browser in local on PC ????
Hi,
I've installed jdev9I on linux directly on the application server to get a sharable dev environment. However, i have a slight problem when we are testing jsp (tutorial for example):
1. i have no browser on the linux server
2. there is an error saying he is trying to open Netscape
Is there a way to open a browser on the Developer local PC ? I'm accessing Jdev through a X windows client on my PC.
At least how/where we will setup the browser called by Jdev ?
thanks for your help
Thanks for your suggestion. we have tried that but it doesn't work as the embedded OC4J displays an error:
java.io.IOException: netscape: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:491)
at java.lang.Runtime.exec(Runtime.java:457)
at oracle.ideimpl.webbrowser.BrowserRunner._runBrowserOnWindowsOrUNIX(BrowserRunner.java:226)
at oracle.ideimpl.webbrowser.BrowserRunner._runBrowser(BrowserRunner.java:101)
at oracle.ideimpl.webbrowser.BrowserRunner.runBrowserOnURL(BrowserRunner.java:62)
at oracle.jdeveloper.runner.Oc4jStarter$BrowserThread.run(Oc4jStarter.java:2000)
Similar Messages
-
Run reports through browser on local machine
Hi,
I am trying to run 6i reports through a web browser. I have
installed 6i and the reports server on a local machince. I have
configured the reports server and can get it to start.
In order for me to run reports on my local machine through a web
browser do i need a web server ?
I am in my final year @ university, if i need a web server can i
use personal web server ?
The purpose of running them through a browser is only for a demo
for my final year project.
Oracle team : any chance you could host my report ? LOL
Thanks in advance for ANY help,
Russell.Hi,
If you have installed the 6i Base Release i.e (6.0.8.8.0) version
then the WEBDB Listener comes with the 6i CD. When you install
it automatically get installed also.
In that case you don't need to have the web server. You can
call the report on web using the following URL:
http://host:port/dev60cgi/rwcgi60?report=<reportname>&otherparame
ters.
Here Host and port specifies that machine name and port number
where your webDB listener is installed.
In your case it will be your local machine. By default the
port on which the WebDB is installed is 80.
You can use any web server also, thing is that web server should
support the CGI implementation.
In case of more info you can update this posting.
Hope this helps
cheers
Arun -
Error while trying to run JSP page in Jdev
I have integrated BPEL and business rules and it has a task form so if I am trying to run JSP page in JDeveloper, it gives below
error:
[Starting OC4J using the following ports: HTTP=8989, RMI=23892, JMS=9228.]
D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
D:\Oracle-SaaS\Downloads\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\Oracle-SaaS\Downloads\jdevstudio10131\j2ee\home\oc4j.jar;D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Oracle-SaaS\Downloads\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
09/08/05 12:28:20 Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/Oracle-SaaS/Downloads/jdevstudio10131/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml.
09/08/05 12:28:20 Fatal error: server exiting
Process exited with exit code 1.Looks lik eyou have not specified the correct shared libraries in your server.xml. Also, ensure that you have added the libraries in the right order in your BPEL Project in JDev.
-
Hi,
I am just new to jdeveloper and amfacing an error while running a jsp page.I am using jdev 10g and whenI try to run the jsp page I created i get
Error initializing server: XMLApplicationServerConfig::initHttp(server), cannot find application instance for current-workspace-app
Can some one suggest something?What version of 10g?
http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/readme.html
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.1/readme.html
http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.2/readme.html?_template=/ocom/print -
Error running jsp page through jdevloper
Hi,
I am a newbie trying to run jsp through jdev.It comes up with a error saying Error: /Documents and Settings/al/Desktop/jdev1012/jdev/booking/ViewController/public_html/ not contained in /Documents and Settings/al/Desktop/jdev1012/jdev/Booking/ViewController/public_html/index.jsp.
Can some one help me.
I am running on a winxp machine.
jdev10g.swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
send ur jsp code -
How to setup my computer to run JSP and Servlets
I want to setup my computer to run JSP and Servlets.
What kind of Servers and other tool i need to install to run JSP and Servlets.
Plz, Help me to start my work on JSP.
Regards,
Usman Alihello
JSP and servlet is web programming, may be little bit different to development local application.
1st, you should have two computers: one is server and the other is local workstation. This server should have a static IP address, that other people can go into your server. Workstation is any computer normal you use it.
2nd, you need to setup your server in: OS(linux or windows 2000), web server (jrun, apach or Tomcat etc. ), as well as install JDK, servlet.
3rd, your local workstation just use as programming editor and open a browser to testing, anytime you write your code, then ftp to server to test.
Reality, you have many technical thing to solve, eg setup web server etc. However, you can write your source code and test it, then open to outside people.
hope to helpness, if anything don't uderstand, you can post again or send email to me [email protected] Since I just have setup this configuration in my university for my project. -
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> -
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 -
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 -
URGENT-CREATE A HTML FILE WITH AN STRING INPUT FROM THE RUNNING JSP
I am designing a web page where the user enters a page after entering his/her login and password.The User should now be provided with a display page containing the servers that he has permissions for access.The servers that he has permissions are maintained in a database(a normal text file in UNIX).
Till now the program has been complete for displaying the servers that are available to him.
I need to create a HTML form containing these servers names in a check box so that when the user clicks thcheck box against the server name it should go to the server and get the password for the required server.
THe intention from me is to create a HTML file that dynamically takes values from the running JSP means the server names as a string value to its input and then i can continue
Please guide me in creating a HTML form based on the string output from the running JSP
FileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
DataInputStream in1 = new DataInputStream(fs);
int fl=0;
while (in1.available() !=0)
String str1=in1.readLine();
StringTokenizer st1 = new StringTokenizer(str1);
String usernam=st1.nextToken();
if (usernam.equals(uname))
String ip=st1.nextToken();
String host=st1.nextToken();
fl=1;
out.println("<tr><td> "+ host + "</td><td> " + ip +"</td></tr>");
if (fl == 0)
out.println("YOU HAVE NO SEVRER IN YOUR PROFILE !");
in1.close();
The host string here is the server name
the ip is the ip address of the server
Need to input these values to another HTML page that contains the check box list of the servers .
once these are clicked i think i can pass on this to another JSP and retreive passwords
Please guide me in thisFileInputStream fs = new FileInputStream("/root/Auth_Application/User_Access_List");
DataInputStream in1 = new DataInputStream(fs);
int fl=0;
while (in1.available() !=0)
String str1=in1.readLine();
StringTokenizer st1 = new StringTokenizer(str1);
String usernam=st1.nextToken();
if (usernam.equals(uname))
String ip=st1.nextToken();
String host=st1.nextToken();
fl=1;
out.println("<tr><td> "+ host + "</td><td> " + ip +"</td></tr>");
if (fl == 0)
out.println("YOU HAVE NO SERVER IN YOUR PROFILE !");
in1.close();I feel sorry for the inconvenience that is caused as i am new to using these forums.
I have here used a simple program to retreive the names of the servers that the users have acess to..
I have here read the servername and server ip stored from a file in UNIX in the running JSP.Now i need to pass these string variables to HTML file and display it in a Check box format.the strings host and ip have to be passed to the input of the HTML file so that they can further be processed once they are clicked using another JSP.
Can anybody please help me in Passing these strings from the running JSP and display it in a check box format -
Hi, can any one know how to run .jsp application in weblogic 8.1
hi,
i am using weblogic 8.1 ,
in weblogic 6.1 and 7.0 there is directory called default web apps under bea\user projects\application.we placed all .jsp file under here.
now bea deleted this folder.
now how to set of environment for run .jsp application using weblogic8.1
can one may help thanks,
jp reddyhi,
i solve this one after check bea documnetaion.
with regards
jp -
How to run JSP pages in weblogic 8.1 sp2
hi frnzs,
plese give me some idea about how to run JSP pages in weblogic server.enen i dont know hw to fly palne otherwise i can definitely give u sm guides abt that......
-
Running JSP 2.0 pages on Tomcat 4.1
I have web-application written in JSP 2.0. I use custom tags in tag-files and EL.
How can I run this application on hoster's Tomcat 4.1 server.But hoster do not have Tomcat 5 :( only Tomcat 4.1
May I run JSP 2.0 app on Tomcat 4.1 with some tricks -
I downloaded Tomcat and I installed. I set the JAVA_HOME and CATALINA_HOME variables to the appropriate values. I have the j2sdk1.4.1_01 installed. Although the http:localhost:8080/ is opening after that I do not know quite how I can run the examples.
I put a .jsp file in the webapps\ROOT and I tried to run it through IE with the URL
http://localhost/name.jsp as I read in a tutorial.
Is it wrong?It does not working anyway.
What can I do and how I can run jsp examples???
Please answer me...Do one thing put all your jsp files in a directory like my directory name is Jignesh, then it will be created in
C:\Program Files\Apache Tomcat 4.0\webapps\Jignesh
now to run any JSP file
you should write in address bar
http://localhost:8080/Jignesh/filename.jsp
and your tomcat must be running at that time. ok. hope this will help you. -
Problem running JSP / Weblogic 7.0
Hi,
I need some help with running JSP . Is there anyone out there who can help me with some of the troubles I am having with it. I am trying to deploy very simple application on Weblogic 7.0 . It does not use servlets - only JSPs. The structure is:
myappl
|-----META-INF
| |_application.xml
|
|-----myweb
|----WEB-INF
| |_ web.xml
|
|_ hello.jsp
Every time I try http://localhost:7001/myweb/hello.jsp I get 404 error. Please help me out. Do I need to change something in structure of my application or application.xml/web.xml config files???
Please find below my config files.
Thanks a lot !
application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>myappl</display-name>
<module>
<web>
<web-uri>mywebappl</web-uri>
<context-root>/myweb</context-root>
</web>
</module>
</application>
web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
<web-app>
<display-name>mywebappl</display-name>
<description>no description</description>
</web-app>Thank you for your help.
Sorry, it's my typo, I use the following application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>myappl</display-name>
<module>
<web>
<web-uri>myweb</web-uri>
<context-root>/myweb</context-root>
</web>
</module>
</application>
What else need to be changed to fix the problem ???
Maybe you are looking for
-
Ipod mini versus windows vista
i just got a used ipod mini (4g version). i used the installer disc that came with it, udated itunes to 9.1, plugged my ipod in and nothing. the ipod comes up charging and on the main menu, but other than that, goose egg. is vista or windows media pl
-
Error during page load in e-Recruitment
Hi SAPiians, We are implementing SAP e-Recuitment using BSPs. We are done with the configuration part and also configured the ALE. Also, generated the URLs using RCF_GENERATE_URLS. When i copy and paste the URL in a browser, the logon page pops up. W
-
10.4.3 Update "My Catch 22"
My problem is simple, well not simple just frustrating. I live in a very rural Northern Michigan town, no fast access to the internet. When I go to download 10.4.3 the download time is in excess of six hours, no biggie just do it at night. Well my is
-
Hi gurus, I'm in a question, How to restore archive logs backuped? Scene: 1- We backup the archive logs each hour. 2- We backup the database in a cold backup. 3- We restore the database in another machine. 4- We want to apply this archives in the dat
-
Evaluation Path for Direct Reports only
Hi We have written an evaluation path to return direct reports for a given manager (to use in an Adobe Interactive form). We get the correct employees returned, but also the manger himself. Ideally we want a list of names that doesn't include him. He