ClassNotFoundException in servlet
I'm trying to connect to a database using driver com.mysql.jdbc.Driver, but I get a ClassNotFoundException when accessing the servlet. I wrote a program and using the same driver I could access the DB. Why can't the servlet find the driver?
I'm using Tomcat 6.0
you know that you are on a j2me forum and not a jdbc forum...
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
Similar Messages
-
ClassNotFoundException: weblogic.servlet.WlwJSPServlet
This error i am getting when i am trying to deploy my application on clustered environment.
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:185)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
You could either change to reference in weblogic.xml to
"weblogic.serlet.JSPServlet"
or
add ensure that the serverclasspath includes jars used to start the workshop
server i.e knex.jar/wlw-lang.jar/javelin.jar/debugging.jar/log4j.jar
--Nagesh
"Atul" <[email protected]> wrote in message
news:3fe9729f$[email protected]..
> This error i am getting when i am trying to deploy my application on
clustered environment.
>
> jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could
not
> be loaded.
> java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
> at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:185)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
-
In JSF2, writing facelets I tried to use <ui:repeat> tag instead of <c:forEach> - JSTL tag.
I get -> java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTagStatus
Here is my facelet snippet ...
<ui:repeat value="#{historyCenterManagedBean.purchases}" var="order" >
<tr>
<td>
#{order.totalPriceBeforeDiscounts}:
</td>
<td>
#{order.person.firstname}
</td>
</tr>
</ui:repeat>I am not sure why am I getting it. Any help is appreciated.Hmm, Thanks Ryan. I am still confused.
I am not clearly understanding why would c:forEach fail? And this is happening after the nightly build jar of 20091216
for example this is we have:
<c:forEach var="partner" items="#{contentPartnersManagedBean.allAuthorizedContentPartners}" >
<tr>
<td><a href="#{contextPathManagedBean.contextPath}/about_us/providers_detail.jsf?pID=${partner.partnerId}"
class="# {portalSkinManagedBean.contentPortletSkin.normalTextStyle}">${partner.partnerName}
</a>
</td>
</tr>
</c:forEach>This is the exception:
javax.servlet.ServletException: javax/servlet/jsp/jstl/core/LoopTagStatus
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.legaledcenter.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:250)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.jscape.framework.galileo.support.upload.UploadFilter.doFilter(UploadFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.faces.view.facelets.FaceletException: javax/servlet/jsp/jstl/core/LoopTagStatus
at com.sun.faces.facelets.tag.AbstractTagLibrary$UserComponentHandlerFactory.createHandler(AbstractTagLibrary.java:303)
at com.sun.faces.facelets.tag.AbstractTagLibrary.createTagHandler(AbstractTagLibrary.java:672)
at com.sun.faces.facelets.tag.CompositeTagLibrary.createTagHandler(CompositeTagLibrary.java:177)
at com.sun.faces.facelets.compiler.TagUnit.createFaceletHandler(TagUnit.java:113)
at com.sun.faces.facelets.compiler.CompilationUnit.getNextFaceletHandler(CompilationUnit.java:108)Thanks for responding. -
ClassNotFoundException: weblogic.servlet.http.AbstractAsyncServlet
Using:
Eclipse Kepler
Geronimo-3.0.1
[oracle.essentials-client_12.1.2]
-adf-richclient-api-11.jar
-adf-richclient-impl-11.jar
[trinidad-2.0.1]
-trinidad-api.jar
-trinidad-impl.jar
I recently converted my working trinidad project to adf-faces. Now when I include the two adf-richclient libraries to my project and deploy it, I see the errors below. I have even searched in the two libraries where AbstractAsyncServlet might have been referenced, but could not find any. I am also not using any weblogic classes nor AbstractAsyncServlet nor webservice in my project. Please someone help. Do I need additional library which contains AbstractAsyncServlet?
Thanks.
java.lang.NoClassDefFoundError: weblogic/servlet/http/AbstractAsyncServlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at org.apache.geronimo.hook.equinox.GeronimoClassLoader.defineClass(GeronimoClassLoader.java:213)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458)
Caused by: java.lang.ClassNotFoundException: weblogic.servlet.http.AbstractAsyncServlet
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(GeronimoClassLoader.java:85)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)Did some test on glassfish4, but got the same problem although unlike in apache geronimo, it is classified as WARNING
[2013-08-16T17:26:23.088+0100] [glassfish 4.0] [WARNING] [] [javax.enterprise.system.tools.deployment.dol] [tid: _ThreadID=34 _ThreadName=admin-listener(3)] [timeMillis: 1376670383088] [levelValue: 900] [[
AS-DEPLOYMENT-00011
java.lang.NoClassDefFoundError: weblogic/servlet/http/AbstractAsyncServlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:803)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:297)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:585)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:462)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:446)
at org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:338)
at org.glassfish.web.deployment.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:91)
at com.sun.enterprise.deployment.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:420)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:396)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:271)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:280)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:611)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:229)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:232)
at org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:188)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:222)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:96)
at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:878)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:818)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:374)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:356)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:235)
at org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:257)
at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:91)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:346)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:341)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:224)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:198)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:946)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:331)
at org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:318)
at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:181)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.ClassNotFoundException: weblogic.servlet.http.AbstractAsyncServlet
at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:835)
at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:744)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 80 more -
hi all, it seems that there is not any error in classpath but while deploying the application it says:classnot found exception:weblogic.servlet.internal.session.WebLogicSPIFactory. i have a shared library for this WebLogicSPIFactory class.moreover i added the jar that contains this class into the classpath but it still says "class not found exception"
please help.Hiya,
Did you manage to fix this problem. I read somwhere is actually a bug in weblogic 610sp2 but 610sp3 has a fix for it. Please confirm. -
Error loading weblogic.servlet.WlwJSPServlet
Hello
Has anyone encountered the following exception in workshop when adding a process
or web project while the server is running.
Exception:weblogic.management.ApplicationException: prepare failed for Untitled
Module: Untitled Error: Could not load Untitled: weblogic.managem
ent.DeploymentException: [HTTP:101283]ServletContext(id=15265733,name=Untitled,c
ontext-path=/Untitled): jspServlet "weblogic.servlet.WlwJSPServlet" defined in
w
eblogic.xml could not be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
I did not use any of the predefined domains, so is it possible that I am missing
something while configuring my own.
ThanksProbably. You need a Workshop-enabled domain to run webapps from
Workshop. I know that weblogic.servlet.WlwJSPServlet is in
server/lib/knex.jar, but I'm not sure what other jars are required in
the system classpath.
You'll either want to use a Workshop domain from the Config Wizard, or
generate a Workshop domain from the Config Wizard and see what the
system classpath is for the server and use that in your startup script.
For processes to work, you need an Integration domain and its system
classpath.
Greg
Mike G wrote:
Hello
Has anyone encountered the following exception in workshop when adding a process
or web project while the server is running.
Exception:weblogic.management.ApplicationException: prepare failed for Untitled
Module: Untitled Error: Could not load Untitled: weblogic.managem
ent.DeploymentException: [HTTP:101283]ServletContext(id=15265733,name=Untitled,c
ontext-path=/Untitled): jspServlet "weblogic.servlet.WlwJSPServlet" defined in
w
eblogic.xml could not be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
I did not use any of the predefined domains, so is it possible that I am missing
something while configuring my own.
Thanks -
Getting java.io.IOException: Too many open files+ClassNotFoundException
Dear All
We have a web application deployed on Rational Application Developer 6.0 (Operating System is Windows 2000 professional) our users are randomly getting java.io.IOException: Too many open files+ClassNotFoundException when they click on some servlet or jsp link, but they are getting this error randomly for example when they click some link they may get these exceptions but refreshing page or clicking once again on same link executes servlet successfully.If anyone could help on this topic we will be grateful
ThanksI think this these two exceptions are occuring in differrent environment
java.io.IOException is occuring under heavy load to web server its stack trace is as follows:
JSPG0225E: An error occurred at line: 2 in the statically included file: /SessionCheck.jsp
JSPG0093E: Generated servlet error from file: /Admin/AdminInsuranceCertificates.jsp
E:\WebSphere_6\AppServer\profiles\AUSECert\temp\centraNode04\server1\AUSECert\Vero.war\Admin\_AdminInsuranceCertificates.java:259: cannot access com.bplus.natmar.LoginDetails
bad class file: E:\WebSphere_6\AppServer\java\jre\lib\core.jar(java/io/Writer.class)
unable to access file: E:\WebSphere_6\AppServer\profiles\AUSECert\installedApps\centraNode04Cell\AUSECert.ear\Vero.war\WEB-INF\classes\com\bplus\natmar\LoginDetails.class (Too many open files)
Please remove or make sure it appears in the correct subdirectory of the classpath.
(source unavailable)
1 error
]: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /Admin/AdminInsuranceCertificates.jsp failed to compile :
this error always occurs in reference to logindetails class this clas is used to make a session check on different roles in our project for e.g., user having end user role should not be able to log in as a user having admin role
we have included a sessioncheck.jsp in our every jsp page in this jsp we have simply used logindetails class as useBean and called its getresource() method
above stacktrace is from our live application server
while testing same project on our local system we are not getting too many open files exception but we are getting following ClassNotFoundException
[11/30/05 17:11:42:797 EST] 0000004a SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'mainEdit.jsp' and IsEndUser=1
[11/30/05 17:12:50:891 EST] 000001eb SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1
[11/30/05 17:17:40:828 EST] 0000008d SystemOut O AppURL is: http://www.VeroECert.com/Vero/indexU.jsp
[11/30/05 17:17:58:141 EST] 0000008b SystemOut O SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1
[11/30/05 17:20:41:703 EST] 00000034 ServletWrappe E SRVE0026E: [Servlet Error]-[com.servlet.UserHelpServlet]: java.lang.ClassNotFoundException: com.servlet.UserHelpServlet
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.beans.Beans.instantiate(Beans.java:202)
at java.beans.Beans.instantiate(Beans.java:63)
at com.ibm.ws.webcontainer.servlet.ServletWrapper$3.run(ServletWrapper.java:1384)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1312)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)
at com.ibm.ws.webcontainer.extension.InvokerExtensionProcessor.handleRequest(InvokerExtensionProcessor.java:238)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
this error is occuring on concurrent clicks suppose three users click on same button then it is possible that one user gets correct output while other users experience this exception
Also one more point we are not using web.xml for calling servlets we are directly calling it giving its full path.
Thanks -
Error running RetroGuard - ClassNotFoundException
Hi, I'm running RetroGuard on a jar file, and I get the following output:
# Unrecoverable error during obfuscation:
# java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet
java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at COM.rl.b.i.a(SourceFile:489)
at COM.rl.b.i.a(SourceFile:450)
at COM.rl.b.i.h(SourceFile:405)
at COM.rl.b.q$4.a(SourceFile:436)
at COM.rl.b.q.a(SourceFile:1073)
at COM.rl.b.q.a(SourceFile:1066)
at COM.rl.b.q.a(SourceFile:1058)
at COM.rl.b.q.a(SourceFile:1058)
at COM.rl.b.q.a(SourceFile:1045)
at COM.rl.b.q.do(SourceFile:435)
at COM.rl.b.c.for(SourceFile:663)
at COM.rl.b.c.a(SourceFile:345)
at COM.rl.b.k.a(SourceFile:173)
at COM.rl.b.k.a(SourceFile:133)
at COM.rl.b.k.a(SourceFile:120)
at RetroGuard.main(SourceFile:89)
Can anyone tell me how to solve this?
Thanks!Looks like something uses reflection to load a class by name, and that this mechanism blew up when the obfuscator renamed the original class to something else.
Obfuscartors and reflection don't mix, besides, there is usually no real point in obfuscating a web app. -
Jsf web project is not working in eclipse ConfigureListener
Hi, I created a dynamic web project in eclipse with tomcat server, I also referenced the jsf jar files, besides the web.xml files contains <listener-class>com.sun.faces.config.ConfigureListener</listener-class>; even though when I run the web project or the jsp file, it appears with the following error:
Estado HTTP 404 - /ejmweb6/start.jsp
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
25-abr-2010 22:46:10 org.apache.catalina.core.StandardContext listenerStart
Error configuring class listener com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener
java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletRequestListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
Can you help me with problem? please
Regards
CarlosThat class should be provided by the application server. Double check that the version of Tomcat you have supports servlet 2.4. Also check there are no bug reports against it for this error.
-
Hi,
I have an EAR file that works fine in jboss 4.2.3 but i'm experiencing the following when trying to access the web app in Weblogic 10.3.2 (also on 10.0):
Caused by: org.apache.tiles.util.TilesIOException: ServletException including path '/jsp/layouts/ModulesGeneralLayout.jsp'.
at org.apache.tiles.servlet.context.ServletTilesRequestContext.wrapServletException(ServletTilesRequestContext.java:298)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:200)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:179)
at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildView(JspTilesTwoViewHandlerImpl.java:450)
at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildTilesViewLikeContainer(JspTilesTwoViewHandlerImpl.java:354)
... 37 more
Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:108)
at jsp_servlet._jsp._layouts.__modulesgenerallayout._jspService(__modulesgenerallayout.java:146)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
... 40 more
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 52 more
EAR contains a web application that uses myfaces (1.2) and tiles (2.0).
Tried to use with jstl 1.2 / jsf 1.2 deployed as shared library and to reference it from EAR/web-app but
getting the same exception.
When trying to add the jstl jar manually to the classpath I'm getting a ClassCastException : java.lang.String
originating from the jsp file.
Any ideas ??Tried adding the following to weblogic-application.xml
<library-ref>
<library-name>jstl</library-name>
<specification-version>1.2</specification-version>
<exact-match>true</exact-match>
</library-ref>
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
<exact-match>true</exact-match>
</library-ref>
<prefer-application-packages>
<package-name>javax.faces.*</package-name>
<package-name>org.apache.myfaces.*</package-name>
</prefer-application-packages>
and to weblogic.xml
<prefer-web-inf-classes>true</prefer-web-inf-classes>
but still getting the same
java.lang.ClassNotFoundException - javax.servlet.jsp.jstl.core.Config. -
Problem while deploying a WLW ear file on a WL81 production server
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]Looks like Raj has responded to this thread in the Workshop newsgroup:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
"Yves Léauté" wrote:
>
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet] -
Error While adding JSTL support in JDev 11g
Hi ,
Continuing on my Spring tutorial on http://static.springsource.org/docs/Spring-MVC-step-by-step/
I have added JSTL support in my application. Getting below error:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
at org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:97)
at org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:133)
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
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:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 27 more
But I have added jstl.jar and standard.jar at both places 1) Tools-> Manage Libraries. Also Deploy by Default is checked. and 2)Application->Project Properties->classpath and libraries and Then I have added individual jars . Also I have added jar directory to be doubly sure. But still the same error.......
Please anyone help......Hi ,
I tried whatever is there in the link and got below error:
<31 Oct, 2011 12:24:49 AM IST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Users\Nano\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\springapp/META-INF/weblogic-application.xml of module springapp. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:329)
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
.>
<31 Oct, 2011 12:24:49 AM IST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean springapp. Error - weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>.
weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
Truncated. see log file for complete stacktrace
>
<31 Oct, 2011 12:24:49 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320000889396' for task '8'. Error is: 'weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>'
weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
Truncated. see log file for complete stacktrace
>
<31 Oct, 2011 12:24:49 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springapp'.>
<31 Oct, 2011 12:24:49 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
problem: cvc-complex-type.2.4a: Expected elements 'library-ref@http://xmlns.oracle.com/weblogic/weblogic-application fair-share-request@http://xmlns.oracle.com/weblogic/weblogic-application response-time-request@http://xmlns.oracle.com/weblogic/weblogic-application context-request@http://xmlns.oracle.com/weblogic/weblogic-application max-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application min-threads-constraint@http://xmlns.oracle.com/weblogic/weblogic-application capacity@http://xmlns.oracle.com/weblogic/weblogic-application work-manager@http://xmlns.oracle.com/weblogic/weblogic-application component-factory-class-name@http://xmlns.oracle.com/weblogic/weblogic-application application-admin-mode-trigger@http://xmlns.oracle.com/weblogic/weblogic-application session-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application library-context-root-override@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-packages@http://xmlns.oracle.com/weblogic/weblogic-application prefer-application-resources@http://xmlns.oracle.com/weblogic/weblogic-application fast-swap@http://xmlns.oracle.com/weblogic/weblogic-application coherence-cluster-ref@http://xmlns.oracle.com/weblogic/weblogic-application' instead of 'container-descriptor@http://xmlns.oracle.com/weblogic/weblogic-application' here in element weblogic-application@http://xmlns.oracle.com/weblogic/weblogic-application:<null>
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
Truncated. see log file for complete stacktrace
>
[12:24:49 AM] #### Deployment incomplete. ####
[12:24:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application springapp due to error deploying to IntegratedWebLogicServer.
[Application springapp stopped and undeployed from Server Instance IntegratedWebLogicServer]
Also according to the link in step 6, I need to modify weblogic.xml to add given entries. So I add the required lines in weblogic.xml found at C:\Users\Nano\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\springapp\NewProjWebApp.war\WEB-INF
But when I try to run application, my changes are overwritten and it again contains whatever it had before my changes.
Can you please tell me am I editing the right file and why its contents are overwritten? -
Error view help......
I have the following problem in weblogic 10.3.2.
when I connect to the administrative server, and try to view help within the "How Do I. ..", I get the following error:
Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport] was thrown while rendering the content at [jsp/TOCView.jsp].
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:67)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:531)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
Truncated. see log file for complete stacktrace
in the classpath are loaded libs weblogic.jar & weblogic_sp.jar.
someone is because the error occurs?
thanks.I have the following problem in weblogic 10.3.2.
when I connect to the administrative server, and try to view help within the "How Do I. ..", I get the following error:
Error> <netuix> <BEA-423405> <An exception [java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport] was thrown while rendering the content at [jsp/TOCView.jsp].
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:67)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:531)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/BodyTagSupport
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
Truncated. see log file for complete stacktrace
in the classpath are loaded libs weblogic.jar & weblogic_sp.jar.
someone is because the error occurs?
thanks. -
Unable to deploy on Server domain...
Hello,
I am totally new to the WebLogic Workshop 8.1 I have done all the tutorials of
BEA WebLogic.
I am stuck at this problem.
I have created a simple application, which uses Java Control, WebService and Page
Flows. I create the EAR file. When I try to deploy it on the Server Domain, it
gives the following error...
Creation of JMS queues failed, probably because your server is not Workshop enabled.
Would you like to view the help topic on how to enable an existing WebLogic Server
domain.
But the thing is that I have not created any JMS queues or have written any code/control
that needs one. The Java Control only has a WebService Control.
Why do I need a Workshop domain, can I not just deploy on Server domain?
If I still try to deploy on the Server Domain, it gives the following error...
<Jun 15, 2004 11:16:40 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were
detected while initiating Deploy task for application AddressChange.>
<Jun 15, 2004 11:16:40 AM PDT> <Error> <Deployer> <BEA-149201> <Failed to comple
te the deployment task with ID 0 for the application AddressChange.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for AddressCh
angeWebService
Module: AddressChangeWebService Error: Could not load AddressChangeWebSe
rvice: weblogic.management.DeploymentException: [HTTP:101283]ServletContext(id=2
3736437,name=AddressChangeWebService,context-path=/AddressChangeWebService): jsp
Servlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not be
lo
aded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:198)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Web
AppServletContext.java:2531)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
(WebAppServletContext.java:1885)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:565)
I would appreciate any help on this.
Regards,
VB.Hello,
I am totally new to the WebLogic Workshop 8.1 I have done all the tutorials of
BEA WebLogic.
I am stuck at this problem.
I have created a simple application, which uses Java Control, WebService and Page
Flows. I create the EAR file. When I try to deploy it on the Server Domain, it
gives the following error...
Creation of JMS queues failed, probably because your server is not Workshop enabled.
Would you like to view the help topic on how to enable an existing WebLogic Server
domain.
But the thing is that I have not created any JMS queues or have written any code/control
that needs one. The Java Control only has a WebService Control.
Why do I need a Workshop domain, can I not just deploy on Server domain?
If I still try to deploy on the Server Domain, it gives the following error...
<Jun 15, 2004 11:16:40 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were
detected while initiating Deploy task for application AddressChange.>
<Jun 15, 2004 11:16:40 AM PDT> <Error> <Deployer> <BEA-149201> <Failed to comple
te the deployment task with ID 0 for the application AddressChange.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for AddressCh
angeWebService
Module: AddressChangeWebService Error: Could not load AddressChangeWebSe
rvice: weblogic.management.DeploymentException: [HTTP:101283]ServletContext(id=2
3736437,name=AddressChangeWebService,context-path=/AddressChangeWebService): jsp
Servlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not be
lo
aded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:198)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Web
AppServletContext.java:2531)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors
(WebAppServletContext.java:1885)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:565)
I would appreciate any help on this.
Regards,
VB. -
Exceptions on deploying the war file
Hi,
On deploying my war file in Weblogic 10.3.4 I get the below Exceptions.
Could anybody tell the cause and the way to eliminate these?
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServlet
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.servlet.jsp.JSPBuildServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
[exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
[exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServletI faced the same problem once i remove the unused mapping tags from the web.xml file my problem is solved
ex: I have mapping for TestServlet but i dont have TestServlet class in application. So i removed the mapping tags for TestServlet . I am expecting that your problem also same.
Thanks
Nagendra
Maybe you are looking for
-
How do I make iPhone screen go to black?
I jog at night and use my iPhone as an mp3 player. Every time I change song lists or touch the screen, the display stays on for a long time before going black. I would like an icon on the homepage of my iPhone that will darken the screen upon touchin
-
Creating a File object in a JSP page
Hi, I am trying to create a File object in my JSP page by passing it a relative path. The jsp page is in 'website/testfolder/index.jsp' and the File is in 'website/photos/1.jpg'. In my jsp page i do the following: <% File f = new File("../photos/1.jp
-
IE 6.x / Win XP eTrus PROXY / Win XP AS 10g 9.0.4 / Linux Red Hat We are migrating from 6i to 9i. With the 6i (cgi) we no have connect problems through proxy, but with 9i, after the second call the error appear. We could run the first form/menu, but
-
OH NO....
i just went to download Itunes 7.7 and it completed so i clicked on the icon to finish the installation on the desktop and a message comes up that says this "The version of this file is not compatible with the version of windows you are running. Chec
-
Problem with creating order through order template
Hi experts, We have problem with creating order by order template. Extensions data available in order template is not sent to order. Extension data are showing upto order submission form. But after sucessful creation of order extension data are