Problem running car demo jwsdp-1.3,Tomcat 5.0
Hello. I am having problems running the car demo on the jwsdp-1.3 with Tomcat 5.0.
I get the following error message:
"A jar file containing the Servlet 2.3 and JSP1.2 classes is required to compile
carstore. Please define the property servlet.jar in your build.properties file and ensure
that the file exists."
I replaced the jsf EA 4 with the beta, and cleared out the cache in catalina as per the
installation documents. I am probably missing something here. I checked my path,
(I am using windows xp) and made sure the jsf directory was in the path.
Any help would be greatly appreciated. Thanks in advance.
regards,
cyuno
Thanks for your response.
I changed the path to the tomcat 5.0 that came with the jwsdp-1.3.
However, I am still getting the same error message. I have checked the build.properties file, the path, the path where ant is located, and the path is pointing to the jwsdp-1.3 directory.
I have been working with the examples in the java web services tutorial, and for the most part have not had any problems running the examples using the jwsdp-1.3, ant and tomcat 5.0(except for CH 11, on the jaxb examples)
Thanks again for your help
regards,
cy unpingco
Similar Messages
-
Configuration problem running webutil demo form WU_TEST_106
Hi,
I am running the web util demo form from OTN, it works ok till I access the OLE tab and try to write some text to a *.doc file.
The java console spits out this text:
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmall_jinit.jar from JAR cache
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmwebutil.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkLink(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)
at oracle.forms.webutil.ole.OleFunctions.create_obj(Unknown Source)
at oracle.forms.webutil.ole.OleFunctions.getProperty(Unknown Source)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I followed the steps layed out for configuring webutil in the users guide, I suspect the problem is related to signing the jacob.jar file.
I signed jacob.jar using $ORACLE_HOME/forms/webutil/sign_webutil.bat, I made sure ORACLE_HOME/jdk/bin was in PATH.
I received these warning/errors at this point
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar as d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.old...
1 file(s) copied.
Signing d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar using key=webutil2...
jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
I am running forms 10.1.2. How do I resolve this problem.
Your help is greatly appreciated.
Jim
.Well, I think the problem is a permission issue or there is a problem finding the correct files. Let me explain:
1. The first error is expected. Read it carefully and consider what you did to this point.
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
This is expected because the alias was already created when signing frmwebutil.jar. Since the alias only needs to be created one time, this is expected and can be ignored.
2. The second error is your real issue:
jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
My suggestion:
1. Delete all jacob files including any which may have been renamed.
2. Re-download the correct Jacob version as noted in the WebUtil and Forms documentation. Do NOT attempt to use a newer version as it will cause a failure.
3. Copy the jacob.jar file in the same directory which contains the cortousy signing script (batch) Oracle provides.
4. Ensure that you have (Windows) Administrative permissions on the machine.
5. Open a DOS shell and change directories (cd) to the directory which contains the signer script.
6. Set the PATH to include the JDK\bin. For example:
SET PATH=d:\oracle\Product\dev10gR2suite\jdk\bin;%PATH%
7. Execute the jarsigner script.
sign_webutil jacob.jar
As already mentioned you can ignore messages which suggest that the alias already exists. However, pay attention to any others.
8. Assuming it works correctly, copy jacob.jar to ..\forms\java
9. Clear the JAR cache from whichever JRE (Jinitiator) you are using.
10. Retest -
Problems running jsp files with tags on tomcat 4.0
hi,
i had some jsp1.1 stuff running on tomcat3.3.
last week i moved to tomcat 4.0 , changed the tags to fit jsp1.2 and... everything is wrong now. while trying to run jsp with tags i get an error message (same for all files):
---->
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: (class: org/apache/jsp/djsp$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V) Incompatible object argument for function call
<-------
the jsp files with no tags and servlets are running ok.
I NEED YOUR HELP!!!cyclid,
i have the same environment setup and the same troubles. after searching the forums, it seems that there are others with the same, if not similar issues, yet no solutions. if you find the solution to this one, could you please post it. i would really appreciate it since i have been on this one for several days with no success. i even tried the helloworld jsp/custom tag examples from a jsp profession book that i have and that won't work.
Anyone out there,
if you have any idea why this problem exists, any solutions, ideas would be appreciated.
thank you,
navesink -
Apache + Tomcat - Can't run xsql demos
I have the following setup -
Apache 1.3.9
Tomcat 3.1
XSQL 1.0.4.3
JDK 1.3
HPUX 11.0
Oracle 8.1.6
I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.Found the resolution for this problem. I had to add the following two lines in my httpd.conf file -
AddType text/xsql .xsql
AddHandle jserv-servlet .xsql
The demos work just fine after making this change and restartin the Apache server.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bhadresh Patel ([email protected]):
I have the following setup -
Apache 1.3.9
Tomcat 3.1
XSQL 1.0.4.3
JDK 1.3
HPUX 11.0
Oracle 8.1.6
I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.<HR></BLOCKQUOTE>
null -
Car Demo on MyFaces implementation doesn't run !
I'm trying to use the myfaces 0.9.1 implementation for the cardemo sample from the JSF 1.0 FCS.
The error I'm getting is -
java.lang.NullPointerException: Could not find factory configuration in faces-factoryConfig
at net.sourceforge.myfaces.config.configure.FactoryFinderConfigurator.configure(FactoryFinderConfigurator.java:51)
at net.sourceforge.myfaces.config.configure.FacesConfigurator.configure(FacesConfigurator.java:52)
at net.sourceforge.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:58)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:727)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
I don't see any place I'm supposed to add factory configuration definitions not in the car demo or the example that comes with the myfaces. So, why is it working for the example but not for the cardemo ??
I'd appriciate the help,
Netta.Car demo works in MyFaces since release 1.0.0.
See http://myfaces.sourceforge.net for detailed description on how to get it running.
Regards,
Manfred -
Problems running the jsf-compnenets demo on Weblogic 8.1
Hi,
I am just starting out with with JSF and I'm having problems running the jsf-components demo. Whenever I try to run any of the JSP's in this demo I get the following error :
/imagemap.jsp(41): Error in using tag library uri='http://java.sun.com/jsf/demo/components' prefix='d': cannot find tag class: 'components.taglib.AreaSelectedTag'
probably occurred due to an error in /imagemap.jsp line 41:
<%@ taglib uri="http://java.sun.com/jsf/demo/components" prefix="d" %>
I have modified the components.tld file (within jsf-components.war) to remove what appears to be the offending tag but the problem still persists.
Also, when I try to view the source of the demo, by clicking on any of the links I get the following error :
<01-Jul-2004 12:00:59 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext(
id=13712942,name=jsf-components,context-path=/jsf-components)] Servlet failed wi
th Exception
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
at java.lang.Class.getDeclaredMethods(Class.java:1114)
at java.beans.Introspector$1.run(Introspector.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
01)
at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
at java.beans.Introspector.getBeanInfo(Introspector.java:370)
at java.beans.Introspector.getBeanInfo(Introspector.java:207)
at java.beans.Introspector.<init>(Introspector.java:351)
at java.beans.Introspector.getBeanInfo(Introspector.java:207)
at java.beans.Introspector.getBeanInfo(Introspector.java:193)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
33)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1271)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
04)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4842)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4688)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:504)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:349)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Am I missing something ?
Any help would be greatly appreciated.
Thanks in advance,
Brian.Hey,
You are probably missing jsp-impl.jar in the classpath. Please add it to your class path and try again.
Senthuran -
Running the demos problem...
Hi guys!
I'm a newbee in the Mapviewer forum and unfortunately I've a problem with running the mvdemo demos. I've ofc dployed mapviewer in the OC4J, imported the dmp file into scott schema, configured the mapviewer data source...but everytime I'd like to run a demo i receive the unpleasant warning = "No base map MV_DEMO.DEMO_MAP found...". I don't really know where to seek for the solution, because the Mapbuilder is able to see these Base Map ;/ Please help...
With regards,
PsmakRSimilar problem here. I'm running: Windoze Server 2003 , Ver1033p5_B080908, OAS 10.1.3.1. The sever is a static IP. My admin console can't see my cached maps. I can see them in mapbuilder fine so I know the database is up. I know the user_sdo_cached_maps is configured, the data is there and the schema is set up. I have the datasource configured in my mapViewerConfig.xml and I have tried to manually create a datasource.
When I do it manually I get ...
...so I log in to OAS and do a good faith restart of mapviewer so I can test it one more time and fill in the error message, which was MAPVIEWER 0000011 or something, and boom there are my tile layers.
I have no idea what I did. I swear I've restarted mapviewer several times during this process and have no idea why now my tiles are there.
This morning I changed my logging level and did a save & restart option from the mapviewer console but only when I bounced the application server did these finally show up.
One thing that did happen to me during set up was my default tilecache path didn't exist. Perhaps that was the problem? I doubt just turning on loging would "fix" anything. Is restarting the application container for mapserver different than "save & restart" from the mapviewer management console?
Anyhow I'm happy to have tiled maps working :) -
Running AOS demo problems. Please help...
I have installed OAS 4 on my win nt 4.0 with iexplore 4 (5 won't
work by the way) and install the demo applications, but when I
run it, it does not output anything from the Oracle database.
Is there any bug that I should know, or any cartrix that I have
to add before running the demo? Thanks for any help.
nullIE4.0 does not support XML as it is. You'll need to add XML Parser to IE4.0. It was available from MS site.
I have IE5.0 working with NT4.0 SP5 and with OAS4.0 so it does work.
If you're trying to use XSQL servlet, IIS4.0 does not support JDBC. You'll need to add some software like JRUN.
null -
Problems running project in OPM 10.2 that was created in OPM 10.1
Hi,
I have a project created in OPM 10.1.0.27 and when I open it in OPM 10.2.0.110 I get the following message:
"Your project is version 10.1.0.27 and needs to be upgraded to the latest version.
A backup folder named 'Development 10.1.0.27-1' will be created for rollback and for reverting to the old version."
I click "Continue" and the project is upgraded. However when I choose to "Build and Run..." with Web Determinations I get
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet WebDeterminationsServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Unknown Source)
root cause
com.oracle.determinations.interview.engine.exceptions.RulebaseLoadingException: could not load rulebase: Capgemini presentation Arbetsförmedlingen 2
com.oracle.determinations.interview.engine.InterviewRulebase.getRulebase(InterviewRulebase.java:177)
com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:95)
com.oracle.determinations.interview.engine.plugins.rulebaseservice.InterviewRulebaseService.getInstance(InterviewRulebaseService.java:55)
com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:94)
com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:40)
com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:173)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:104)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Unknown Source)
root cause
java.io.IOException: Caught exception class javax.xml.stream.XMLStreamException: Unexpected schema version in screens file: 5
com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:260)
com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:139)
com.oracle.determinations.engine.local.CachingRulebaseLoader.loadRulebase(CachingRulebaseLoader.java:282)
com.oracle.determinations.engine.local.LocalEngine.getRulebase(LocalEngine.java:195)
com.oracle.determinations.interview.engine.InterviewRulebase.getRulebase(InterviewRulebase.java:165)
com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:95)
com.oracle.determinations.interview.engine.plugins.rulebaseservice.InterviewRulebaseService.getInstance(InterviewRulebaseService.java:55)
com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:94)
com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:40)
com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:173)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:104)
com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.31 logs.
Apache Tomcat/5.5.31
Thanks
JussiThe Web Determinations folder created when you use "build and debug with screens" is not upgraded automatically because it is virtually impossible for us to upgrade any customisations you may have made to that folder.
However, if you haven't made any such customisations then you can just check the "replace deployed version of web determinations" box to fix this problem. -
Problems running servlet due to missing classes?
Hi everyone,
I am doing a project which requires me to convert a java coding into a servlet. This java coding I am working on is some kind of location based service which tracks people (receiving an argument of a string as IP). It imports an external SDK called Ekahau SDK (some off the shelve product). Now I wish to convert it into a servlet so that the function that the java coding performs can be run from a webpage i created.
I have previously posted a thread on this forum called "Converting java coding into servlets?" when I had trouble compiling the servlet. Now that I could compile the servlet already, I still have problems running the servlet from my browser.
The webserver I am using is Apache Tomcat. Previously I was trying Apache HTTP server but since now I need to use servlet, I have shifted to Tomcat instead. I have been getting these "java.lang.NoClassDefFoundError:" when running the servlet from the browser. From the previous thread, I got suggestions from the replies saying that I need to put the jar files I need into my "C:\Tomcat\webapps\try\WEB-INF\lib" directory. I have been looking for the missing jar files from the internet and putting them into my "C:\Tomcat\webapps\try\WEB-INF\lib", but each time after adding a new jar file, I get another new "java.lang.NoClassDefFoundError:". Are the missing jar files really the problems? Cause it seems a bit weird to me that I need some many jar files which I dont even know why I need them for.
The HTTP status 500 error look like this:
description
The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError: org/apache/excalibur/configuration/CascadingConfiguration
com.ekahau.G.N.A(Unknown Source)
com.ekahau.G.N.<init>(Unknown Source)
com.ekahau.sdk.imp.yax.D.<init>(Unknown Source)
com.ekahau.sdk.imp.yax.E.connect(Unknown Source)
com.ekahau.sdk.PositioningEngine.connect(Unknown Source)
coreservlets.testing.find(testing.java:75)
coreservlets.testing.doGet(testing.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Here are the series of jar files I have been looking from the internet to add them into my "C:\Tomcat\webapps\try\WEB-INF\lib" directory:
1) org/apache/commons/collections/Closure
2) org/apache/log4j/Logger
3) org/apache/commons/lang/Validate
4) org/apache/excalibur/configuration/CascadingConfiguration
Please help~~ Thanks a lot.
My servlet coding is like this:
package coreservlets;
import java.io.*;
import java.util.*;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.ekahau.sdk.*;
public class testing extends HttpServlet
String ipAddress;
int result;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ipAddress = request.getParameter("deviceIP");
try
result = find();
catch (IOException e)
System.out.println("Error..." + e.toString());
catch (EngineException e)
System.out.println("Error..." + e.toString());
response.setContentType("text/html");
PrintWriter write = response.getWriter();
write.println("<HTML>\n" +
"<HEAD><TITLE>Tryget</TITLE></HEAD>\n" +
"<BODY BGCOLOR=\"#FDF5E6\">\n" +
result +
"</BODY></HTML>");
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet(request, response);
public int find() throws EngineException, IOException
PositioningEngine.connect();
// Find the given device:
Device[] devices = PositioningEngine.findDevice("NETWORK.IP-ADDRESS", ipAddress);
if (devices.length == 0)
System.err.println("Device with IP address " + ipAddress + " not found.");
PositioningEngine.disconnect();
return 0;
else
TrackedDevice device = new TrackedDevice(devices[0]);
// Create a simple handler for locations for one-time usage:
LocationEstimateListener estimateListener = new LocationEstimateListener()
public void handleLocationEstimate(LocationEstimate locationEstimate, TrackedDevice device)
// Change getLatestLocation to getAccurateLocation if you want
// a bit more accurate but a few seconds delayed location.
Location loc = locationEstimate.getLatestLocation();
final double coX = loc.getX();
final double coY = loc.getY();
try{
FileWriter file = new FileWriter ("C:\\Documents and Settings\\xamule\\Desktop\\Testing\\output\\output.txt");
String x = Double.toString(coX);
String y = Double.toString(coY);
String coor = x + "\t" + y;
file.write(coor);
file.close();
catch (IOException e){
System.out.println("Error..." + e.toString());
StatusListener statusListener = new StatusListener()
public void handleStatus(Status status, TrackedDevice device)
System.err.println(new Date()+"\tStatus for device: " + status);
// Add listeners and start tracking
device.addLocationEstimateListener(estimateListener);
device.addStatusListener(statusListener);
device.setTrackingParameter("EPE.LOCATION_UPDATE_INTERVAL","6000");
device.setTracking(true);
// Wait until user inputs something. When he/she does, stop tracking and quit application
//BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
//in.readLine();
// Stop tracking and disconnect from the positioning engine:
device.setTracking(false);
PositioningEngine.disconnect();
return 1;
}Well, it's kind of logical that as you put more jar files (classes) in Tomcat, it changes the error to ask for the classes (inside a jar) it cannot find.
There was a good class->jar finder on the internet some years ago, but i don't remember the address. Try looking for that and search all the missing classes (NotDefined) and their correspondig jar files.
Good Luck! -
When I run any given demo files I get the following error.
Exception in thread "main" java.lang.NoClassDefFoundError: msgsendsample
These are the commands I run in the command line.
set CLASSPATH=%CLASSPATH%;C:\Program Files\javamail-1.3.2\mail.jar
set CLASSPATH=%CLASSPATH%;C:\Program Files\javamail-1.3.2\jaf-1.0.2\activation.jar
javac msgsendsample.java
java msgsendsample <to> <from> <host> true
Exception in thread "main" java.lang.NoClassDefFoundError: msgsendsample
This program cmpliles properly but I get this error when I try to run it.
I have passed the commandline arguments correctly.
Pleas help me telling the correct way to run this.
Thanks.I have a large problem using the demo...
Java version "1.4.2"
javamail-1_3_2-src-jrl.zip
jaf-1_0_2-upd2.zip
java.lang.NoClassDefFoundError
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.LinkageError.<init>(LinkageError.java:26)
at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:30)
at java.lang.ClassLoader.defineClass(ClassLoader.java:568)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:168)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:312)
at java.net.URLClassLoader.access$300(URLClassLoader.java:85)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:636)
at java.net.URLClassLoader.findClass(URLClassLoader.java:221)
at java.lang.ClassLoader.loadClass(ClassLoader.java:320)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:333)
Does this mean I do not know what I'm doing here! :> -
Error 201 when trying to run the demos !! HELP !!
Hello, we are just trying to run the demos provided in the ZIP file that comes with the XDK version for Solaris 9i and we are having problems apparently with the encoding thing.
I dont really have a clue how to make it run or provide the right encoding parameter. I have attempted to use every single parameter, UTF-8, ISO, ASCII, etc
anyone had this problem at the very beginning?? or know how to solve it?? we r just beginner trying a start jump in XML and all this parser matter.
thanks a lot. Verde.Please refer to:
http://technet.oracle.com:89/ubb/Forum11/HTML/004973.html -
How run SQLJ DEMO code on JDeveloper 3.0?
I have problem runing the DEMO SQLJ codes. The codes come with the Oracle 8i for NT. I rtried to run them on Jdeveloper3.0 using JDK1.2.
I opened an empty project, and set the source path, out directory, and html path to oracle8i/sqlj/demo, which is the directory of all the demo codes. I also added the SQLJRUNTIME libraries to this project.
After I opened the SQLJ file into the project, I could run the file. I could also see that all the *.java, *.class, and *.ser files were created in the same directory. I assume that the SQLJ translator works. However, I got this error message instead of the results:
Error running the example: java.sql.SQLException: profile ExprDemo_SJProfile0 not found: java.io.InvalidClassException: [Ljava.lang.Object;; Serialization incompatible with Externalization
I am learning sqlj and JDeveloper. I appreciate any help.
Thanks.
PamPam,
(from the Release notes)
Using SQLJ under JDK 1.2
The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2.
There are some more useful tips in the release notes. I'd recommend checking them out.
Also, as an FYI: The 8.1.5 JDBC and SQLJ samples can also be found under <jdev>/jdbc/samples and <jdev>/sqlj/demo respectively.
Regards,
Arun -
X crash/exit: fullscreen YouTube, run xscreensaver-demo, armagetronad
X immediately crashes and exits whenever I try fullscreening a YouTube video, running xscreensaver-demo or the game armagetronad.
Hardware:
Integrated Graphics Chipset: Intel(R) 845G
Driver:
xf86-video-intel-2.12.0-1
Could someone help me troubleshoot?The thing is, my computer is a Dell Dimension 2400 with a Pentium4 2.66GHz and 1278724 kB of RAM. I have a triple boot set up with XP, Archlinux and Ubuntu Lucid on it and I have no problems running YouTube in fullscreen or running xscreensaver-demo or playing Armagetronad in Ubuntu and have no problems in XP either, so it's definitely not a hardware issue.
Here is an excerpt of Xorg messages every time I xinit.
X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-ARCH i686
Current Operating System: Linux <host> 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 16:22:18 UTC 2010 i686
Build Date: 21 June 2010 11:54:27AM
Current version of pixman: 0.18.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 13 13:27:43 2010
(==) Using config directory: "/etc/X11/xorg.conf.d"
xmodmap: unable to open file '/home/<user>/.Xmodmap' for reading
xmodmap: 1 error encountered, aborting.
Logging to: /home/<user>/.fluxbox/log
intel_bufmgr_gem.c:1088: Error setting domain 2: Input/output error
(EE) intel(0): Detected a hung GPU, disabling acceleration. -
Tomcat : Hlow to run more than 1 instance of tomcat server on same machine?
Hi,
How to run more than 1 instance of tomcat server on the same machine.
I use tomcat 5.5. ,updated port number for second instance and tried to run,it takes the same old port number .No batch file available with this version to update the home directory to second instance to run the second server..
How to work on clustering and load balancing on tomcat server?
Any inputs?
Thanks in advance..
AniAnitha123 wrote:
We have only 1 dedicated server maintained by third party for hosting..
If are only getting your site hosted, then, normally, the host would handle clustering (to your sepcifications, of course, but it is normally the hosts responsibility).
If i need to implement clustering and load balancing for tomcat server then do we need to go for 2 different servers for production environment?
Yes, you would need two, or more, servers.
Also please guide me on how to implement clustering and load balancing for tomcat server by running 2 instances on 2 different machine? I'm a newbie to it..
It should have no (or at least minimal) impact on the code (as long as you are using beans, sessions, and the other components properly). It is handled by the web container (by the tomcat in this case). The tomcat documentation should show how to set it up (if it supports it all, I don't know, we don't have Tomcat at work, and at home I use only a single).
Maybe you are looking for
-
HP LaserJet Pro 200 color MFP M276 - new - Device error and Cleaning cycle issues
HP LaserJet Pro 200 color MFP M276 - this is a new printer a friend purchased at Staples. It connects WiFi okay and prints when prompted to but it then does a "Cleaning" cycle after every print job. It also displays "Device Error" at the same time. I
-
ipod nano 7th generation will not sysc with i tunes is updated , device does not show up in itunes under devices but shows itself in explorer.ran diagnostics failed sync. about ready to take this back to best buy.
-
The backup was not performed because an error occured while copying files to the backup disk
I continually see the error message "The backup was not performed because an error occured while copying files to the backup disk" when my time capsule attempts to backup. I have been receiving this message since 14/08/13. I have attempted to locate
-
IOS Developer Program - where are the options?
Hi i have a very huge problem. I pay for Developer Program so when I acces to the iOS Developer Program Link specifically to that Certificates, Identifiers & Profiles dont see the options here screenshots please some help. sorry for my english i live
-
Itunes locks up when trying to import CD
My itunes software locks up when trying to import a CD. Specifically, it will import 1 full CD then lock up when trying to access the artwork. I went into "properties" and stopped the software from looking for artwork, rebooted the machine and was ab