Unknown deployment tag - web-app-class-loader
I can create the ear file with jdeveloper, but when deploy in 9iAs with the ear file, the next error apaers:
Deployment failed:
Unknown deployment tag in
orion-web.xml:
<web-app-class-loader>;
nested exception is:
java.lang.InstantiationException:
when deploy the system show the web module.
I have a CMP entity bean and too show in deploy.
I don't know wath can I do.
Please Help Me
Miguel Angel Caro
[email protected]
I manually hacked the EAR file generated by JDeveloper 10g and removed the offending tag from the orion-web.xml
After removing the tag I was able to deploy the EAR to 9iAS (9.0.2.3) but now I am getting runtime errors...
Anyone who has gone through this please let me know!
Thanks!
Similar Messages
-
Orion-web.xml -- web-app-class-loader
Hi all, I posted this in the jDeveloper section and someone suggested that I ask you guys what the importance of the orion-web.xml file is. Currently my files looks like ...
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
<orion-web-app servlet-webdir="/servlet/">
</orion-web-app>
But it keeps adding the line that I mention below...
I have a system that consists of multiple projects. When I deploy all projects they all work fine except for one. We discovered that this is due to the following line in the orion-web.xml file in that project ....
<web-app-class-loader search-local-classes-first="true"/>
I removed that line and everything is now fine. However, whenever I open up the application in jDev is puts that line back (even if I don't make changes).
Is there a setting somewhere that is forcing this line to be put there and, if so, why? And how do I switch it off?
Thanks,
RussellHey Steve,
I must admit that this post confused me a bit.
I can find no deployment plan editor. We have a WAR Deployment Profile, an EAR Deployment Profile and an EJB JAR Deplyment Profile.
I use the debug functionality (using the embedded OC4J) to test the application locally during development and then deply the EAR Deployment Profile to an EAR file which then gets deployed using an Application Server.
Further to this I have tried deleting the file (from everywhere), changing the EAR Deployment Properties and even changing the code within the ORION-WEB.XML to say <web-app-class-loader search-local-classes-first="false"/> all to no avail.
If I remove the file completed, it add its back when I reopen the project. If I change it to false, it changes it back to True.
Very confused I must admit.
Thanks,
Russell -
Error while deploying app - matching end-tag " /web-app "??
Hi,
I am trying to deploy my ear file to Weblogic app server 8.1 through the console. On deploying, it gives me the foll. error message:
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 0
Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application, <b>org.xml.sax.SAXParseException:
The element type "web-app" must be terminated by the matching end-tag "</web-app>".</b>
at weblogic.apache.xerces.parsers.DOMParser.parse(Lorg.xml.sax.InputSource)(DOMParser.java:271)
But my web.xml file has the element tag web-app properly ended. I don't see any problem with the web.xml file. Can anyone please tell me what could be the problem here.
Thanks,
SPHi,
Will you type all the elements in the some other notepad which were in web.xml file ,delete the old web.xml file and save the file as web.xml and try to deploy the application again ?
Note:If you feel that no errors in web.xml file ,Open the web.xml file in Internet Explorer then it will show the errors if you hava any.
With Regards
Anilkumar kari -
Error auto-deploying a Web App (.WAR file)
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WAR file
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. Originally I was building
the WAR file right in the ../applications directory, so I thought that might be
an issue. So, I started building the WAR file in a staging directory and copying
it into ../applications. No luck. Next, I tried deleting the original WAR file
from ../applications, and THEN copying the new one over from the staging directory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
environment is on a network share, and it's from there that I'm copying the WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not, it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)Michael,
This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
working properly, developers are spending alot of time waiting for WebLogic to restart.
HELP!!! we need this fixed.
I see the EXACT same stack trace (ERROR).
Tom Markel
Sr. Java Engineer
Michael Young <[email protected]> wrote:
Hi.
This may be a known issue that was addressed in sp2. If you are not already
at that sp level I suggest you upgrade.
Regards,
Michael
David Ventimiglia wrote:
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WARfile
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. OriginallyI was building
the WAR file right in the ../applications directory, so I thought thatmight be
an issue. So, I started building the WAR file in a staging directoryand copying
it into ../applications. No luck. Next, I tried deleting the originalWAR file
from ../applications, and THEN copying the new one over from the stagingdirectory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
environment is on a network share, and it's from there that I'm copyingthe WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not,it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
Michael Young
Developer Relations Engineer
BEA Support -
Deploying a web app under 9.2
Hello,
I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
Thanks
sl
javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:163)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:174)
at weblogic.appc.main(appc.java:14)
Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
at weblogic.xml.babel.scanner.Name.read(Name.java:33)
at weblogic.xml.babel.scanner.Name.read(Name.java:20)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
... 27 moreI have created a web application and have a jsp host.
I have 2 questions:
1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
>
2-I also want to add a tomcat realm and have been
told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
are these found on the host??
please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
% -
OC4J shuts down servlet in web-app A during deployment of web-app B ?!
Hey all,
We have a web-app A deployed to OAS 10g that contains a servlet with <load-on-startup> set to 2.
This servlet loads fine when the app is deployed.
However, when we deploy web-app B to our server, we notice in the logs that the destroy() method on the above servlet is invoked in web-app A! After web-app B is finished deploying, the init() method on the above servlet in web-app A is fired again.
What's going on?
Thanks.I have posted this on the JDeveloper forum and been pointed in the direction of this discussion as it seems I am experiencing the same problem.....
I currently have an instance of the OC4J 10.1.2 standalone (current production version) server running, and am deploying 5 servlets to the same server. Once they are all deployed they all run fine without any problems at all.
However, if I need/want to make an update to one of these 5 servlets and then redploy it the server, the server effectively restarts terminating any open sessions that users may have on any of the other four servlets as well (i.e. users are forced to login again to the particular servlet they are using).
Is this a bug in the OC4J 10.1.2 standalone (current production version) server? or have I not set something in the deployment profile for each of these servlets/applications to prevent this from happening?
All advice/suggestions would be gratefully appreciated as soon as possible.
Thanks in advance
David -
Deploying JSC Web App to SJSAS9
Hi there,
I have several web applications I've written in Netbeans, and they run on a SJSAS9 server. I've also written a JSC web app, and I would now like to deploy this onto the same SJSAS9 server that I've got my other web apps on.
It is certainly stated on several SUN sites that this can be done, here for instance:
http://docs.sun.com/app/docs/doc/819-3653/6n5s0v1qa?a=view
I've done this, and it works other than there is no database connectivity.
I have copied the adapter jar file, and the same jdbc jar files over to my server but no change. I can't find any meaningful error message in the logs... but when i used the EXPORT WAR file option I had to export to app server 8, because there is no option for 9. If I try registering my sjsas9 in JSC directly then it can't start or stop it...
thanks for any help.
RichardThanks, this helped me fix my problem. First I tried adding the _init method into prerender and that fixed the first problem. The next problem I had was that the Blueprint AJAX Components were throwing an exception (pasted below). I had no luck fixing this exception, so I downloaded, built and ran Glassfish V2 b09, and everything worked, finally :-)
To be honest this whole project I've been working on in JSC (latest final release) has been a nightmare of going from one bug to another. It has some great features but productivity wise I've lost an enormous amount of time. Every time I track down one problem/workaround, add a bit of functionality, it's another bug/workaround to find. Yeh I know I should be logging them all... I'd love to see it all hang together though, it would be so powerful. Unfortunately my company is currently reviewing IBM and Oracle's suite of Java products and I'm the one trying to persuade them to stay with the SUN tools - my job is getting harder.
FYI, this is the stack trace coming from the AJAX components in SJSAS9.
thanks
Richard
[#|2006-07-19T10:48:13.761+0100|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=12;_ThreadName=httpWorkerThread-8080-1;_RequestID=e1b326c6-f58a-4692-a1f7-ae17860d9bd6;|phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@340c9c) threw exception: javax.faces.el.EvaluationException: java.lang.NullPointerException java.lang.NullPointerException
com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
org.apache.shale.remoting.impl.MethodBindingProcessor.process(MethodBindingProcessor.java:74)
org.apache.shale.remoting.faces.RemotingPhaseListener.afterPhase(RemotingPhaseListener.java:102)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:287)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#] -
I have created a web application and have a jsp host. I have 2 questions:
1-How do I deploy to the host.
2-I also want to add a tomcat realm and have been told to edit the server.xml file and web.xml file are these found on the host??
please offer a confused guy some helpI have created a web application and have a jsp host.
I have 2 questions:
1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
>
2-I also want to add a tomcat realm and have been
told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
are these found on the host??
please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
% -
Deploying Existing Web App With New JWS
Hi all,
I've been banging my head against a brick wall for a few days on this, but I'm sure it must be something trivial. Hopefully someone here will have some advice...
In a nutshell, I'm working on an existing web application, running on Weblogic 8.1, in a clustered environment. I've added a new JWS web service which is largely standalone, but it uses controls from elsewhere in the application.
Locally, on my development box, it works perfectly - I can run it from Weblogic Workshop, and see the handy test form to run the web service, as well as seeing the WSDL by pointing my browser at http://localhost:7001/app/path/Service.jws?WSDL
However, I've now built the EAR for the whole application, and deployed it to our test environment (clustered - a mirror (hopefully!) of the production environment).
When I go to http://test-box:7002/app/path/Service.jws?WSDL I see a nasty-looking error page that looks like:
WebService ERROR
Error:
null
Stack Trace:
null
When I try the same URL without the ?WSDL on the end (so just http://test-box:7002/app/path/Service.jws), I see the nice Weblogic Web Service page, showing that it knows there's something there, but it has no content, just the 'Overview' tab, followed by:
Public Information
about Service.jws Web Service
and that's it - locally I see the same thing, but with options for viewing the WSDL and testing the service.
I'm confident that the URL is correct, because if I put rubbish in, I get a different error message.
Reading around, I've found lots of resources for 'how to deploy a web service to a production environment' for Weblogic 7, but much less for 8.1. I've seen references to jwsCompile, for example, which I think is specific to 7, because I can't find any references to it in the 8.1 docs, but perhaps that's wrong?
I'm pretty sure there's a configuration setting I'm missing, or a step in the deployment, but I'm stuck as to what it is!
Any advice gratefully received.
Edit: I should have mentioned that there are two other JWS's in the same app, both of which have the same symptoms as my new one (they've been there for a while, but are unused).My gut reaction is that there might be an issue with the frontend settings not set up correctly, see 9.2 docs in lieu of 8.1 docs:
http://edocs.bea.com/wls/docs92/webserv/setenv.html#wp220521
You should also open a support case as they could probably identify your issue quickly. -
Deploying a web app with errors
Good day,
We are migrating an older application into a WebLogic Portal 10.2 environment. We have Ant scripts to do the deployment from the command line but we want to use the Workspace Studio capabilities to deploy JSP changes to the application. The problem is that the application was architected to dynamically include JSP fragments into other JSPs. These fragments have objects defined in other JSPs and therefore show up with errors in the problems tab in Eclipse.
Is there a way to force an application to deploy even in this case or do we have to keep deploying/redeploying from the command line? This takes much longer than pushing the single files so this is why we are trying to figure out how to do it within the tool.
Thanks,
SeanI have created a web application and have a jsp host.
I have 2 questions:
1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
>
2-I also want to add a tomcat realm and have been
told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
are these found on the host??
please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
% -
Deployment of web-app on 6.x/7.x servers
How can I setup my web-application to be deployable on WebLogic 6.1 as well
as on WebLogic 7.0? I'm asking that because in my "weblogic.xml" file
there's directive (DTD reference) saying that this file is dedicated for
WebLogic 6.1. I think that WebLogic 7.0 should accept older web-application
with directive for 6.1 but according to your expirience is there any bad
implications of that?Hi Jim,
I have the same problem:(
Do you have any solution?
Regards,
Metodi
"Jim Lomas" <[email protected]> wrote in message
news:3aaf7503$[email protected]..
>
This is the first time I've worked with WebLogic 6.0 sp1, therefore
this may be a fairly fundamental issue:
I have created a number of jsps and wish to run them as an application.
I have followed the instructions provided with WLS6.0 SP1 on writing
the deployment descriptor and deploying the archive but nothing
seems to work.
I don't do anything particularly complex, except require that a
couple of jar files are within the WEB-INF/lib directory. Owing
to that fact, the web.xml merely contains
<web-app></web-app> (i.e. it is empty)
Should it contain more than just this?
I deploy the war file that contains my JSPs and it is happily copied
to the .\config\mydomain\applications directory.
The Applications node in the administrator's console shows the
application is deployed, but there is nothing displayed in the
Web-Applications node which causes concern.
I attempt to request what should be the URL but receive only the
404 message.
I would appreciate any guidance available in order to get this
deployment functional.
Thanks,
Jim -
Why is the Verizon Messages Web App not loading properly?
I use the Web App daily, but for the last two days the "loading" symbol just keeps spinning.... I've tried it in both Chrome and IE, but have not been able to get it to load. I've signed in without any issue.
perryfarms,
That certainly is not something we would expect to happen! Let's wake this up and get you moving with your messages! Do you have this same issue with a different computer? Have you tried deleting your computer's cookies and cache? When was the last time you were able to successfully view this messages page?
SandyS_VZW
Follow us on Twitter @VZWSupport -
Can not Deploy struts web app on WLS 8
Hi
We are trying to migrate the struts web app from WLS 6 into WLS 8, but keep getting
exception: org.apache.commons.digester.Digester startElement
When I use blank struts-config.xml, the web app can be deployed without exception.
but when I use the struts-config.xml we are supposed to use ( had been deployed
on WLS6 and WLS7 for production), I get the exception.
Please can anybody help? Thanks
Chun
Nov 3, 2003 10:00:35 AM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:259)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Abstrac
tSAXParser.java:459)
at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSch
emaValidator.java:591)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XML
NamespaceBinder.java:877)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamesp
aceBinder.java:569)
at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDVa
lidator.java:727)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartE
lement(XMLDocumentFragmentScannerImpl.java:759)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
nt(XMLDocumentFragmentScannerImpl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
n.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
n.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXPar
ser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServlHere is the struts-config.xml. I only add
<form-bean name="batchQueryForm"
type="web.struts.batch.forms.BatchQueryForm"/>
into the blank struts-config.xml, then I get the exception
org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
Here is the struts-config.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<!-- added for test -->
<form-bean name="batchQueryForm"
type="web.struts.batch.forms.BatchQueryForm"/>
<!-- test ends -->
</form-beans>
<global-forwards>
<forward
name="welcome"
path="/Welcome.do"/>
</global-forwards>
<action-mappings>
<action
path="/Welcome"
type="org.apache.struts.actions.ForwardAction"
parameter="/pages/Welcome.jsp"/>
</action-mappings>
<controller
processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
<message-resources parameter="resources.application"/>
<!-- comment following if struts1.0.x -->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
<set-property property="definitions-parser-validate" value="true" />
</plug-in>
<!-- end comment if struts1.0.x -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
"Deepak Vohra" <[email protected]> wrote:
>
Could you post your struts-config.xml file.
thanks,
Deepak
"Chun" <[email protected]> wrote:
Hi
We are trying to migrate the struts web app from WLS 6 into WLS 8, but
keep getting
exception: org.apache.commons.digester.Digester startElement
When I use blank struts-config.xml, the web app can be deployed without
exception.
but when I use the struts-config.xml we are supposed to use ( had been
deployed
on WLS6 and WLS7 for production), I get the exception.
Please can anybody help? Thanks
Chun
Nov 3, 2003 10:00:35 AM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:259)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(Abstrac
tSAXParser.java:459)
at weblogic.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSch
emaValidator.java:591)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XML
NamespaceBinder.java:877)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamesp
aceBinder.java:569)
at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDVa
lidator.java:727)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartE
lement(XMLDocumentFragmentScannerImpl.java:759)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
nt(XMLDocumentFragmentScannerImpl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
n.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
n.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXPar
ser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl -
Deploy own Web App on a Oracle 9i with E-Business Suite
Hi!
I have an existing 9iAS that is hosting Oracle E-Business Suite 11.5.9. I need to deploy an additional web application there. My question is, is OC4J hosting eBS? If i deploy the web application, is it as easy as dropping a war file there?
I hope to hear from you guys soon..Did you ever find a solution to this? I am trying to make a custom ASP application work from Oracle Apps 11.5.10.2 and am not having any luck.
-
We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
a web app to the managed server fails, works fine on the Admin server.
War's work fine in the 'applications' dir. The browser fails with a
404 on the managed server, with the following error in the log:
####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
<ExecuteThread: '11'
for queue: 'default'> <system> <> <160001> <Error deploying application
DefaultWebApp
ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
ect2 because
WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
for path >
Are we missing the point here? Or, is this a known bug? Also, we are
not in a position to jump onto v6.1 at this time.
Thanks in advance.Hi,
Yes..it's a bug. I had the same problem and it has been reported to support
but no indication if it's fixed.
Rgds,
E-Wan
ppower wrote:
We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
a web app to the managed server fails, works fine on the Admin server.
War's work fine in the 'applications' dir. The browser fails with a
404 on the managed server, with the following error in the log:
####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
<ExecuteThread: '11'
for queue: 'default'> <system> <> <160001> <Error deploying application
DefaultWebApp
ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
ect2 because
WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
for path >
Are we missing the point here? Or, is this a known bug? Also, we are
not in a position to jump onto v6.1 at this time.
Thanks in advance.
Maybe you are looking for
-
Nokia 6111, dont know how to connect, Please Help
Ive just got a Nokia 6111, and have downloaded the PC Suite, what do I need to do to get a connection between my pc and phone, Bluetooth and Infrared wont work ( i dont think Ive got the thing on my pc to use them??) My pc is 5 years old, but it runs
-
How do I get my ipad2 from 4.3.2 to 4.3.3.?
I would like to chang my ipad2 from 4.3.2 to 4.3.3
-
DSNLess Connection to OracleDB v8.1.7
Hi, I encounter problems in using DSNless approach to connect to Oracle DB. My program is using JDK1.1.8, Oracle DB version 8.1.7. Please help to identify the problem and provide solution to it. Below is the code used and the error message Trial A: C
-
RMAN : Mechanism to implement
Hi Team, We have few Exadata customers for which RMAN is the method for database backups. If backup is failed, cit-backups team get email and they will fix it. But if backups are not started/happening from couple of days, weeks, months,, there is no
-
Can not solve, please explain
Hi, all Please help me http://forum.java.sun.com/thread.jspa?threadID=5210814&tstart=30 thanks