Exploded web app in weblogic 8.1
Hi I have deployed a exploded web application in weblogic 8.1.
I am not able to see the web application structure in the weblogic.
When I am deploying the web application with context root prooj002.
I am only able to find examplesServer_proj002_proj002 folder inside C:\bea\weblogic81\samples\domains\examples\examplesServer\.wlnotdelete\extract
directory , i am not able see the web-inf, meta-inf, classess etc directories.
Could you please tell me where there directories/files are??
Regards
Umesh
Hi, Umesh,
We don't copy the whole directory structure of a webapp into domain directory. IMO, you don't need to care about the directory you mentioned above.
Thanks,
-Fred.
Similar Messages
-
Issue while accessing deployed web-app on Weblogic 10.3.5
We have deployed a web app on Weblogic server 10.3.5 as a WAR file. The deployment looks fine and application is in "Active" state. However when we try to access the application it fails to detect the Struts tags and gives following error -
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /view/login/login.jsp
login.jsp:4:1: Type mismatch: cannot convert from Tag to JspTag
*<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm*
*l1-transitional.dtd">*
*^---------------------------------------------------------------------------------------------------*
*<title><s:property value="customerLoginContentVO.pageTitle" /> Dashboard</title>*
------^
I looks like it doesn't get the Struts libraries. We have included the Struts libraries in WEB-INF/lib of the web app and set prefer-web-inf-classes to true in weblogic.xml. Why is it that it is able to find the jars to deploy but not to access the application.
One alternate method suggested is to have package the war into a ear and provide the mapping for struts libraries as prefer-application-packages in weblogic-application.xml. But we think creating a ear just for library load in not a right approach & we are definitely missing something.
Any help on this issue will be appreciated.
Thanks,
Jiten SWLS 10.3.5 (and some versions before that too, one of the 10.3.x releases changed this) should also support prefer-application-packages. It doesn't appear as though the documentation has been updated to reflect that.
Needs updating:
http://download.oracle.com/docs/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#i1075205
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1098468
I'll file a documentation bug.
In the meantime, you can see that it is there in the XSD:
http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd
which is linked to from here:
http://download.oracle.com/docs/cd/E21764_01/web.1111/e13706/overview.htm#g1088563
Here is an example of what a weblogic.xml might look like.
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
<wls:weblogic-version>10.3.5</wls:weblogic-version>
<wls:context-root>FilterWeb</wls:context-root>
<wls:container-descriptor>
<wls:prefer-application-packages>
<wls:package-name>my.foo.package</wls:package-name>
</wls:prefer-application-packages>
</wls:container-descriptor>
</wls:weblogic-web-app> -
How to debug web app with weblogic?
I wrote a web app that includes jsp files and some javabeans, then I put the jsp files to directory
mydomain\applications\DefaultWebApp
then I complied javabeans and put those classes to
mydomain\applications\DefaultWebApp\WEB-INF\classes
Then I start the weblogic,it runs very well.
I modified some javabean, complie them and put classes override the old classes,
but the web app can not find the new classes.
Any one know How to debug web app(with javabeans) in weblogic?
thanks!how to config the hot deploy?
thxSorry, for this delay in responding. I had set notify me with email option in Watch This topic; but I never did get any email notification.
I use wls6.1; I think the process may be very similar to this in wls8.x. In wls6.1 (sp5), this is done via the -
Dweblogic.ProductionModeEnabled=False or
Dweblogic.ProductionModeEnabled=True
in the startup cmd/sh script. Out of the box, wls6.1 is set to Dweblogic.ProductionModeEnabled=False which automatically enables hot deploys. -
Error 404--Not Found while accessing web app through Weblogic 6.1
Hi everybody,
I am new to Weblogic and recently installed Weblogic6.1
on my machine and I am trying to access my application using weblogic
and it gives
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
I have uploaded the WAR file of my application using the Admin
console. The WAR file is place under
\bea\wlserver6.1\config\mydomain\applications\screen.war.
What am I doing wrong ?
Thanks is advance.
PS: I am also including my web.xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<session-config>
<session-timeout>-1</session-timeout>
</session-config>
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>resources.nmr.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- PDF servlet configuration -->
<servlet>
<servlet-name>pdf</servlet-name>
<servlet-class>com.abbott.gprd.servlets.PdfServlet</servlet-class>
</servlet>
<!-- PDF servlet Mapping -->
<servlet-mapping>
<servlet-name>pdf</servlet-name>
<url-pattern>/pdf</url-pattern>
</servlet-mapping>
<!-- MIME Mapping -->
<mime-mapping>
<extension>mol</extension>
<mime-type>chemical/x-mdl-molfile</mime-type>
</mime-mapping>
<!-- The Welcome File List -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Application Tag Library Descriptor -->
<taglib>
<taglib-uri>/WEB-INF/app.tld</taglib-uri>
<taglib-location>/WEB-INF/app.tld</taglib-location>
</taglib>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/nmr.tld</taglib-uri>
<taglib-location>/WEB-INF/nmr.tld</taglib-location>
</taglib>
</web-app>
hmm
it all looks ok to me
what happens if you try to access an image or something in your war (ie
something not java related)
also - i have seen on some machines that localhost doesnt work but 127.0.0.1
does work
your app should be trying to access index.jsp which should be in the root
directory of your war
does index.jsp exist and is it in the root directory of your war?
lastly - i noticed you have a startup servlet. Put a system.out in the init
method of the servlet. If the servlet is being deployed OK then you should
see some output in the console
"Ravi" <[email protected]> wrote in message
news:[email protected]...
> I am specifying the same http://localhost:7001/screen and it still
> gives the same error.
>
> Following is part of my cofig.xml where myapp is specified.
>
> <CustomRealm
>
ConfigurationData="user.filter=(&(cn=%u)(objectclass=person));user.dn=ou
=people,
> o=example.com;server.principal=cn=admin,
>
o=example.com;membership.filter=(&(member=%M)(objectclass=groupofuniquen
ames));group.filter=(&(cn=%g)(objectclass=groupofuniquenames));server.ho
st=ldapserver.example.com;server.ssl=true;group.dn=ou=groups,
> o=example.com"
> Name="defaultLDAPRealmForNovellDirectoryServices"
> Notes="This is provided as an example. Before enabling this
> Realm, you must edit the configuration parameters as appropriate for
> your environment."
> Password="{3DES}/4XkW5rmVvBHzFtI9SRK/g=="
> RealmClassName="weblogic.security.ldaprealmv2.LDAPRealm"/>
> <Server ListenPort="7001" Name="myserver" NativeIOEnabled="true"
> TransactionLogFilePrefix="config/mydomain/logs/">
> <Log FileName="config/mydomain/logs/weblogic.log"
> Name="myserver"/>
> <SSL Enabled="true" ListenPort="7002" Name="myserver"
> ServerCertificateChainFileName="config/mydomain/ca.pem"
> ServerCertificateFileName="config/mydomain/democert.pem"
> ServerKeyFileName="config/mydomain/demokey.pem"/>
> <WebServer DefaultWebApp="DefaultWebApp"
> LogFileName="./config/mydomain/logs/access.log"
> LoggingEnabled="true" Name="myserver"/>
> <ServerDebug Name="myserver"/>
> <ExecuteQueue Name="default"/>
> <KernelDebug Name="myserver"/>
> <ServerStart Name="myserver"/>
> </Server>
> <Application Deployed="true" Name="screen"
> Path=".\config\mydomain\applications">
> <WebAppComponent Name="screen" Targets="myserver"
> URI="screen.war"/>
> </Application>
> <SNMPAgent Name="mydomain"/>
> <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
> <ApplicationManager Name="mydomain"/>
> <JTA Name="mydomain"/>
>
> Thanks in advance.
> Ravi.
>
>
> "Matt Krevs" <[email protected]> wrote in message
news:<[email protected]>...
> > what url are you specifying?
> >
> > i would guess that http://localhost/screen-web would work. Hard to say
> > without also seeing your config.xml
> >
> > The critical item in config.xml is the value of URI in the
webappcomponent
> > element for your application
> >
> > eg if it was
> >
> > <WebAppComponent Name="myapp-web" Targets="myerver" URI="myapp-web"/>
> >
> > then the url you would call is http://localhost/myapp-web
> >
> > "Ravi" <[email protected]> wrote in message
> > news:[email protected]...
> > > Hi everybody,
> > > I am new to Weblogic and recently installed Weblogic6.1
> > > on my machine and I am trying to access my application using weblogic
> > > and it gives
> > >
> > > Error 404--Not Found
> > > From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
> > > 10.4.5 404 Not Found
> > >
> > > I have uploaded the WAR file of my application using the Admin
> > > console. The WAR file is place under
> > > \bea\wlserver6.1\config\mydomain\applications\screen.war.
> > >
> > > What am I doing wrong ?
> > >
> > > Thanks is advance.
> > >
> > > PS: I am also including my web.xml file
> > >
> > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > >
> > > <!DOCTYPE web-app
> > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> > > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> > >
> > > <web-app>
> > >
> > > <session-config>
> > > <session-timeout>-1</session-timeout>
> > > </session-config>
> > >
> > > <!-- Action Servlet Configuration -->
> > > <servlet>
> > > <servlet-name>action</servlet-name>
> > >
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> > > <init-param>
> > > <param-name>application</param-name>
> > > <param-value>resources.nmr.ApplicationResources</param-value>
> > > </init-param>
> > > <init-param>
> > > <param-name>config</param-name>
> > > <param-value>/WEB-INF/struts-config.xml</param-value>
> > > </init-param>
> > > <init-param>
> > > <param-name>debug</param-name>
> > > <param-value>2</param-value>
> > > </init-param>
> > > <init-param>
> > > <param-name>detail</param-name>
> > > <param-value>2</param-value>
> > > </init-param>
> > > <init-param>
> > > <param-name>validate</param-name>
> > > <param-value>true</param-value>
> > > </init-param>
> > > <load-on-startup>2</load-on-startup>
> > >
> > > </servlet>
> > >
> > > <!-- Action Servlet Mapping -->
> > > <servlet-mapping>
> > > <servlet-name>action</servlet-name>
> > > <url-pattern>*.do</url-pattern>
> > > </servlet-mapping>
> > >
> > > <!-- PDF servlet configuration -->
> > > <servlet>
> > > <servlet-name>pdf</servlet-name>
> > >
<servlet-class>com.abbott.gprd.servlets.PdfServlet</servlet-class>
> > > </servlet>
> > >
> > >
> > > <!-- PDF servlet Mapping -->
> > > <servlet-mapping>
> > > <servlet-name>pdf</servlet-name>
> > > <url-pattern>/pdf</url-pattern>
> > > </servlet-mapping>
> > >
> > > <!-- MIME Mapping -->
> > > <mime-mapping>
> > > <extension>mol</extension>
> > > <mime-type>chemical/x-mdl-molfile</mime-type>
> > > </mime-mapping>
> > >
> > >
> > > <!-- The Welcome File List -->
> > > <welcome-file-list>
> > > <welcome-file>index.jsp</welcome-file>
> > > </welcome-file-list>
> > >
> > > <!-- Application Tag Library Descriptor -->
> > > <taglib>
> > > <taglib-uri>/WEB-INF/app.tld</taglib-uri>
> > > <taglib-location>/WEB-INF/app.tld</taglib-location>
> > > </taglib>
> > >
> > > <!-- Struts Tag Library Descriptors -->
> > > <taglib>
> > > <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
> > > <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
> > > </taglib>
> > >
> > > <taglib>
> > > <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
> > > <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
> > > </taglib>
> > >
> > > <taglib>
> > > <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
> > > <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
> > > </taglib>
> > >
> > > <taglib>
> > > <taglib-uri>/WEB-INF/nmr.tld</taglib-uri>
> > > <taglib-location>/WEB-INF/nmr.tld</taglib-location>
> > > </taglib>
> > >
> > > </web-app>
-
7.0.0.1 exploded web app edit of html file deployed instantly
Seth,
For all static content in a webapp the web container accesses the content
when it is requested by a client. So if you change it at the source where
its deployed from, the changes will show up on the web client.
This is also true for servlet classes, however in that case the time
interval after which it looks for changes is controlled by a context-param
of the servlet:
<context-param>
<param-name>weblogic.servlet.reloadCheckSecs</param-name>
<param-value>-1</param-value>
</context-param>
this defines
* How often WebLogic checks whether a servlet has been
* modified, and if so reloads it. -1 is never reload, 0 is
* always reload. Default = 1.
"Seth Johnson" <[email protected]> wrote in message
news:[email protected]..
>
I am running WebLogic 7.0.0.1 in Production mode so autodeployment isdisabled.
I have deployed the application as external_stage. If I edit an htmlfile in
the source directory and then go to my browser and refresh, I see theupdate has
already been made.
Why is that?
I haven't told WebLogic to redeploy/activate the file. How often doesWebLogic
go to disk to determine the pages it has served have changed?
Does this only work for html files or are there other file types thatdon't require
"activation" before they are served?
Seth -
How to locate a resource in a Web app in Weblogic 5.1
I am running Weblogic 5.1 with sp10 in SunOS 5.7. I am trying to load
a resource (a property file) by calling a function like this.
InputStream In = getClass().getClassLoader().getResourceAsStream("/xyz.properties");
This function is being called by a servlet loaded in a Servlet context
in a Web application say "Test".
Actually the same is not called directly by the Servlet but a class
which the servlet calls instead.
My question is where can i put the property file for it to locate.
To my knowledge as per Servlet2.2 specification the resource will be
loaded if it is in the /WEB-INF/classes or /WEB-INF/lib directory of
the webapp.
But surprisingly it is not able to locate the same resource in that
path.
If i put the same property file in some directory which is in
WEBLOGIC_CLASSPATH, then the same gets loaded.
Could anyone please clarify what is happenning here and what is that i
have got it wrong if any ..!
Thanks in advance.
Venky
Hi Ramien,
you must specify a path, but this may also be relative, and that means also be empty; for details:
<i>A pathname, whether abstract or in string form, may be either absolute or relative. An absolute pathname is complete in that no other information is required in order to locate the file that it denotes. A relative pathname, in contrast, must be interpreted in terms of information taken from some other pathname. By default the classes in the java.io package always resolve relative pathnames against the current user directory. This directory is named by the system property user.dir, and is typically the directory in which the Java virtual machine was invoked.</i>
See http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html for further details.
Hope it helps
Detlev -
WebLogic 10.3.6 Times Out When Starting Web App
When starting our web app on WebLogic 10.3.6 using startWebLogic.sh on OEL (8 cores, 64 GB box), after about 5 to 6 minutes we receive a timeout error from WebLogic saying that it timed out trying to start the web app. The web app has some pre-computed indices to load which will take an estimated 10 to 15 minutes to load. Is there are way to control this timeout?
The time-out you are getting is that related to a transaction?
You can set the transaction time-out in the WebLogic console go to the JTA page for the domain, and change the value in the Timeout Seconds field.
When you are using EJBs, you can also set the time-out on a EJB basis, instead of configuring the time-out for the whole domain.
For example, in weblogic-ejb-jar.xml, you can configure the time-out by using:
<weblogic-ejb-jar ...>
<weblogic-enterprise-bean>
<ejb-name>YOUR_EJB_NAME</ejb-name>
<enable-call-by-reference>True</enable-call-by-reference>
<stateless-session-descriptor>
<pool>
<initial-beans-in-free-pool>25</initial-beans-in-free-pool>
<max-beans-in-free-pool>50</max-beans-in-free-pool>
</pool>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>600</trans-timeout-seconds>
</transaction-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>The transactions this EJB spawns can last for 10 minutes. -
My application deploys but when it's accessed this (below) exception is thrown. It appears that it has a problem with my weblogic.xml file. This application was previously deployed on OC4J .
Here's my weblogic.xml. I added the xsd to the classpath /WEB-INF/classes dir thinking that maybe the server can access it's http location. There are no reference to this particualr error on the web (WlsScaSpringNamespaceHandler)
Weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app
xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app classpath:weblogic-web-app.xsd
http://java.sun.com/xml/ns/javaee classpath:web-app_2_4.xsd ">
<weblogic-version>10.3.6</weblogic-version>
<description>ChargeCodeDeploymentDescriptor
</description>
<context-root>chargecode</context-root>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '2' for q
ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8b> <
1426189749780> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '0' for q
ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8d> <
1426189749788> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
####<Mar 12, 2015 2:49:18 PM CDT> <Error> <ServletContext-/chargecode> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread
: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <D2gim1K2000000000> <1426189758384> <BEA-000000> <Excep
tion while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract gov.iowa.dhr.cjis.cca.client.domain.User gov.i
owa.dhr.cjis.cca.client.ChargeCodeAdministrationService.authenticateUser(java.lang.String,java.lang.String) throws gov.iowa.dhr.cj
is.cca.client.InvalidLoginException' threw an unexpected exception: org.springframework.beans.factory.BeanDefinitionStoreException
: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.Illeg
alArgumentException: Class [weblogic.sca.engine.parse.WlsScaSpringNamespaceHandler] does not implement the NamespaceHandler interf
ace
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class pa
th resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class [weblogic.sca.engine.parse.Wls
ScaSpringNamespaceHandler] does not implement the NamespaceHandler interfaceHi, Graeme.
Seems there is an existing CR on something related from v10.0: CR353213
* WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
I hope this helps,
-Adrian -
New Deployment Error when deploying Jersey-based web app to 11gR1
while deploying my JAX-RS (Jersey) web app to WL 11gR1, I get the following exception:
SEVERE: [failed to localize] no.root.res.in.res.cfg()
<Aug 13, 2009 4:02:10 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "JAX-RS REST Servlet" failed to preload on startup in Web application: "NTM_REST".
com.sun.jersey.api.container.ContainerException: [failed to localize] no.root.res.in.res.cfg()
at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:718)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:590)
at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:383)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
Truncated. see log file for complete stacktrace
>
Since all of the Jersey jars are now in WEB-INF/lib, I am assuming this might have something to do with either missing information in the web.xml or the weblogic.xml, but not sure..
Has anyone here ever created and deployed a JAX-RS web app to weblogic? I am not sure what to try next to fix this. Thanks for any assistance.I was able to fix this part of my deployment problem by including the Jersey jars in the WEB-INF/lib directory.
Although I have gotten further, now I have a second deployment problem that I will attempt to fix before creating a new post! -
Deploy jsp page on default web app
Hi,
I have migrated from oracle application server 10g to oracle weblogic server 11g. howerver, I have a jsp page to be displayed as a welcome page to our application. In version 10g we used to deploy this jsp on $ORACLE_HOME/j2ee/home/default-web-app folder. but now after migration I'm unable to display this JSP page although this directory exists in version 11g. does anyone know what's the web context root for this folder?also in version 10g there was a folder called $ORACLE_HOME/j2ee/home/applib. I cannot find this folder anymore.
thanksYou can follow the below link to make your Application as a Default-Web-App in WebLogic 11g ...
http://jaysensharma.wordpress.com/2010/04/06/configuring-a-default-application-in-weblogic/
Please specify <welcome-file> Tag in *"web.xml"* as well...
<welcome-file-list>
<welcome-file>YourWelcomePage.jsp</welcome-file>
</welcome-file-list> -
404 file not found ,for servlets in a web app but not for html files
Hi everybody ,I have this web app on weblogic 7 .The application
works file with Tomcat 4.0 but on WebLogic server 7,I am getting
404 not found for all the servlets ,although weblogic is serving
the html files without any problems
Create a subdirectory called 'classes' and copy your servlet class file
to the 'classes' dir.
mydomain/applications/
DefaultWebApp/
WEB-INF/classes.
Modify the web.xml file located in the mydomain/applications/
DefaultWebApp/
WEB-INF/ directory
<web-app>
<servlet>
<servlet-name>
myServlet
</servlet-name>
<servlet-class>
package.name.myServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
myServlet
</servlet-name>
<url-pattern>
servlet-url-pattern
</url-pattern>
</servlet-mapping>
</web-app>
Start the default WebLogic Server.
Call your servlet from a Web browser with the following URL:
http://localhost:port/servlet-url-pattern
servlet-url-pattern is the value of the <url-pattern> element that you
defined in the web.xml file.
prakash wrote:
> Hi everybody ,I have this web app on weblogic 7 .The application
> works file with Tomcat 4.0 but on WebLogic server 7,I am getting
> 404 not found for all the servlets ,although weblogic is serving
> the html files without any problems
-
Unable to deploy Web App in Exploded format
Using WLS 6.1 sp2, I am unable to deploy a web application successfully using the
web app "ora" from http://www.thejspbook.com/examples.jspbook.zip. I've moved
the /ora directory under the /WEB-INF/applications directory.
The error I am getting is:
java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
Distributed Management [1 exceptions]
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:543)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
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 $Proxy9.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy18.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Distributed update exception
- remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
- remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
- actionName: addDeployment
- params: [Ljava.lang.Object;@10c03e
- signature: [Ljava.lang.String;@3d4a20
Distributed update exception
- remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
- remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
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 $Proxy34.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
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.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
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 $Proxy9.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy18.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.j2ee.DeploymentException: Could not load ora - with nested exception:
[java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
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 $Proxy34.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
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.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
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 $Proxy9.--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred while updating
Targets-Server on Proxy for efs-developer3:Application=ora,Name=ora,Type=WebAppComponent
- with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[weblogic.management.DistributedManagementException: Distributed Management [1
exceptions]]]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Any help is appreciated.
Thanks,
Dennisyou are probably using a older version of 6.1. please use the latest service pack. Service Packs are mostly bug fix releases and they are safe to be upgraded even on production systems. Please note - we always recommend using the latest service pack
http://www.sun.com/download/products.xml?id=47d5d3eb -
Unable to deploy web app on local weblogic server
I'm using 11g JDeveloper 11.1.1.1.0 and I got the below errors when I tried to deploy a web app to the default weblogic server. Do you have any idea?
[03:19:04 PM] ---- Deployment started. ----
[03:19:04 PM] Target platform is (Weblogic 10.3).
[03:19:05 PM] Retrieving existing application information
[03:19:05 PM] Running dependency analysis...
[03:19:05 PM] Building...
[03:19:05 PM] Deploying profile...
[03:19:09 PM] Wrote Web Application Module to C:\11gJDev_Workspace\Scheduler\BPELScheduler\deploy\webapp.war
[03:19:10 PM] Deploying Application...
[03:19:33 PM] [Deployer:149193]Operation 'deploy' on application 'webapp' has failed on 'DefaultServer'
[03:19:33 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp on DefaultServer.: .
[03:19:33 PM] Weblogic Server Exception: weblogic.application.ModuleException:
[03:19:33 PM] Caused by: weblogic.wsee.ws.WsException: When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsat.wsdl
[03:19:33 PM] See server logs or server console for more details.
[03:19:33 PM] weblogic.application.ModuleException:
[03:19:33 PM] #### Deployment incomplete. ####
[03:19:33 PM] Deployment FailedThanks. I find the issue. Should only deploy ViewController project to war and don't deploy Model project at all. Let Application level deployment take care of it.
Beside, I have a question, I currently deploy inside JDeveloper. In my standalone WLS, I deploy some of my shared library. Is there any way to specify the shared library name (goes into weblogic-application.xml) when I deploying inside JDeveloper? Or I have to deploy to ear file first, unzip, update weblogic-applciation.xml and zip up the ear file and deploy the ear file to standalone WLS by hand? -
Estimate ADF web app use size in Weblogic - quick question
Hi
1- Is there a good way to estimate or get a better accurate measurement of the amount of memory required/used by a running ADF app within Weblogic Server ?
Eg How much memory footprint does a deployed ADF app uses (not including those apps that comes with weblogic installs in the deployment section of WLS UI) ?
2- Because we have ADF as a web app, is there a usually a big increase in memory usages of ADF web app when more people are logged in ?
Any memory tool as a quick way to get the memory sizes ?
ThanksAFAIK,You need to first calculate the live data size for your application with the help of the GC logs to find out the ideal memory for your app to run :)
You can enable the GC logs -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:<Filename> to find out the live data size for your application
Tools to monitor the applications:
JConsole/VisualVM/JRMC
http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/index.html -
ModuleException in running web app in Myeclipse on weblogic server
Hi,
I got following error while runing my web app in myeclipse using weblogic 9.2
<Jul 22, 2010 10:11:48 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n_common.jar;C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n_system.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_common.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_system.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\wsrp-common.jar>
<Jul 22, 2010 10:11:49 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_10-b03 from Sun Microsystems Inc.>
<Jul 22, 2010 10:11:50 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
<Jul 22, 2010 10:11:53 AM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\Local\weblogic92\license.bea>
<Jul 22, 2010 10:11:53 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jul 22, 2010 10:11:53 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jul 22, 2010 10:11:54 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Local\weblogic92\user_projects\domains\base_domain2\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Jul 22, 2010 10:11:56 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jul 22, 2010 10:12:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jul 22, 2010 10:12:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
*<Jul 22, 2010 10:12:19 AM IST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "web1".*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
* at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
* at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
* Truncated. see log file for complete stacktrace*
*>*
*<Jul 22, 2010 10:12:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_CostBasisReport_dir'.*
*weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "web1".*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
* at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
* at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
* at java.lang.Class.newInstance0(Class.java:350)*
* at java.lang.Class.newInstance(Class.java:303)*
* at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:252)*
* at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)*
* at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)*
* at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)*
* at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)*
* at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)*
* at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)*
* at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1715)*
* at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1692)*
* at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1612)*
* at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2750)*
* at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)*
* at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)*
* at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
* at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
* at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)*
* at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)*
* at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
* at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
* at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)*
* at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
* at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)*
* at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)*
* at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)*
* at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)*
* at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)*
* at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)*
* at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)*
* at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)*
* at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)*
* at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)*
* at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)*
* at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)*
* at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)*
* at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)*
* at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)*
* at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)*
* at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)*
* at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)*
* at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
* at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
* at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
* Truncated. see log file for complete stacktrace*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
* at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
* at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
* Truncated. see log file for complete stacktrace*
*>* <Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain2" running in Development Mode>
<Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>Hi,
U will need to add two Jar files inside the "<DOMAIN_HOME>\lib" directory:
1). commons-logging-1.0.1.jar (This Jar is available with WLS Installation...)
2). log4j-1.2.8.jar (U can choose any version of log4j according to your requirement)
Example Location: *"C:\bea922\user_projects\domains\Test_Domain\lib"* Here u need to place those two Jars
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic/?page_id=2261 (Middleware Magic Is Here)
Maybe you are looking for
-
How to delete trailing zeros from a quantity field to display in ALV?
Hi there, i am retrieving the field LGMNG from LIPS table, which is of type QUAN(13). All LGMNG values there are stored as 1,000 20,000 50,000 etc. But i want my values to be displayed as 1 20 50 etc. i have tried the " shift v_variable right deletin
-
ITunes no longer recognizes I have already purchased apps!
First, I use Unix. I am VERY unhappy that Apple forces me to either have a Windows or MAC installation to sync iPhone. After getting my iPhone the way I wanted it, I dumped Windows completely, not realizing that I was thus deleting my iTunes app and
-
Dynamic text box, HTML Text with Image
Hello Everyone, I am using Flash version 8. I have used the text tool and created a dynamic text box and have attached the UIScrollBar component to it. This text box is configured to allow the use of html text to be inputted to it. I have code that r
-
Non-hex character in hex string after upgrade to Yosemite
Hi, When I try to open some of my files I get an error: "Acrobat PDF File Format is having difficulties. Non-hex character in a hex string". I could open the files before. The only thing I've done since I opened the file last was to upgrade to Yosemi
-
Automatic bank preference during APP run
Hi SAP Gurus, We have the following requirement from our client. Presently when we make payment to Vendors, we need to use funds from X (or) Y banks so we will need to manually reallocate those invoices that we will pay through the non-default bank.