How to deploy an Ear File into Weblogic Server
Hello,
i have created an ADF application successfully and make it as an EAR file.
How can we deploy that EAR file into weblogic server..?
Let me know step-by-step procedure.
Regards.
Hi,
Steps to deploy EAR file on Weblogic server:
1) login to http://<hostname>:<port>/console
2) Go to deployments and then install your ear on weblogic server.
Also you will need to create a data source with same name as given in your Application Module.
Following link contains steps for data source creation - http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html ( section - "Configure a JDBC Data Source")
Thanks,
Randhir
Similar Messages
-
How to deploy a war file on Weblogic Server 7.0??
Hello Everyone
I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
This is how i have done it, but this is not working---
(1) First i created a directory structure for the web application according to J2EE Specification.
C:\Work\
myServletWAR\
META-INF\
WEB-INF\
classes\
HelloServlet.class
web.xml
i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
(2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
jar -cvf TestServletWAR.war .
This creates the TestServletWAR.war file in myServletWAR dir.
Here is how my Servlet and web.xml looks like...
Servlet code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloServlet extends HttpServlet
public void doPost ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
doGet( req, res );
public void doGet ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
res.setContentType( "text/html" ); // Can also use "text/plain" or others.
PrintWriter out = res.getWriter();
// Get the requestor's IP address (See JavaDocs to see how to get other info):
String addr = req.getRemoteAddr();
// Create output (the response):
out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
out.println( "</H1></BODY></HTML>" );
out.close();
************************Servlet Ends Here **************************
web.xml
---------------------------------------------------------- <!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>
<display-name>myServletWAR, a first Web Application</display-name>
<description>
This is a simple web application containing a single servlet
of the "Hello, World" variety.
</description>
<servlet>
<servlet-name>myHello</servlet-name>
<servlet-class>HelloServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myHello</servlet-name>
<url-pattern>/myHello</url-pattern>
</servlet-mapping>
</web-app>
****************************web.xml file ends here********************
After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
http://localhost:7001/myServletWAR/myHello
I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
Looking forward for your help
Thanx in advance
Nishahi i have read ur answer regarding deploing a servlet in weblogic 7.0
i am facing another problem
when i try to access the servlet inside my classes directory it throwa an error stating this :
IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
KINDLY TELL ME
PUNEET JAIN
<May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
ebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
<May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
vlet failed with ServletException
javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> -
Difficulty deploying an EAR file to WebLogic 10.0
Hello, I've been having severe difficulty trying to deploy a particular EAR file into WebLogic, using either the Weblogic's wldeploy Ant task or doing a manual upload of the EAR using the Weblogic Console. Looking at the error stack below, for some reason there may be a keystore reading problem, but I'm not certain why keystores are important here while deploying an application. I'm also puzzled because when I start WebLogic, the server output claims it read the wlidentity.jks keystore without a problem:
<Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090171> <Loading the iden
tity certificate and private key stored under the alias weblogic from the JKS ke
ystore file C:\myprograms\bea\user_projects\domains\business_domain\wlidentity.j
ks.>
<Jun 27, 2008 6:29:18 PM EDT> <Notice> <Security> <BEA-090169> <Loading trusted
certificates from the JKS keystore file C:\myprograms\bea\user_projects\domain
s\business_domain\wltrust.jks.>
Here is the error message I keep getting:
<Jun 27, 2008 6:35:18 PM EDT> <Error> <Security> <BEA-090133> <Could not load a
JKS keystore from the file C:\myprograms\bea\user_projects\domains\tomcat_doma
in\wlidentity.jks. Exception: java.io.IOException: Keystore was tampered with, o
r password was incorrect>
<Jun 27, 2008 6:35:18 PM EDT> <Warning> <HTTP> <BEA-101162> <User defined listen
er weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEES
ervletEndpointException: Failed to prepare wsse module: alsb/samlrecipient/Consu
merR.war.
weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module
: alsb/samlrecipient/ConsumerR.war
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:32)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:480)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
entsManager.java:149)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:129)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:29)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:480)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.getX509Credent
ial(ServerBSTCredentialProvider.java:168)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
FromContext(ServerBSTCredentialProvider.java:149)
at weblogic.wsee.security.bst.ServerBSTCredentialProvider.initCredential
s(ServerBSTCredentialProvider.java:99)
at weblogic.wsee.security.configuration.WssConfiguration.initDefaultConf
iguration(WssConfiguration.java:327)
at weblogic.wsee.security.configuration.WssConfiguration.init(WssConfigu
ration.java:119)
Truncated. see log file for complete stacktrace
>
Anyone see this before--know what the solution to it might be? The java.lang.NullPointerException above at ServerBSTCredentialProvider.java:168 might point quickly to the problem, so if any Weblogic team members can clue me in on what the problem is there, that would be great.
Thanks,
GlenFixed the problem. I was following these instructions[1] to set up my ALSB/WebLogic configuration, and had entered the wrong password for the "IntegrityKeyStorePassword" field.
[1] http://forums.bea.com/thread.jspa?threadID=300003724 -
Deploying the .ear file on weblogic 10.3.
I Am deploying the .ear file on weblogic 10.3. but we got the exception on deployment time mention below in mail.
1*. Unable to access the selected application.*
*2. Exception in AppMerge flows' progression*
*3. Exception in AppMerge flows' progression*
*4. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
*5. VALIDATION PROBLEMS WERE FOUND problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>; problem: cvc-datatype-valid.1.1: string value '' does not match pattern for war-pathType in namespace http://java.sun.com/xml/ns/javaee:<null>;*
any body help me.Thanks in advance.Hi Crimsonious,
Did u solve your problem because i am having the same issue right now!
Carl -
Problem in deploying an ear file in weblogic 8.1 SP5
Hi,
When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
[EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
The config.xml is
<?xml version="1.0" encoding="UTF-8"?>
<Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
<Server ListenAddress="" ListenPort="7001" Name="myserver"
NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
<SSL Enabled="false" HostnameVerificationIgnored="false"
IdentityAndTrustLocations="KeyStores" Name="myserver"/>
</Server>
<JMSFileStore Directory="rmfilestore" Name="FileStore"/>
<WSReliableDeliveryPolicy DefaultRetryCount="10"
DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
<JDBCConnectionPool
DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
Targets="myserver" TestConnectionsOnReserve="true"
TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
<JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
PoolName="LiferayPool" Targets="myserver"/>
<Security Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<EmbeddedLDAP
CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
<SecurityConfiguration
CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
Name="mydomain" RealmBootStrapVersion="1"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<JMSServer Name="WSStoreForwardInternalJMSServermyserver"
Store="FileStore" Targets="myserver">
<JMSQueue CreationTime="1155021233552"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
<JMSQueue CreationTime="1155021233723"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
</JMSServer>
<MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
</Domain>
The ejb-jar.xml is :
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>CounterServiceEJB</display-name>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<home>com.liferay.counter.service.ejb.CounterServiceHome</home>
<remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
<ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<resource-ref>
<res-ref-name>jdbc/LiferayPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<res-ref-name>mail/MailSession</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<unchecked />
<method>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>
The weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Please Help!
Thanks in Advance.
- KarthikeyanHi,
I am still getting the error even after changing the JNDI name.
The modified weblogic-ejb-jar.xml is:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>mail/MailSession</res-ref-name>
<jndi-name>mail/MailSession</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Thanks..
- Karthikeyan -
Got this error after deploying ear file into OC4J server.
Hello Frnsz,
Can any one help to resolve the following error :)
Got this error after deploying ear file into OC4J server.
2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
Cheers,
CapCross posted in correct forum
[http://forum.java.sun.com/thread.jspa?threadID=5302192] -
How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
Hi
How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
ThanksHi
when i am going through your bleow link.
I am not able understand the 3.3.1 step :2
http://download.oracle.com/docs/cd/E15523_01/web.1111/e10240/basics.htm#i1010040
edit this file in the Web Configuration,
configuration of an application called "my_application" with a form module called "form=hrapp.fmx":
can deploy only.fmx file ?
if not how to find the realation between my_application and hrapp.fmx ?
Thanks in Adavance
Regards
Ram -
How to deploy DAC enterprise application on WebLogic Server
hi,
i have installed DAC server on Linux machine and DAC client on windows machine. I can able to log in to DAC by stand alone mode and
Currently we are unable to login to the DAC 11g client by FMW(Web mode)
To login into DAC client by FMW mode we need to deploy DAC enterprise application on WebLogic Server, could anybody help how to deploy DAC enterprise application on weblogic server ?
Thanks in advance..
Vinothfollow this doc http://docs.oracle.com/cd/E35287_01/fusionapps.7964/e14849.pdf
mark if it helps -
Error coming while deploying portal EAR file into the weblogic Portal 8.1..
HI Guys,
When I deploy the latest PORTAL EAR file into the BEA portal environment we
receive a number of these errors:
####<Feb 27, 2008 4:36:14 PM PST> <Warning> <netuix> <dev147> <portalName>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<BEA-423171> <
java.lang.Throwable: New portlet file
[portlet/portletname.portlet] and existing portlet
file null have the same definition label
Lebel Name. Will not create a definition for
portlet file [portlet/portletname.portlet].
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.c
reatePortletDefinitionInternal(PortletDefinitionDelegate.java:1442)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.c
reatePortletDefinition(PortletDefinitionDelegate.java:906)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManagerImp
l.createPortletDefinition(PortletDefinitionManagerImpl.java:520)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManager_41
0kn4_EOImpl.createPortletDefinition
(PortletDefinitionManager_410kn4_EOImpl.java:476)
at
com.bea.netuix.servlets.repository.PortletFilePersistenceManager.create
(PortletFilePersistenceManager.java:189)
at
com.bea.netuix.servlets.repository.PortletFilePersistenceManager.createUpdatePo
rtletDefinitions(PortletFilePersistenceManager.java:304)
at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.sync
(PortletFilePersistenceManager.java:609)
at
com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$Sync.run
(AbstractFilePersistenceManager.java:187)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:147)
at
com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup
(AbstractFilePersistenceManager.java:86)
at com.bea.netuix.servlets.manager.PortalServlet.initFilePoller
(PortalServlet.java:511)
at com.bea.netuix.servlets.manager.PortalServlet.init
(PortalServlet.java:242)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet
(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances
(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet
(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet
(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets
(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets
(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources
(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted
(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start
(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate
(J2EEApplicationContainer.java:2222)
at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateCo
ntainer(SlaveDeployer.java:2521)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit
(SlaveDeployer.java:2439)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit
(SlaveDeployer.java:2156)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit
(SlaveDeployer.java:2255)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare
(SlaveDeployer.java:2150)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare
(SlaveDeployer.java:2402)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask
(SlaveDeployer.java:884)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta
(SlaveDeployer.java:592)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate
(SlaveDeployer.java:501)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute
(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Thanks in advance...
Regards,
Sandeep KBefore deploying the app, you could check database table PF_PORTLET_DEFINITION for any entries there which might conflict with yours.
--Stefan -
EXCEPTION in deploying ear file on weblogic server 11g
Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed
I have unchecked the check box Auto generate and synchronize weblogic JDBC descriptors during deployment in application properties under the deployment node. I also have created same jdbc datasource with name Connection1 and JINDI name jdbc/Connection1 on my weblogic server.
Exceptions that application throwing are.
Message icon - Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=hr for data source Connection1
But when I tried to deploy this from jdeveloper deployment console directly on the server it deployed successfully and starts listening requests.
please give me solution of this problem.
Thanks in advance
Edited by: Rao on Nov 29, 2012 10:22 AM
Edited by: Rao on Nov 29, 2012 10:23 AMI have resolved this exception. Exception occur due wrong settings in weblogig_Application.xml file remove Data source information from this file and provide datasource on weblogic server.
-
Urgent urgent urgent how to convert 20 ear file into 1 sca file
hi experts, friends
help me if are intersted with this question ( its very urgent )_
my questions is
1 . how to convert the 20 ear files into 1 sca file
2 . how can i do that is there any 3rd party tool is there to convert
descripation :- i have 20 application which are developed by ui webdynpro java . 20 application are in .ear
files, that i can see in sdm tool. now i need to pack or bundil all 20 application or .ear files into 1 .sca file.
plz help me to resolve this issue
regards
rajaRaja,
The following conversions are possible:
PAR to EAR
EPA to SDA
EAR to SDA
SDA to SCA
Check with this SAP Help to make SDA file first and then
SDA to SCA.
[Creation of SDA and SCA Archives|http://help.sap.com/saphelp_nw70/helpdata/EN/a3/782240da03e569e10000000a155106/frameset.htm]
Check out this SAP Note as well :
Note 696084 - EP 6.0: How to create SDA files for EPA or PAR files
You can use the Command Line tool if your environment is SAP NetWeaver 7.1 Composition Environment (CE).
[Composition Environment Command Line Tool |http://help.sap.com/saphelp_nwce10/helpdata/en/45/5a3613dca22a4ce10000000a11466f/frameset.htm]
or
Follow the way mentioned here.
[Adding Transport Packages to NWDI|http://help.sap.com/saphelp_nw70/helpdata/EN/45/bd060552fd731de10000000a1553f6/content.htm]
Regards,
Karthick Eswaran
Edited by: Karthick Eswaran on Jun 20, 2008 8:50 AM -
Reg: How to Run a Script File in WebLogic Server 10.3.3
Hi WebLogic Experts,
In our project we are using WebLogic Serve 10.3.3. I need to run one script file. could you please suggest me where should i need to place that script file in WebLogic Server 10.3.3 and How to run & stop that Script file.?
please experts i waiting for your's reply..
Thanks & Regards,
Induja..1. You can put a command line into startWebLogic.sh to start your script file.
2. In your proyect you can create a java class to run the script file.
3. You can create a java class to run the script file an setup it like a startup class into weblogic server.
4. You can create a java class to run the script file an setup it like a job scheduler into weblogic server.
In what time you need run this script file? -
WLS 6.1, SP1, Solaris 8.
When deploying an ear file, I get this stack trace:
javax.management.MBeanException
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:979)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:932)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:917)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:620)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
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:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy13.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:837)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:936)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:856)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:772)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:272)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:146)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
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:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy5.start(Unknown Source)
at weblogic.management.Admin.startApplicationManager(Admin.java:1155)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
with this error message:
<Mar 5, 2002 3:15:10 PM GMT+00:00> <Error> <Management> <Error deploying application
./config/lnuatgorwlsdomain2/applications/NostroCheck.ear: java.lang.reflect.UndeclaredThrowableException>
A number of other people in other newsgroups have had similar problems, but no
good concrete answers so far.
This has only recently started to happen, and only on Solaris. Ear file deploys
just fine on NT (same version/SP of WLS on both environments).
Attached is a segment of log file which may give someone more details.
simon.
[weblogic-error-log-segment.txt]Can you show us the full stack trace / error message?
-- Rob
Bala wrote:
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala. -
How to deploy a WAR file in JRun server?
hi,
I created one war file, now i want to deploy that file in JRun server. can anyone give me an idea of how to deploy that war file in server...By following the deployment documentation for your server. This isn't a general purpose "help me do everything" forum
-
Store File into weblogic server location
Hi,
I want to store Upload file into weblogic servers location Using programatically.
Can any one please help ? Its very urgent.
Thanks &Regards
Bhaskar
Edited by: 920422 on Mar 20, 2012 3:18 AMHi EJP, This should also be removed from the Java Card forum as it doesn't relate to smartcards at all.
Shane
Maybe you are looking for
-
Knowing remaining space in a pdf
I need to know how many lines are empty in a pdf file that my program is creating. The idea is that I read some data from a file. The amount of data is everytime different, varying from one page to twenty. I build a pdf file with this data and also i
-
Hi, Hyperion Financial Reporting. how to merge 2 column values in single cell? Thanks
-
C3-00 chat : "no service available" + OVI mail won...
Hello all, Bought a C3-00 goldenwhite 3 weeks ago, though never succeeded to connect to all the OVI applications (OVI chat, OVI mail + communities), which are the two main features that are the reason why i bought this phone - chosen connection mode
-
Recurring [-4008]: Unknown user name/password combination
Hi, I am using MaxDB 7.6.00 BUILD 012-123-102-632 with JBoss through the JDBC Driver 7.6.0 on a Windows XP box. Sometimes, seldomly, after a reboot, I have the error : 2008-05-28 14:52:40,093 WARN http://org.jboss.resource.connectionmanager.JBossMana
-
Hp 15d009sx audio input does'nt work
Hey!!!! I got a hp 15d0009sx laptop from friend and it only contains one 3.5mm port means a combo audio port.... i want to connect my guitar through that jack using 7mm to 3.5mm converter bt it does'nt work as my old laptop which have 2 3.5mm output