Web.xml vs weblogic.xml
i have an application :(ijust joined the production team)
and the web.xml is empty .. do i need a weblogic.xml file for the webapp or not and also if the web.xml is empty like the only tag it has is <webapp> </web-app>
what should the content of weblogic.xml be:
i am guessing it will follow the web.xml and will have <weblogic> </weblogic> tags or is there anything mandatory for the weblogic.xml
As a minimum you will need a web.xml and it should not be empty if you use any servlets in your webapp, I think you can probably get away with an empty web.xml if you only use JSPs. You can configure Servlet mappings, security roles etc in the web.xml file. If your application uses none of these thats probably why your web.xml is a bit sparse.
see
http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html
for info on weblogic.xml deployment descriptor.
Similar Messages
-
Editing web.xml OR weblogic.xml programmatically
Hi there,
I am trying to edit the web.xml and weblogic.xml programmatically. I am trying to load the above deployment descriptors in DOM object. But as DTD is mentioned externally, connection to URL is failing.
But weblogic.jar contains all DTD in local machine. Is there any way to make parser to refer DTD in weblogic.jar. Or any weblogic API available to edit the deployment descriptors programatically.
Thanks in advance.
I am getting following error.
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:512)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:489)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:617)
at java.net.URL.openStream(URL.java:913)
at weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityMan
ager.java:836)
at weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntity
Manager.java:796)
at weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDSc
annerImpl.java:275)
at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.disp
atch(XMLDocumentScannerImpl.java:841)
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.DOMParser.parse(DOMParser.java:257)
at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilder
Impl.java:201)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151)
at JAXPandDOM.main(JAXPandDOM.java:39)I believe you could get around this with a custom EntityResolver. It's possible that Tomcat does something like this.
However, I would question why you are trying to do this. If your container is set to Development mode, you might get away with the container automatically reloading your changes, but it certainly won't happen in Production mode, and even in Development mode, I don't know that I could predict how that would work.
You'd be better off, with respect to portability and flexibility, if you store dynamic resources in an external file, not in the web.xml or weblogic.xml file. You could have a timed "watcher" for the file, to see when it's modified. -
prefer-web-inf-classes in weblogic.xml doesn't work
When I try to use <prefer-web-inf-classes>true</prefer-web-inf-classes> it works fine with default classloaders structure. But after I changed classloaders hierarhy by means of <classloader-structure> in weblogic-application.xml classes from web app are ignored and classes from outside web app are loaded.
Here is classloaders structure I use
<weblogic-application>
<classloader-structure>
<module-ref>
<module-uri>mywar.war</module-uri>
</module-ref>
<classloader-structure>
<module-ref>
<module-uri>myejb.jar</module-uri>
</module-ref>
</classloader-structure>
</classloader-structure>
</weblogic-application>
Has anybody encountered this before?Hi, Rob
Does it work in WL9.2?
It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
<weblogic-web-app>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
<weblogic-application>
<classloader-structure>
<module-ref>
<!-- reminder: this webapp contains
prefer-web-inf-classes -->
<module-uri>webapp</module-uri>
</module-ref>
<classloader-structure>
<module-ref>
<module-uri>mdb.jar</module-uri>
</module-ref>
</classloader-structure>
</classloader-structure>
</weblogic-application>
Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all. -
What changes i should made in web.xml for using jsp/xml using weblogic
Hi all,
I just know some changes has to made in web.xml or weblogic.xml if i have to use weblogic for jsp/xml.
Pls. anybody post the steps to intereaction with xml using weblogic.
I am using jdk1.4The problem is solved.
The information is given at
http://e-docs.bea.com/wls/docs61/webapp/webappdeployment.html -
Weblogic.xml - reference-descriptor
Hello All,
When ever I put "reference-descriptor" element directly under root element "weblogic-web-app" in weblogic.xml, I get this message during server startup..
"weblogic.xml" is malformed. Check against the DTD: org.xml
.sax.SAXParseException: The content of element type "weblogic-web-app" must matc h "(description?,weblogic-version?,security-role-assignment*,run-as-role-assignm
ent*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filter?,cont
ainer-descriptor?,charset-params?,virtual-directory-mapping*,url-match-map?,prep
rocessor*,preprocessor-mapping*,security-permission?,context-root?,wl-dispatch-p
olicy?,servlet-descriptor*,init-as*,destroy-as*)". (line 60, column 20).
XMLSpy also complains that "Unexpected child element 'reference-descriptor'. Can somebody point me what is wrong here?
My weblogic.xml looks like this..
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<jsp-descriptor>
</jsp-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/myDataSource</res-ref-name>
<jndi-name>MyDataSource</jndi-name>
</resource-description>
</reference-descriptor>
</weblogic-web-app>
Any help will be deeply appreciated..
Thanks,
Ranjith PillaiHello All,
When ever I put "reference-descriptor" element directly under root element "weblogic-web-app" in weblogic.xml, I get this message during server startup..
"weblogic.xml" is malformed. Check against the DTD: org.xml
.sax.SAXParseException: The content of element type "weblogic-web-app" must matc h "(description?,weblogic-version?,security-role-assignment*,run-as-role-assignm
ent*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filter?,cont
ainer-descriptor?,charset-params?,virtual-directory-mapping*,url-match-map?,prep
rocessor*,preprocessor-mapping*,security-permission?,context-root?,wl-dispatch-p
olicy?,servlet-descriptor*,init-as*,destroy-as*)". (line 60, column 20).
XMLSpy also complains that "Unexpected child element 'reference-descriptor'. Can somebody point me what is wrong here?
My weblogic.xml looks like this..
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<jsp-descriptor>
</jsp-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/myDataSource</res-ref-name>
<jndi-name>MyDataSource</jndi-name>
</resource-description>
</reference-descriptor>
</weblogic-web-app>
Any help will be deeply appreciated..
Thanks,
Ranjith Pillai -
Simple jsp deployment - does it need weblogic.xml ?
Hi,
I am a newbie and trying out a very simple jsp application which connects to Oracle
for a simple db lookup. This app used to work with Tomcat/ Apache.
I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
Could someone tell me what is the minimum level of configuration I need to deploy
these JSPs to WLS7.0 ?
Do I need both web.xml and weblogic.xml ?
Do I need all the parameters in both these files ?
Thanks a lot !
WLS7.0 Does use servlet you have to register the servlet inside the
web.xml file for a web application. It looks like this:
<servlet>
<servlet-name>testservlet</servlet-name>
<servlet-class>
com.mypackage.MyTestServlet
</servlet-class>
<init-param>
<param-name>EnvironmentFile</param-name>
<param-value>/WEB-INF/config/webstore.properties</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>testservlet</servlet-name>
<url-pattern>/mytestservlet</url-pattern> <!-- this is the
name on the url-->
</servlet-mapping>
Abraham wrote:
> Hi,
>
> I am a newbie and trying out a very simple jsp application which connects to Oracle
> for a simple db lookup. This app used to work with Tomcat/ Apache.
>
> I am trying to deploy it on WLS7.0 . It does not use servlets - only JSPs.
>
> Could someone tell me what is the minimum level of configuration I need to deploy
> these JSPs to WLS7.0 ?
> Do I need both web.xml and weblogic.xml ?
>
> Do I need all the parameters in both these files ?
>
> Thanks a lot !
-
How to edit weblogic.xml in Jdeveloper web project
Hi, All,
I created a web application in Jdeveloper11.1.1.1 and deployed to weblogic server 10.3, I found there is weblogic.xml under WEB-INF folder in war file.
I try to add something in weblogic.xml, but the problem is I cannot find weblogic.xml in Jdeveloper.
How to edit weblogic.xml in Jdeveloper? Thanks in advanced.
Best Regards,
BillThe weblogic.xml file is generated at deploy time if it doesn't exist in your application. To create it specifically in your application at design time for editing, select the appropriate project then the New option, from the New Gallery select General -> Deployment Descriptors -> Weblogic Deployment Descriptor, and in the resulting dialog select the weblogic.xml file. It will be added to the project -> Web Content -> WEB-INF directory.
Cheers,
CM. -
Weblogic 10 jaas and login.jsp and web.xml/weblogic.xml security constaints
Hello,
I struggled through and got the examples.security.jaas.SampleCallbackHandler.java and examples.common.utils.ExampleUtils.java/ExampleConstants.java into eclipse where they compile. A bean I made can call SambleCallbackHandler like such:
mybean.logmein(username,password,url). I can then do a mybean.getStatus() or even a mybean.returnCode(). It does seem to correctly identlify that it is authenticating me (I see in stdout logs that it shows success or failures. The problem I have is I do not know how to apply this weblogic and web.xml/weblogic.xml so that if authentication works it redirects me to the page requiring the authentication. In web.xml I have the following set up:
<security-role>
<role-name>Admins</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>default</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/badlogin.html</form-error-page>
</form-login-config>
</login-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>empower</web-resource-name>
<description>These pages are only accessible by authorized users.</description>
<url-pattern>/admin/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>These are the roles who have access</description>
<role-name>Administrators</role-name>
</auth-constraint>
<user-data-constraint>
<description>This is how the user data must be transmitted</description>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
My weblogic.xml has:
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
<wls:security-role-assignment>
<wls:role-name>Admins</wls:role-name>
<wls:principal-name>Administrators</wls:principal-name>
<wls:principal-name>dashap</wls:principal-name>
</wls:security-role-assignment>
</wls:weblogic-web-app>
With this set up, if I try to go to a page in /admin folder in my application, it correctly pops up the login page. The jaas in the bean is doing a loginContext.login(), which I thought does authentication too, but it never goes back to the /admin page I was going to that needed the authentication. With jaas, can I not use the web.xml FORM security option? Do I Need to use j_security in the login.jsp's form's action= option and j_username and j_password for the input type names? How do I use j_username/j_password things if I am using jaas? I could just ignore using the web.xml security stuff and put something in the pages that need authentication, but it would be easier if I could use jaas with the security featurs without doing all that. Note that my code above is using a realm called default just because that was what was in the example I got from the web. Does that need to be something else?Hi John,
I would like magic of course. However, in this case I want something special: my authentication provider uses special means and contents of headers, cookies and service from external identity management systems to determine the user's identity.
I do not want the application to present the login dialog! I want to derive the identity and the fact that the user is logged in from whatever the authentication provider returns in terms of Subject.
Ideally, the flow is something like:
- user accesses an unprotected resource - resource is shown, no interaction with authentication provider
- user presses a link or button that takes him/her to a protected resource
- the authentication provider is contacted to work with the identity asserter to establish the identity of the current user and create a subject object for this user
- the application can access the subject and principals
- ADF Security recognizes the identity and the roles (based on the principals) and coordinates access based on this.
the authentication method is client certificate. presumably this prompts WebLogic/OPS to use an identity asserter to work with custom headers and cookies ("... when you configure a web application to use CLIENT-CERT authentication. In this case, WebLogic can perform identity assertion based on values from request headers and cookies. If the header name or cookie name matches the active token type for the provider, the value is passed to the provider."). No login form should be presented to the user, as all information required to perform the authentication is already available.
I am trying to understand what I must do to have the ADF application adopt the subject set by the authentication provider - if anything?!
If you more ideas to share - I would love to hear them.
best regards,
Lucas -
Web.xml / weblogic.xml security
Let's say I define security constraints in the web.xml file for my web application
using the security-constraint,auth-constraint, and security-role tags. Does this
mean that in order to add a new user I must modify weblogic.xml and specify a
new security-role-assignment? Can I specify a group name as a principal, or is
there a way to programatically add new users? Any help would be greatly appreciated.
Thank you.yes, you can use groups as principals in weblogic.xml. then permissions are
managed through the user-group relationship.
"Leonard Pham" <[email protected]> wrote in message
news:3b657f8a$[email protected]..
>
Let's say I define security constraints in the web.xml file for my webapplication
using the security-constraint,auth-constraint, and security-role tags.Does this
mean that in order to add a new user I must modify weblogic.xml andspecify a
new security-role-assignment? Can I specify a group name as a principal,or is
there a way to programatically add new users? Any help would be greatlyappreciated.
Thank you. -
Problem in creating a build.xml for weblogic portal application
Team ,
I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
a) Below is the structure of my portal application
SrcCode
--- .metadata (eclipse plugins folder)
--- B2BApp ( Ear Content)
--- b2bPortal ( portal related file(controllers,jsp)
--- b2bsrc (java src)
b) Now I executed below utility to generate the build.xml "
java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
c) Based on the above step , build.xml got generated .
d) when I execute "ant compile" target from the command prompt , I see the below exception
ant compile
Buildfile: build.xml
compile:
+[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
+[wlcompile] [JAM] Error: unexpected exception thrown:+
+[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
+<target name="compile" description="Only compiles B2BApp application, no appc">+
+<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
+<!-- These referenced libraries were not found -->+
+<!-- <library file="p13n-core-web-lib" /> -->+
+<!-- <library file="jersey-web-lib" /> -->+
+.....+
+....+
Please help me to reslove these issues .
PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )i JaySen ,
thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
+[JAM] Error: unexpected exception thrown:+
com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70. Most likely, an annotation is declared whose type has not been imported.
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
===================
a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
i.e we are using weblogic portal 10.3.2 version.
b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
Help Appreciated
Thx,
Sarat -
Creation of Virtual Directory in weblogic.xml (OBIEE11 Weblogic)
We are using OBIEE 11.1.1.6.4, we want to create a Virtual directory mapping in weblogic server so that we can place our static image files to access from the application URL.
To do this activity, we have performed following steps -
1) Navigated to C:\OBIEE11G\Oracle_BI1\bifoundation\jee
2) Open analytics.ear file
3) Existing code in weblogic.xml is: (if weblogic.xml is not present we need to create the file with below code)
<?xml version = '1.0' encoding = 'US-ASCII'?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
<session-descriptor>
<cookie-path>/analytics</cookie-path>
</session-descriptor>
</weblogic-web-app>
4) We have added virtual-directory-mapping tag; After adding virtual directory mapping tag, the code in weblogic.xml is
<?xml version = '1.0' encoding = 'US-ASCII'?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
<session-descriptor>
<cookie-path>/analytics</cookie-path>
</session-descriptor>
<virtual-directory-mapping>
<local-path>D:/virtualdirectory</local-path>
<url-pattern>/images/*</url-pattern>
<url-pattern>*.jpeg</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
5) We have created a folder virtualdirectory under D: drive. And then created a folder images within folder virtualdirectory.
6) Then we have placed an image (lets say) test.jpeg within image folder.
7) Restarted all BI services,
8) Now when we try to access URL http://localhost:9704/analytics/images/test.gif. Now we are able to see the image, it’s working perfectly fine.
If we paste the above URL in browser it will automatically displays the image without any authentication. So our requirement is, on pasting the URL in browser first it should redirect to OBIEE homepage and when authentication is done then it should display the image.
Request you to please advise with your inputs.Why did you modify analytics.ear ?
Should'nt you make changes here : Middleware_Home>\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1
\analyticsRes\WEB_INF\web.xml
Follow this note : OBIEE 11g: How To Access Custom Files Through URL By Creating Virtual Directory In Weblogic Server? [ID 1408240.1]
And you should be able to deploy that virtual directory and access it after authentication.
HTH,
SVS -
Several paths with the virtual-directory-mapping in weblogic.xml
Hello! I don´t know if this is well posted here. Sorry, and my english is aswful :(.
I´m trying to put several paths for jsp files in an application, similar to how the extendend document root works in websphere.
How can I get this on weblogic? With this lines I only managed to get the first but the second url-pattern doesn´t work.
<weblogic-web-app>
<virtual-directory-mapping>
<local-path>/path1/</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
<virtual-directory-mapping>
<local-path>/path2</local-path>
<url-pattern>/jsp/*.jsp</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
My intention is make that the app could access to jsp´s files in path1 and in path2. Is this possible on weblogic?
Thanks in advanceI see. In my case, x == images, so if I reverse my directory
structure I could still get this to work for me. For instance:
<virtual-directory-mapping>
<local-path>C:\webapps\context\y</local-path>
<url-pattern>/images/*</url-pattern>
</virtual-directory-mapping>
/images/z.gif would map to C:\webapps\context\y\images\z.gif.
I'll have to weigh changing our directory structure vs. keeping the
servlet we have that rewrites the URL.
Thanks for your help.
Scott Steimle.
Rajesh Mirchandani <[email protected]> wrote in message news:<[email protected]>...
From the developer
Virtual directories just replace the doc root. The doc root in your case
is C:\webapps\context\x\y. The request uri is /images/Z.gif. So the whole
thing resolves to C:\webapps\context\x\y\images\Z.gif. Which is where the
image should be located.
We have cleared up the docs. Sorry for any inconvenience.
Scott Steimle wrote:
Hi. I noticed in WebLogic Platform 7.0 there is a entry for
WEB-INF/weblogic.xml that defines a virtual directory. Example:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
Application 7.0//EN"
"http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
<weblogic-web-app>
<virtual-directory-mapping>
<local-path>C:\webapps\context\x\y</local-path>
<url-pattern>/images/*</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
In this case I'm assuming that a request of the form
http:/host:7001/context/images/z.gif would map to the physical file
C:\webapps\context\x\y\z.gif. However I cannot get this to work. Is
my assumption about it's use incorrect? Is the syntax of
<local-path/> or <url-pattern/> wrong? Is there something you have to
do to get WebLogic to recognize the weblogin.xml file?
This is urgent. Please help.
Thanks.
Scott Steimle
Software Engineer
Convera -
Error parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org">
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Transform</title>
<link type="text/css" rel="stylesheet" href="css/CascadeMenu.css">
</head>
<body id="Bdy">
Hello all, I've run into a perplexing problem with a new and unexptected error on a web application that resides in a JDeveloper 11g environment. I just run it from JDeveloper on my laptop. No deployement other than to the default server at run time Integratedweblogicserver. I am doing an XML transform using XSLT and it has been working fine until I tried to use the page yesterday. I get the following error. javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417) at jsp_servlet.__transform._jspService(__transform.java:109) 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.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) 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:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at oracle.xml.jaxp.JXSAXTransformerFactory.reportConfigException(JXSAXTransformerFactory.java:759) at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:371) at oracle.xml.jaxp.JXSAXTransformerFactory.newTransformer(JXSAXTransformerFactory.java:272) at weblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransformerFactory.java:209) at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:145) at jsp_servlet.__transform._jsp__tag2(__transform.java:223) at jsp_servlet.__transform._jspService(__transform.java:102) ... 25 more Caused by: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:357) ... 30 more ------------------------------------------------ I changed no code or moved any XML or XSLT file. I do see an error in the log regarding a bad URL ----------------------------------------------- XML-22108: (Error) Invalid Source - URL format is incorrect. XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). <[ServletContext@10343785[app:QSBQAR module:QSBQAR-QSBQAR-context-root path:/QSBQAR-QSBQAR-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@699744[ GET /QSBQAR-QSBQAR-context-root/Transform.jsp?reqtype=1 HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; . ------------------------------ Here is the XML ------------------------------ <?xml version="1.0" encoding="windows-1252" standalone="no"?>
ACME Bird Seed Co. Capture the Road Runner using a boulder, rope and bird seed. Quinn Brian 00 00 00 00 00 00 00 00 00 11 08 08 08 08 00 43 43 Hours have been approved. APPROVED Smart Jean 00 00 00 00 00 00 00 00 00 Hours approved. APPROVED --------------------------------------------------------------------------------------- Here is the XSL --------------------------------------------------------------------------------------- <?xml version="1.0" encoding="windows-1252"?>
<!-- Root template -->
<h2>Project Hours Worked</h2>
----------------------------------------------------------------------------------------- Here is the JSP with the transform ----------------------------------------------------------------------------------------
<table>
<tr>
<td>Week Ending Date:--</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<th>Client</th>
<td></td>
<th>Project</th>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<th>Last Name</th>
<th>First Name</th>
<th>Task</th>
<th>---</th>
<th>Sun</th>
<th>Mon</th>
<th>Tue</th>
<th>Wed</th>
<th>Thu</th>
<th>Fri</th>
<th>Sat</th>
<th>---</th>
<th>Ttl</th>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>---</td>
<td>---</td>
<td></td>
<td>---</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>---</td>
<td></td>
</tr>
<tr>
<td>Total Hours: </td>
<td></td>
<td></td>
</tr>
<%@ page contentType="text/html;charset=windows-1252"%><%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %></table>
<script type="text/javascript" src="scripts/CascadeMenu.js">
</script>
<% int bad = 1; %>
<div id="menuBar" class="menuBar">
<div id="Bar1" class="Bar">Home</div>
<div id="Bar3" class="Bar">Accounting</div>
<div id="Bar4" class="Bar">Help</div>
</div>
<div style="background:#84ffff; color:Aqua; "><br>
<br>
<p style="color:Orange; font-size:x-large; font-style:italic; font-weight:bold;
font-family:Arial, Helvetica, sans-serif; "><img src="images/logoqsq.jpg" style="border:1" height="120" width="120" alt="Q Squared">
</p>
</div>
<div>
<p style="color:Black; font-size:x-large; font-style:italic; font-weight:bold; font-family:Arial, Helvetica, sans-serif;"><img src="images/dilbert.gif" alt="Dilbert" height="100" width="100">
? ? Welcome to Q Squared-Brian Quinn Consulting - Manager Time Approval</p>
</div>
<div>
<table width="100%" class="table1">
<tr>
<td style="width:15%; border-width:medium; background-color:silver ">
<h3>Contractor Resources</h3>
<ul style="list-style-type:circle; ">
<li>Time Entry</li>
<li>Profile</li>
</ul>
<h3>Manager Resources</hLOL - I didn't think about the forum message area having trouble displaying my XML XSLT problem
It seemed to mix the code with the site XML.
Oh brother
The deal is this.
The XML XSLT transform was working and now it is not and I think it has something to do with
the HTTP links for either the Oracle core and/or XML TAGLIBs. Either that or the W3.org has
outdated XSLT http links.
Anyone know if changes have been made to any of these taglib links?
This in the JSP
<!--
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
<c:import url="./HoursWorked3.xsl" var="xslt" charEncoding="windows-1252"/>
<x:transform xml="${xmlHoursWorked}" xslt="${xslt}" />
-->
This in the XSL
<!--
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-->
And the other JSP having the same problem.
<!--
<%@ page contentType="text/html;charset=windows-1252"
import="java.util.List, qsbqar.XMLHandler, org.w3c.dom.NodeList,
javax.xml.transform.*, javax.xml.transform.stream.*,
org.w3c.dom.Node, oracle.xml.parser.v2.*, java.io.File,
java.io.FileReader " %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<xsl:param name="employeeID" value="2"/>
<%session.setAttribute("employee_ID", request.getParameter("consultantID")); %>
<c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
<c:import url="./HoursWorked4.xsl" var="xslt" charEncoding="windows-1252"/>
<x:transform xml="${xmlHoursWorked}" xslt="${xslt}">
<x:param name="employeeID" value="${sessionScope.employee_ID }"/>
</x:transform>
-->
Edited by: B of Carbon on Dec 19, 2010 12:25 AM -
Hello,
I am building JSP client for webservice. The client is deployed on tomcat 4.x.
This time fortunatelly clientgen swallowed WSDL and I got client code generated.
I added webserviceclient.jar to WEB-INF/lib. However I am getting java.lang.NoClassDefFoundError:
weblogic/xml/schema/binding/SequenceCodecBase Exception.
Indeed webserviceclient.jar has no weblogic/xml/schema/binding/SequenceCodecBase
class defined. Do I have bad webserviceclient.jar or am I doing something wrong?
Also I've found weblogic/xml/schema/binding/SequenceCodecBase in weblogic.jar
so I added it to my application. Now I am getting
java.lang.ClassCastException: com.sun.xml.messaging.soap.dom4j.BodyImpl
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:218)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:268)
at weblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation.java:328)
at weblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation.java:304)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:141)
at client.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:69)
at client.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:89)
What am I doing wrong?
Thanks,
AlekseyIt looks like you have the JAXM suns RI registered. We do not
work with other JAXM impls. To set your MessageFactory to
use WLS jaxm impl do the following:
System.setProperty( "javax.xml.soap.MessageFactory",
"weblogic.webservice.core.soap.MessageFactoryImpl" );
before you invoke the web service method.
regards,
-manoj
"Aleksey" <[email protected]> wrote in message
news:3c9a43f7$[email protected]..
>
Hello,
I am building JSP client for webservice. The client is deployed on tomcat4.x.
This time fortunatelly clientgen swallowed WSDL and I got client codegenerated.
I added webserviceclient.jar to WEB-INF/lib. However I am gettingjava.lang.NoClassDefFoundError:
weblogic/xml/schema/binding/SequenceCodecBase Exception.
Indeed webserviceclient.jar has noweblogic/xml/schema/binding/SequenceCodecBase
class defined. Do I have bad webserviceclient.jar or am I doing somethingwrong?
>
Also I've found weblogic/xml/schema/binding/SequenceCodecBase inweblogic.jar
so I added it to my application. Now I am getting
java.lang.ClassCastException: com.sun.xml.messaging.soap.dom4j.BodyImpl
atweblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:218)
atweblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:268)
atweblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation
.java:328)
atweblogic.webservice.core.DefaultOperation.invokeMultiOutput(DefaultOperation
.java:304)
atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:141)
atclient.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:69)
atclient.WeatherServicesSoap.GetWeather(WeatherServicesSoap.java:89)
>
What am I doing wrong?
Thanks,
Aleksey -
Deployment descriptor "weblogic.xml" is malformed. in managed server
Hi All,
Appreciate if anyone can help.
I have set up a cluster containing two nodes - one local and other
remote machine on weblogic 8.1.4
then i install my application this cluster setup its working fine.
for my requirement i upgrade the the weblogic version from 8.1.4 to
8.1.6 .
i upgrade through the smart update from the bea site . i upgraded both
the node.
i started the admin server.it started with no issue.
my problem comes when i start the my managed server on the cluster .it
gives me this exception.
<HTTP> <BEA-101296> <Unable to load the default compiler class
"com.sun.tools.javac.Main". Using the default javac compiler to compile
JSPs.>
i checked the classpath it has the same jdk that i used for 8.1.4
(jdk1.4.05 from sun.)
should i used new jdk that comes with the upgrade package of 8.1.6 like
(jdk1.4.11)
my class path having the weblogic jar also.
this is my class path.:
E:\bea\weblogic81\server\lib\weblogic.jar and other my application
jars.
complete exception it is shown like :
<Dec 19, 2006 12:44:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101247>
<Application:
'E:\bea\user_projects\domains\wlupgdomain\XLApplications\WLNexaweb.ear',
Module: 'Nexaweb': Public ID references the old version of the Servlet
DTD. You must change the public ID in web.xml file to "-//Sun
Microsystems, Inc.//DTD Web Application 2.3//EN".>
<Dec 19, 2006 12:45:00 PM GMT+05:30> <Warning> <HTTP> <BEA-101248>
<[Application:
'E:\bea\user_projects\domains\wlupgdomain\XLApplications\WLXellerateFull.ea?br>Module: 'xlWebApp']: Deployment descriptor "weblogic.xml" is malformed.
Check against the DTD: org.xml.sax.SAXParseException: The content of
element type "weblogic-web-app" must match
"(description?,weblogic-version?,security-role-assignment*,run-as-role-assi?t*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filt?ontainer-descriptor?,charset-params?,virtual-directory-mapping*,url-ma?ap?,preprocessor*,preprocessor-mapping*,security-permission?,context-r?wl-dispatch-policy?,servlet-descriptor*,init-as*,destroy-as*)".
(line 26, column 20).>
Compiler class: 'com.sun.tools.javac.Main', not found
java.lang.ClassNotFoundException: com.sun.tools.javac.Main
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
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?6)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)
at
weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
<Dec 19, 2006 12:45:00 PM GMT+05:30> <Warning> <EJB> <BEA-010202>
<Call-by-reference is not enabled for the EJB 'JMSBean'. The server
will have better performance if it is enabled. To enable
call-by-reference, set the enable-call-by-reference element to True in
the weblogic-ejb-jar.xml deployment descriptor for this EJB.>
<Dec 19, 2006 12:45:00 PM GMT+05:30> <Error> <Deployer> <BEA-149205>
<Failed to initialize the application Xellerate due to error
weblogic.management.ApplicationException: prepare failed for
xlBackOfficeBeans.jar
Module Name: xlBackOfficeBeans.jar, Error: Exception preparing module:
EJBModule(xlBackOfficeBeans.jar,status=NEW)
Unable to deploy EJB: xlBackOfficeBeans.jar from xlBackOfficeBeans.jar:
Compiler class: 'com.sun.tools.javac.Main', not found
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)
at
weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
java.io.IOException: Compiler class: 'com.sun.tools.javac.Main', not
found
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?1)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)
at
weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
weblogic.management.ApplicationException: prepare failed for
xlBackOfficeBeans.jar
Module Name: xlBackOfficeBeans.jar, Error: Exception preparing module:
EJBModule(xlBackOfficeBeans.jar,status=NEW)
Unable to deploy EJB: xlBackOfficeBeans.jar from xlBackOfficeBeans.jar:
Compiler class: 'com.sun.tools.javac.Main', not found
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)
at
weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
java.io.IOException: Compiler class: 'com.sun.tools.javac.Main', not
found
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?1)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)
at
weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
at
weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1658)
at
weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)
at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)
at
weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
><Dec 19, 2006 12:45:00 PM GMT+05:30> <Emergency> <Deployer>
<BEA-149229> <Server xlManagedServer_1 in cluster xlCluster is unable
to initialize due to failed deployments.>
<Dec 19, 2006 12:45:00 PM GMT+05:30> <Error> <Deployer> <BEA-149601>
<The deployment framework was unable to resume accepting requests.>
<Dec 19, 2006 12:45:00 PM GMT+05:30> <Emergency> <WebLogicServer>
<BEA-000342> <Unable to initialize the server: [Deployer:149601]The
deployment framework was unable to resume accepting
requests.[Deployer:149229]Server xlManagedServer_1 in cluster xlCluster
is unable to initialize due to failed deployments.>
hope the scope of the questions is not too broad. Kindly let me know
if you need more information.
Thanks a lot.ram ram <> wrote:
should i used new jdk that comes with the upgrade package of 8.1.6 like
(jdk1.4.11)
my class path having the weblogic jar also.
this is my class path.:
E:\bea\weblogic81\server\lib\weblogic.jar and other my application
jars.
Add tools.jar from your Java installation to the classpath.
Bart
Schelstraete Bart
http://www.schelstraete.org
http://www.mqseries.be
Maybe you are looking for
-
These are Webi, user created reports. Is it possible to schedule a Webi report based on another input, i.e. expose a time in which a process was finished (this can be obtained via a SQL call, service call, etc). The issue is that if a user schedules
-
Hi experts, I am implementing of copy of standard bsp application "hap_document" and I would like to call a smartforms anytime I click on print button. Does anybody can tell me what are the different steps to call a smartforms which will display all
-
How do I prevent multiple applications opening on start up with Lion?
how do I prevent multiple applications opening on start up with Lion?
-
When I click on some links in an email (and Firefox is the default browser) I get the following error: Server Error in '/' Application. Runtime Error Description: An exception occurred while processing your request. Additionally, another exception oc
-
Why has my pdf document "failed to export"?
I've just bought a subscription to export and convert pdf files to Word files, and only the second document I tried to convert is refusing to do so, giving the message "failed to export. There was an unexpected problem". Is there anything I can do