Deploying web application in OAS Release 3 (10.1.3.1.0) in exploded format
How to deploy a web application in exploded format in OAS server.
Refer these:
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28221/depapp003.htm#JIEJB00906
http://download.oracle.com/docs/cd/B31017_01/migrate.1013/b31269/servlets_weblogic.htm#i1018012
Thanks
Shail
Similar Messages
-
Error while deploying web application in OAS
I was trying to deploy a web application in OAS through enterprise manager. But I get the following error. Can any one please help me.
An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknownAs the error message tells, did you make sure you have a correct/valid archive file? You might try deploying it from command line to make sure issue isn't at EM side.
For 10.1.3 refer:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/overview.htm#CJAJHJIA
For 10.1.2 refer:
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEIJGHDG
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEICHFGJ
Thanks
Shail -
Deploying web application on OAS
Hi,
I have created a web application in eclipse.
It is up and running in tomcat and OAS server on my local system. The host address is given as : localhost
We also have a development server which is also runs on OAS.
I have the dev server address/username/password
I would like to know how to put the web application in the dev server, so that anybody can access it.User,
Nope, not yet.
Have a look at the release notes for the details.
John -
Serious problems deploying web application with enterprise manager
Hi all,
First I have to say that this thing that has happened to me today is freaking bizarre... I was trying to make a new deployment of a web application on OAS 10.1.2, using the Enterprise Manager. The application is using Spring and DWR, therefore it has some XML files included. The application worked perfect in JDeveloper 9.0.4, our development tool, and I've previously developed very similar applications in the past, and deployed them on the same server without any problem.
Today, when I was trying to deploy my .ear file, I got this error message:
The file specified, "FindAnExpert.ear" is not a valid ear file.
I tried with the .war file, and this happened:
Base Exception:
java.util.zip.ZipException
invalid END header (bad central directory offset). invalid END header (bad central directory offset)
I checked that all the included .jar files were fine, I even replaced them with new ones. I started to remove files from the .war file and discovered that without the XML files I was able to deploy the application. Then I copied over those XML files through FTP and the application is working correctly, but I was not able to use the Enterprise Manager to deploy it!!! The XML files are well formed, on of them contains the details of a data source that I also reviewed to be sure that it was correctly configured... This is nuts... any ideas over there???
Thanks in advance,
LuisLuis,
If all of the files uploaded piecemeal worked fine, then I believe your problem to be with your deployment descriptor(s). Also, note that the .war file lives in a different directory:
C:\oc4j\j2ee\home\applications\Application-Name
Perhaps if you have time you could post all of the associated deployment descriptor files. Log files from the C:\oc4j\j2ee\home\log\oc4j directory would also help to troubleshoot your deployment issues. You can turn up the logging level to "FINEST" for maximum output to your log file.
-Michael -
Failed to deploy web application with same name twice
Hello-
On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
When I tried to deploy it again with the same name I got this:
Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
Resolution:
Please call Oracle support.
Base Exception:
java.lang.NoSuchMethodError
null. java.lang.NoSuchMethodError
Is there a solution for this?
RegardsI think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
Myrra -
Failed in deploying Web Application (.ear file)
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
ThanksHi,
specifying a leading slash shoul be enough to let the system know that it is an absolute path.
Regards,
Christian Buchegger
Developer Relations Engineer
BEA Support
TJ schrieb:
I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
in webnohup.out.
I did include this application in config.xml, as follows:
<Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
<EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
<WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
<EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
</Application>
In webnohup.out file, the following exception is thrown:
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
not found at ./opt/weblogic6/config/ejbjars/file1.ear>
<Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
ava:431)
at weblogic.management.mbeans.custom.Application.load(Application.java:3
87)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
in Path of config.xml since it will append the Weblogic home to the Path defined
in config.xml.
Is this correct or I missed anything?
How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
Environment: SUNOS, Weblogic 6.1.
Thanks -
How to deploy web application to Weblogic?
Does anyone know how to deploy web application to Weblogic8.1?
Hello,
I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: java/lang/StringBuilder
at servlets.ResponseServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers). -
How to deploy web application .war file into SAP NetWeaver Engine?
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
- Hide quoted text -
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advanceHi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin -
WEB Server And Database Space requirements for deploying Web Application
Hi,
We are in requirement of WEB Server And Database Space requirements for deploying our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
application.......
Regards,
Sreenivasa M SHi,
Please refer this link and check if it helps:
http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
Regards,
Azam Khan -
500 Internal Server Error when deploying struts application on OAS 10.1.3
I've installed the Oracle Application Server several times, this time with 10.1.3 our application doesn't run and we get the error shown below.
Any ideas? It looks to be something with struts or tiles. struts.jar and tiles.jar is included in our deployed j2ee application WEBI-INF/lib dir. The application was built with jdeveloper 10.1.2 and compiled with java 1.4.
We load a custom log4j.properties, and nothing is even getting logged except for the log4j init stuff, nor is this NoSuchMethod error showing up in any other of the many different log files. (That I can find anyway)
500 Internal Server Error
java.lang.NoSuchMethodError: org.apache.struts.tiles.DefinitionsUtil.populateDefinitionsFactoryConfig(Lorg/apache/struts/tiles/DefinitionsFactoryConfig;Ljavax/servlet/ServletConfig;)V
at org.apache.struts.tiles.TilesPlugin.readFactoryConfig(TilesPlugin.java:267)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:159)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Figures, I've been fighting with this for the past day and a half and I figure it out shortly after I post the question.
It turns out the tiles.jar that was in our WEB-INF/lib directory was an old one. It looks like the newer struts.jar (from jdeveloper) we're using includes the tiles information. Once I removed tiles.jar, commons-dbcp, pool, resources, and services, it works now.
It looks like jdeveloper overwrites most of those files with it's built in struts integration, and we've just been lucky before that struts.jar was being loaded before tiles.jar and something with oas 10.1.3 is loading the jars in a different order--but I'm just guessing here. -
Problem deploying web service to OAS 10.1.2.3
Hello!
I'm having an issue deploying a web service to Oracle Application Server (OAS) 10.1.2.3.
I completed the tutorial to create a web service here:
Link: [http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm]
However, the tutorial only utilizes the local embedded OAS (10.1.3.3.0).
So far I made the following change in my web.xml file:
(now using):
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
(generated, now commented out):
<!--<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">-->
I then packaged the application as WAR file. I also tried a EAR file. I am able to deploy okay to the server, but I cannot find my web service.
Can someone please help me determine what I'm doing wrong? Thanks.Trying a J2EE 1.4 sample for a J2EE 1.3 environment is quite difficult, J2EE 1.3 doesn't support WebServices out of the box.
On the other hand it is not quite easy to find the 10.1.2.x samples... Either upgrade your OC4J to 10.1.3 or try these samples: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
--olaf -
Deploy web application in jbuilder 9 with weblogic 7 problem
when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
where options include:
-help Print this help message.
-version Print version information.
-adminurl <https://<server>:<port>> The URL of the administration server: default
http://localhost:7001
-user <user> A user other than the default of
"installadministrator"
-password <password> Specifies the password on the command line.
If this option is absent the user is
prompted.
-verbose Displays additional status during the
deployment process, including notifications
when the application is prepared and
activated on each target.
-debug Displays debug level messages to the standard
output.
-examples Display example usage of this tool.
-upload Causes the specified source file(s) to be
transferred to the adminstration server. This
is used when the Deployer tools is not being
used on the same machine as the adminstration
server and the user does not otherwise have
access to place the targeted files on the
adminstration server.
-delete_files Causes the server to remove the files that
are specified in the file list and leave the
application activated. This option is valid
only for unarchived web applications.
-remote Signals that the tools is not runnning on the
same machine as the adminstration server and
that the source path should be made passed
through unchanged as it represents the path
on the remote server.
-nostage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged and the
original source is be used.
-external_stage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged but the
value of the staging path will be used when
preparing the application.
-stage Sets the stagingMethod staging attribute on
the application when it is created so that
the application will always be staged. This
value will override the stagingMethod
attribute on any targeted servers.
-nowait Once the action is initiated the tool will
print the task id and exit. This is used to
initiate multiple tasks and then monitor them
later using the -list action.
-timeout <seconds> The maximum time in seconds to wait for the
completion of the deployment task. When the
time expires the current status is printed
and the program exits.
-source <archive file or directory> Location of the file or directory that
represents the enterprise component or
application tha is being (re)activated. If
the source file is relative it is relative to
the current directory, unless the -remote
option is used. To specify individual files
within an application for reployment or
addition list them at the end of the command
line.
-name <application name> The name of the application being deployed.
-targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
cluster names. Each target may be qualified
with a J2EE component name. This enables
different components of the archive to
deployed on different servers.
-id <task identifier> Optional client supplied unique identifier
for the deployment task. The id is first
specified to -activate, -deactivate,
-unprepare or -remove. It is then used later
as an argument to -cancel or -list.
-activate (Re)activates the <source> application on the
<targets> with the <name>.
-deactivate Deactivates the application <name> on the
<targets> leaving an staged application files
in a state where the may be quickly
reactivated.
-unprepare Deactivates and unloads classes for the
application <name> on the <targets> leaving
an staged application files in a state where
the may be quickly reloaded.
-remove Deactivates the application <name> on the
<target> and removes any files that were
staged for this application. If there are no
longer any targets for the application, the
associated configuration is completely
removed.
-cancel Atempts to cancel the task <id> if it is has
not yet completed.
-list Lists the target status of each task <id>
-deploy a convenient alias for activate.
-undeploy a convenient alias for unprepare.
Optionally a list of the specific files in the archive that are to be
redeployed may be specified. If a directory is specified the entire subtree is
redeployed.
Full documentation on this tool is available at:
http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.
Type java weblogic.Deployer -examples for example usage.you use "deploy" under DOS-Mode to deploy your web application?
i found some differences between "deploy" and "redeploy" function in jbuilder 9.
when i choose "deploy" ,jbuilder shows me the commond below:
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility -
How to create separate log files for each deployed web application in oc4j
Hi All,
I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
Thanks and Regards,
Ravi.Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
John H. -
500 Internal server error while deploying web applications in jdeveloper
I am getting the following error while trying to deploy my web application in Jdeveloper:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response.
Please consult the application log for details.
Please help me.
Or where can i find the detailed log regarding this.
I even tried to remove the shared libraries / common logs/ set the development true in orion-web.xml file but to my disappointment..
Please help me !!!!
Regards,
ShailyThanks for ur help
Jdeveloper version is 10.1.3.2.0
I have deployed simple application.
I even went thru the log files located at :
$ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log:
$ORACLE_HOME/j2ee/oc4j_soa//application-deployments/gateway/oc4j_soa_default_group_1/application.log
but it was not of any help.
Can you help me figure out where i can get the detailed log file. Very recently i have started using jdeveloper,so i am having difficulty figuring out the log also. -
Error deploying Web application
Hello Everyone, i have a problem with my web application that is not able to be deployed.
the first time i deployed the application everything worked correctly i performed the contex lookup with no problem as was able to connect to the EJB application, i performed some changes, and now everytime i tried to deploy again the application i get this error
[#|2010-02-12T23:03:34.661+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;Servlet;WebServiceInterface;http://vmlinux:8024/WebServiceInterface/WebServiceInterface;|DPL5306:Servlet Web Service Endpoint [WebServiceInterface] listening at address [http://vmlinux:8024/WebServiceInterface/WebServiceInterface]|#]
[#|2010-02-12T23:03:38.107+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;_RequestID=3610621f-da38-477d-b37a-088311a00a42;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager] in the scope of the module called [product/servers/glassfish/domains/domain1/applications/j2ee-modules/WebServiceInterface]. Please verify your application.
at com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:702)
at com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs(WebBundleDescriptor.java:722)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.getAllPersistenceUnitDescriptors(PersistenceProcessor.java:171)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:132)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:211)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:172)
at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:122)
at com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:79)
at com.sun.enterprise.deployment.backend.ModuleDeployer.handlePostDeployEvent(ModuleDeployer.java:636)
at com.sun.enterprise.deployment.backend.ModuleDeployer.postDeploy(ModuleDeployer.java:625)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:188)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
|#]
any ideas for this?? Thank you in advance regards
Edited by: White_Merovingian on Feb 13, 2010 5:55 AMyeah these stacktraces are big scary blobs of text, but somewhere hidden among all the nonsense there is always the little piece of information you need:
"Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager]"
So you are referring to a persistence unit in ReferenceServiceLocalBean that does not seem to exist. Do you have your persistence.xml deployed in the META-INF directory of the EJB module? Does it contain a persistence unit with the name that is declared in the bean?
Maybe you are looking for
-
Can't open PDF files with IE10.
I cannot open PDF files with IE10. I had other issues, as well, with IE10 so I went back to IE9. Then it was suggested that not updating to the latest edition of IE could lead to security issues and sure enough my computer was hacked shortly thereaft
-
And how do I get them back? (If I can at all.)
-
Display is Grey When Waking from Sleep Mode
Anyone see this symptom. When we open the lid and the system wakes up, the display has a grey-ish overtone on the lower portion. It progresses and then brightens to normal operation. Is this the beginning of a display going to die? Thanks in advance.
-
Upload to the Distribution Service
Hi I try to upload our publication to the distribution service since yesterday at 6 O'clock which is for me now 17 hours. Is it possible that this process is extreemly lame? i let it load again after a flah plugin crash until i went home yesterday. t
-
Itunes error 0x80092013 - can't log into iTunes
I know there are a lot of posts on this error...itunes error 0x80092013. I can't log in. Apple please put this on the top of your list to fix. I can't log in, can't update my family's FOUR iTouch. Nothing was changed or installed before, during, or a