Hot deploy Servlet in webapp
Can I hot deploy a servlet within a web application ?How should I do it?
(When I compile my servlet into MyApp/web-inf/classes,user this URI -
http://localhost:7001/MyApp/mypackage.myclass to invocate it ,It does not
work correctly(error 404))
Hi,
If I use weblogic.servlet.ServletServlet to try just the servlet , It
works correctly.But When I develop it in a web application , there is a lot
of hypelink to this servlet,thus I can't use the relative path reference to
that servlet.I try to set the name of weblogic.servlet.ServletServlet same
as the webapp,It doesn't work,how do I solve this problem?
Thank you
Pan
Subject: Re: Hot deploy Servlet in webapp
> http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
>
> It even explains why you shouldn't use it in production environment.
>
> Dimitri
Similar Messages
-
Hot Deploy Servlet in JAR file problem
I've been playing with hot deploying servlets in WLS 5.1. I have SP2
installed. I have things working fine with individual servlet class files. I
decided to try hot deploying with jar files.
I created a servlet, added it to a jar file, and then added the jar file to
the 'weblogic.http.servlet.classpath'. I then restarted the server. I
started the console and was able to hot deploy the servlet. So far so good.
My next test is what failed. I modified the servlet, and rebuilt the jar
file. I went back to the console, selected the servlet and hit the redeploy
button. I went back to the browser and hit refresh - nothing, still the old
servlet.
It appears that WLS isn't reloading the jar file and the updated servlet.
Everything works with individual class files.
Does anyone know how I can cause the reload of updated servlets embedded
within a jar file?
Weblogic group - If there is no way now, will support be added soon?
Thanks,
Rick
Hi,
If I use weblogic.servlet.ServletServlet to try just the servlet , It
works correctly.But When I develop it in a web application , there is a lot
of hypelink to this servlet,thus I can't use the relative path reference to
that servlet.I try to set the name of weblogic.servlet.ServletServlet same
as the webapp,It doesn't work,how do I solve this problem?
Thank you
Pan
Subject: Re: Hot deploy Servlet in webapp
> http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
>
> It even explains why you shouldn't use it in production environment.
>
> Dimitri
-
Hot deploying servlets without the admin tool
Hey, all! I was wondering if there is a way to hot-deploy
servlets without using the weblogic admin console.
With ejbs, this is done through weblogic.deploy
standalone. Thanks for your help!
Alex Kagan
WMarks,
We've done something similar for one or two low-profile apps.
You can use a tool such as wget ( Wget for Windows ) to download the installer to a known location on the user's workstation, and then run that installer as either a dynamic administrator or the system account in order to perform the installation.
As others have mentioned, there will always be applications you'll need to find workarounds for if the vendor didn't code their application to be launched as a non-administrative user.
Along with the least privilege solutions (mostly AD-based), you could investigate options such as VMware ThinApp or ZENworks Application Virtualization for apps that you absolutely have to have run as a non-admin, but remember there is always overhead introduced into the management and deployment process by re-packaging.
pitcherj -
Servlet hot deployment with a webApp
Hi everybody,
Does anybody know something about hot deployment of servlets in a web
application (.war) ?
I tried many things (setting reloadCheckSecs in properties, in web.xml,
hot-deploy from console...) but nothing really worked.
So I have to register a servlet for hot deployment in the properties, but
then it doesn't belong to the application.
Thanx,
Markus.I presume you are on 51.
we do not support hot deployment of webapps in 51. We support this in 6.0
Kumar
"M. Hammer" wrote:
Hi everybody,
Does anybody know something about hot deployment of servlets in a web
application (.war) ?
I tried many things (setting reloadCheckSecs in properties, in web.xml,
hot-deploy from console...) but nothing really worked.
So I have to register a servlet for hot deployment in the properties, but
then it doesn't belong to the application.
Thanx,
Markus. -
Servlet Hot-Deploy with a WebApp
Hi everybody,
Does anybody know something about hot deployment of servlets in a web
application (.war) ?
I tried many things (setting reloadCheckSecs in properties, in web.xml,
hot-deploy from console...) but nothing really worked.
So I have to register a servlet for hot deployment in the properties, but
then it doesn't belong to the application.
Thanx,
Markus.Are u saying that WARs are redeployed automatically but not individual servlets,
or neither?
Thanks.
Viresh Garg wrote:
Currently the automatic hot deployment of a servlet/JSP from exploaded WAR is
broken. We are in the process of fixing it for next release. You have to
redeploy your web application right now, for the change to take place.
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
"M. Hammer" wrote:
Hi everybody,
Does anybody know something about hot deployment of servlets in a web
application (.war) ?
I tried many things (setting reloadCheckSecs in properties, in web.xml,
hot-deploy from console...) but nothing really worked.
So I have to register a servlet for hot deployment in the properties, but
then it doesn't belong to the application.
Thanx,
Markus. -
Hot Deploying Servlets from the command line
Is it possible to hot deploy a servlet from the command line?
Use the mbocutil command line tool located in:
server root/bin/msg/admin/bin
You can create a folder with spaces by using quotes like thus:
./mboxutil -c "user/Tuser/Test Folder"
-Chris -
Hi!
I have requirement to hot deploy/redeploy EJBs from my program. I know that
WLS Console has a UI to some API to do that. What are APIs? How can I get
it?
Thanks in advance
DJHi,
If I use weblogic.servlet.ServletServlet to try just the servlet , It
works correctly.But When I develop it in a web application , there is a lot
of hypelink to this servlet,thus I can't use the relative path reference to
that servlet.I try to set the name of weblogic.servlet.ServletServlet same
as the webapp,It doesn't work,how do I solve this problem?
Thank you
Pan
Subject: Re: Hot deploy Servlet in webapp
> http://www.weblogic.com/docs51/classdocs/API_servlet.html#134798
>
> It even explains why you shouldn't use it in production environment.
>
> Dimitri
-
Is there a way to deploy Servlets without shutingdown the server. I've
found a way to hot-deploy EJB with 'java weblogic.deploy ....' but the
docmentation says nothing about hot-deploying servlets. Maybe it was too
simple to write it in the doc, nevertheless, I don't know ho to do it...
Kumar Allamraju a écrit :
> http://www.weblogic.com/docs45/techdeploy/hotdeploy.html#consoledeployservlet
>
> Kumar
I already knew about it, but what I wanted is a command line. All our deployments
have to be automated so that our custumers just need to upload their servlets in
a particular directory and then a shell script will be launched to deploy them.
We can do it with EJB but I haven't seen anything about servlets. I'm sure
there's away because weblogic was written in java so the servlet deployment
console must call specific java methods... but which ones?
-
Having issues hot deploying with ebcc in Solaris environment.
I keep getting an error message when hot deploying a new webapp portal using ebcc.
The error message reads" Unable to add module. appname to application descriptor for portal app. I check the portalapptools and i see the webapp in the portal management.. I also see that it added this to the database under the Portal table.. It never actually added the webapplication under in the console.. This is where it gets stuck... Basicly the steps that are missing are adding a deployment descriptor and then the webapp.. I manually did it and it works.. the problem after that is that i need to execute sync.sh after i bounce the manage server or else i dont see the webapps under portal management..
So basicly the 2 questions are:
1..Why doesnt hot deploying work in unix using X11?
2.. Why do i need to execute sync.sh everytime after every bounce?
Thanks,
OscarOscar,
Are you running the EBCC on the same machine as your server? The hot
deploy mechanism of the EBCC forces you to have the server and the EBCC
on the same machine. While the files are sync'd to the database, the
web app files never get transfered. The deployer then is syncing to
nothing.
Try running it all on one machine, locally or with a remote display.
Depending on your window manager some Java Swing applications like the
EBCC do not always display fonts well remotely but it should still work.
oscar sumano wrote:
I keep getting an error message when hot deploying a new webapp portal using ebcc.
The error message reads" Unable to add module. appname to application descriptor for portal app. I check the portalapptools and i see the webapp in the portal management.. I also see that it added this to the database under the Portal table.. It never actually added the webapplication under in the console.. This is where it gets stuck... Basicly the steps that are missing are adding a deployment descriptor and then the webapp.. I manually did it and it works.. the problem after that is that i need to execute sync.sh after i bounce the manage server or else i dont see the webapps under portal management..
So basicly the 2 questions are:
1..Why doesnt hot deploying work in unix using X11?
2.. Why do i need to execute sync.sh everytime after every bounce?
Thanks,
Oscar--
scott dunbar
bea systems, inc.
boulder, co, usa -
Hot deploying web applications
Hi,
Is there a concept of hot-deploying whole web apps?
I know that servlets and ejb's can be hot-deployed,
but can context-paths be mapped to web apps without
having to change the weblogic properties file and
restarting the server?
Thanks,
j.joseph benavidez
[email protected]
We currently do not support hot deployment of war files. You can, hot
deploy servlets and JSP.
We plan to offer this functionality in a future release.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Joseph Benavidez <[email protected]> wrote in message
news:[email protected]..
>
>
> Hi,
>
> Is there a concept of hot-deploying whole web apps?
> I know that servlets and ejb's can be hot-deployed,
> but can context-paths be mapped to web apps without
> having to change the weblogic properties file and
> restarting the server?
>
> Thanks,
> j.joseph benavidez
> [email protected]
-
hi
i have compiled the servlet in jdeveloper and set the path to oc4j../../web-inf/classes path;after compiling the class Is it neccassary to shutdown the oc4j container;
after shutdown the container only i am seeing the effect;without shutdown the container can we see the effect;we can do it Tomcat ;Is there any facility in OC4J ;
bye
chaitanyaHi, suppose you have the servlet called JoeServlet and registered as joeservlet with an argument, say, a file joe.txt. If you want to 'hot' deploy the JoeServlet you should make sure that a) the servlet's name must be unique b) the servlet's class must be in your servlet classpath (see the properties sheet aside) c) the initial argument, say: joeargument=./joe.txt, must match the the name expected by your servlet (eg. getInitParameter("joeargument")). If you have done correctly WLS must work.
Joe
"Jayesh Patel" <[email protected]> wrote:
>
>I am trying to hot deploy a simple servlet using weblogic console.
>
>I am getting error saying that
>
>"Property change error for property "RegisterNewServlet".
>Servlet could not be loaded or instantiated"
>
>I am sure that servlet class I am trying to load is in servlet
>class path.
>
>Any idea what is going wrong here.
>
>Thanks.
>
>
>
-
Currently iPlanet is not allowing us to hot deploy a modified class file(i.e., servlet) as it advertises. It doesn't seem to have a problem with jsp's however. But everytime we modify a servlet(say in an emergency), and wish to deploy, we still have to bounce the KJS. We would like to avoid this if possible. How? I heard this might be a known issue in iPlanet.
I apologize but this is a clarification of this problem. We are having a problem dynamically reloading java classes that are referenced by jsp's and servlets. The problem DOES NOT exist when trying to reload jsps or servlets themselves. We would like to reload these classes without having to restart the processes. Any thoughts would be helpful. Thanks.
-
Auto Deployment versus Hot Deployment
Hi,
Can anyone one please tell me what the real difference is between auto deployment versus hot deployment in WLS 8.1 SP4 as I am confused after reading the documentation.
Can they both be individually enabled or disabled?
Can I just disable Auto deployment and only use Hot deployment (or is hot deployment another name for manual deployment).
I know in Jrun that you can add hot-deploy directories in Jrun console, where now when a developers put a new WAR file or an updated WAR file - the server automatically deploys/redeploys it at that moment (this hot deploy directory could be any directory on the server or even on a different NTFS drive on same server).
Can this be achieved with WLS 8.1?
Thanks
JAutoDeployment automatically deploy/redeploy or undeploy the application when the application is put or removed from the applications folder under the wls domain directory. It is only available in Admin Server while it is running in development mode (default mode). It is not available if the Admin Server is running in Production mode.
Hot deployment deals with updating the application modules like ejb or war inside an ear without redeploying the complete application. This is dependent on the classloader structure of the given application. So if a ear has a webapp and a ejb with default classloader structure, then only the webapp can be hot redeployed without complete application redeploy. It can be used for apps deployed on both Admin and Managed servers and is available for both production and development mode.
Autodeployment is mainly to save the developer from running the deploy command every time while the app is being developed iteratively. Just copying the updated application in the applications folder will redeploy the app on the Admin server.
Hot deployment is mainly used to update the individual modules or jsps/servlets/classes in a module without redeploying the complete app. -
Path Changes from hot deploy to war file deploy
We are using hot-deploy in our development environment. When we move from
hot-deploy to war file deployment in the test environment, we have to recode
all of our servlets to point to a new URL for our JSPs. Obviously, this
slows up war file deployment. We'd like to keep hot deploy for development
purposes, but need to resolve this issue.
Hot deploy environment:
wlserver6.0sp1/config/mydomain/applications/DefaultWebApp_devserver linked
to our content (JSP, HTML, source code, etc.) directory, in this case
/u1/webapps/zq.
wlserver6.0sp1/config/mydomain/applications/DefaultWebApp_devserver/WEB-INF/
classes/com linked to our class library structure.
Here's what works in hot deploy:
gotoPage("/zq/jsp/ZipQuote.jsp", request, response );
We must change it to this when we move to a war file:
gotoPage("/jsp/ZipQuote.jsp", request, response );
Here's gotoPage:
private void gotoPage( String address, HttpServletRequest request,
HttpServletResponse response )
throws ServletException, IOException
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher( response.encodeURL( address ));
dispatcher.forward( request, response );
Is there anything in the web.xml file we can change so that we can continue
to use
gotoPage("/zq/jsp/page.jsp", request, response )
like in the hot deploy environment? I've played around with the
<servlet>/<jsp-file> and <servlet-mapping>/<url-pattern> pairs, but with no
luck. Any suggestions? Anything with adding a package declaration to our
JSPs and/or precompiling them in the war file?
I suppose it would be possible to put a JspLoc variable in the
<context-param> or <env-entry>. Then, gotoPage( JspLoc + "page.jsp",
request, response ) would work in both environments, but that seems
inelegant and would add complexity and overhead.
Thanks,
Eric
<servlet>
<servlet-name>ZipQuote</servlet-name>
<jsp-file>/zq/jsp/ZipQuote.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>ZipQuote</servlet-name>
<url-pattern>/zq/jsp/ZipQuote.jsp</url-pattern>
</servlet-mapping>
OK, I've removed the link from applications/DefaultWebApp/zq to
/u1/webapps/zq and linked applications/zq to /u1/webapps/zq instead. Still
working out a couple issues (like acessing other classes), but this looks
like it will work. Thanks for the help.
"Dimitri Rakitine" <[email protected]> wrote in message
news:[email protected]...
> It sounds like in your development environment you deploy your application
> as a defaultwebapp ("/"), and, in the test environment you deploy it as a
> regular webapp with context-root "zq", so, you probably should change one
> of these to match another.
>
> Eric F <[email protected]> wrote:
> > We are using hot-deploy in our development environment. When we move
from
> > hot-deploy to war file deployment in the test environment, we have to
recode
> > all of our servlets to point to a new URL for our JSPs. Obviously, this
> > slows up war file deployment. We'd like to keep hot deploy for
development
> > purposes, but need to resolve this issue.
>
> > Hot deploy environment:
> > wlserver6.0sp1/config/mydomain/applications/DefaultWebApp_devserver
linked
> > to our content (JSP, HTML, source code, etc.) directory, in this case
> > /u1/webapps/zq.
> >
wlserver6.0sp1/config/mydomain/applications/DefaultWebApp_devserver/WEB-INF/
> > classes/com linked to our class library structure.
>
> > Here's what works in hot deploy:
> > gotoPage("/zq/jsp/ZipQuote.jsp", request, response );
>
> > We must change it to this when we move to a war file:
> > gotoPage("/jsp/ZipQuote.jsp", request, response );
>
> > Here's gotoPage:
> > private void gotoPage( String address, HttpServletRequest request,
> > HttpServletResponse response )
> > throws ServletException, IOException
> > {
> > RequestDispatcher dispatcher =
> >
getServletContext().getRequestDispatcher( response.encodeURL( address ));
> > dispatcher.forward( request, response );
> > }
>
> > Is there anything in the web.xml file we can change so that we can
continue
> > to use
> > gotoPage("/zq/jsp/page.jsp", request, response )
> > like in the hot deploy environment? I've played around with the
> > <servlet>/<jsp-file> and <servlet-mapping>/<url-pattern> pairs, but with
no
> > luck. Any suggestions? Anything with adding a package declaration to
our
> > JSPs and/or precompiling them in the war file?
>
> > I suppose it would be possible to put a JspLoc variable in the
> > <context-param> or <env-entry>. Then, gotoPage( JspLoc + "page.jsp",
> > request, response ) would work in both environments, but that seems
> > inelegant and would add complexity and overhead.
>
> > Thanks,
>
> > Eric
>
> > <servlet>
> > <servlet-name>ZipQuote</servlet-name>
> > <jsp-file>/zq/jsp/ZipQuote.jsp</jsp-file>
> > </servlet>
> > <servlet-mapping>
> > <servlet-name>ZipQuote</servlet-name>
> > <url-pattern>/zq/jsp/ZipQuote.jsp</url-pattern>
> > </servlet-mapping>
>
>
>
> --
> Dimitri
-
[WLP 700] Hot Deploy fails
Hi all,
I hope qomeone will be able to help me with this: I'm trying to deploy a new portal,
but it fails.
This is the message I receive:
HotDeply failed with the following message: Unable to add module: foremPortalApp
to application descriptor for: portalApp
If i check the details, this is what I see:
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\portlets\Portlet1.portlet
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\portal.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\security.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\tools.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\user_account.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\webflow-extensions.wfx
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\ForemPortal.portal
to sync list.
Attempting sync...
Sync complete.
Searching for portalApp application descriptor...
Found it.
Error - please check log for details.
If I check the log, this is what I can read:
[INFO] HotDeployer.runDeployer() called
[ERROR] Operation timed out: connect
[ERROR] No Message
com.bea.commerce.tools.util.XmlFileException: No Message
at com.bea.commerce.tools.util.XmlFile.init(XmlFile.java:106)
at com.bea.commerce.tools.util.XmlFile.<init>(XmlFile.java:79)
at com.bea.commerce.tools.util.XmlFile.<init>(XmlFile.java:69)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployer.addModuleToApplicationDescriptor(HotDeployer.java:349)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployer.runDeployer(HotDeployer.java:117)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployThread.run(HotDeployThread.java:72)
And, finally, this is the error message I recieve in the 'dos' box from my running
server:
<02-dÚc.-02 13:56:48 CET> <Error> <PortalManager> <415454> <Attempt to created
a
duplicate Portal Definition within web App: foremPortalApp URI:/webapps/foremPo
rtalApp/ForemPortal.portal.>
<02-dÚc.-02 13:56:48 CET> <Error> <Data Synchronization> <000000> <Application:
portalApp; Persistence Failure executing DataItemMessage with Persistence Manage
r: com.bea.portal.manager.internal.PortalPersistenceManager [DR: Portal Applica
tion Data Repository, URI: /webapps/foremPortalApp/ForemPortal.portal, Action:
C
REATE]
Exception[com.bea.p13n.management.data.repository.PersistenceException: Attempt
to created a duplicate Portal Definition within web App: foremPortalApp URI: /we
bapps/foremPortalApp/ForemPortal.portal.]
at com.bea.portal.manager.internal.PortalPersistenceManager.updatePortal
Model(PortalPersistenceManager.java:239)
at com.bea.portal.manager.internal.PortalPersistenceManager.createDataIt
em(PortalPersistenceManager.java:201)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.handleDataItemMessage(AbstractDataRepository.java:814)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onDataSyncMessage(AbstractDataRepository.java:990)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onSyncRequestResultMessage(AbstractDataRepository.java:1185)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:261)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onSyncRequestMessage(AbstractDataRepository.java:1086)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:257)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepository(AbstractDataRepository.java:706)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepositories(AbstractDataRepository.java:658)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepositories(AbstractDataRepository.java:606)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onDataSyncMessage(AbstractDataRepository.java:994)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.transport.servlets.DataSyncServlet.dispa
tchMessage(DataSyncServlet.java:351)
at com.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPos
t(DataSyncServlet.java:276)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5360)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Is this meaningfull to anyone???
Thank you for helping me out...
PhilippeOk, it works now, thank you very much for your help
Bye,
Philippe
"tanya" <[email protected]> wrote:
>
there is also another workaround described here:
http://edocs.bea.com/wlp/docs70/relnotes/relnotes.htm#292355
look for "CR080390 Hot Deploy fails with "Unable to add module" message"
fyi, this will be fixed in 7.0sp2
-tanya
"Kunal Mittal" <[email protected]> wrote:
Phillippe -
I was having a similar problem. Mine was fixed by ensuring that theserver
had
an internet connection to go to the web to verify the DTD's. That might
be your
problem too, but u never know.
Thanks
Kunal Mittal
CTO, Microsec Technologies Ltd.
"Philippe Blockmans" <[email protected]> wrote:
Hi all,
I hope qomeone will be able to help me with this: I'm trying to deploy
a new portal,
but it fails.
This is the message I receive:
HotDeply failed with the following message: Unable to add module: foremPortalApp
to application descriptor for: portalApp
If i check the details, this is what I see:
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\portlets\Portlet1.portlet
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\portal.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\security.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\tools.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\user_account.wf
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\webflow-extensions.wfx
to sync list.
Adding file: D:\bea\user_projects\foremPortalDomain\beaApps\portalApp-project\application-sync\webapps\foremPortalApp\ForemPortal.portal
to sync list.
Attempting sync...
Sync complete.
Searching for portalApp application descriptor...
Found it.
Error - please check log for details.
If I check the log, this is what I can read:
[INFO] HotDeployer.runDeployer() called
[ERROR] Operation timed out: connect
[ERROR] No Message
com.bea.commerce.tools.util.XmlFileException: No Message
at com.bea.commerce.tools.util.XmlFile.init(XmlFile.java:106)
at com.bea.commerce.tools.util.XmlFile.<init>(XmlFile.java:79)
at com.bea.commerce.tools.util.XmlFile.<init>(XmlFile.java:69)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployer.addModuleToApplicationDescriptor(HotDeployer.java:349)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployer.runDeployer(HotDeployer.java:117)
at com.bea.portal.tools.portal.wizard.hotdeploy.HotDeployThread.run(HotDeployThread.java:72)
And, finally, this is the error message I recieve in the 'dos' box
from
my running
server:
<02-dÚc.-02 13:56:48 CET> <Error> <PortalManager> <415454> <Attemptto
created
a
duplicate Portal Definition within web App: foremPortalApp URI:/webapps/foremPo
rtalApp/ForemPortal.portal.>
<02-dÚc.-02 13:56:48 CET> <Error> <Data Synchronization> <000000> <Application:
portalApp; Persistence Failure executing DataItemMessage with Persistence
Manage
r: com.bea.portal.manager.internal.PortalPersistenceManager [DR: Portal
Applica
tion Data Repository, URI: /webapps/foremPortalApp/ForemPortal.portal,
Action:
C
REATE]
Exception[com.bea.p13n.management.data.repository.PersistenceException:
Attempt
to created a duplicate Portal Definition within web App: foremPortalApp
URI: /we
bapps/foremPortalApp/ForemPortal.portal.]
at com.bea.portal.manager.internal.PortalPersistenceManager.updatePortal
Model(PortalPersistenceManager.java:239)
at com.bea.portal.manager.internal.PortalPersistenceManager.createDataIt
em(PortalPersistenceManager.java:201)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.handleDataItemMessage(AbstractDataRepository.java:814)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onDataSyncMessage(AbstractDataRepository.java:990)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onSyncRequestResultMessage(AbstractDataRepository.java:1185)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:261)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onSyncRequestMessage(AbstractDataRepository.java:1086)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:257)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepository(AbstractDataRepository.java:706)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepositories(AbstractDataRepository.java:658)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.notifyDataRepositories(AbstractDataRepository.java:606)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.onDataSyncMessage(AbstractDataRepository.java:994)
at com.bea.p13n.management.data.repository.internal.AbstractDataReposito
ry.executeMessage(AbstractDataRepository.java:252)
at com.bea.p13n.management.data.message.internal.JvmCommunicationPipe.se
ndMessage(JvmCommunicationPipe.java:116)
at com.bea.p13n.management.data.transport.servlets.DataSyncServlet.dispa
tchMessage(DataSyncServlet.java:351)
at com.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPos
t(DataSyncServlet.java:276)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5360)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Is this meaningfull to anyone???
Thank you for helping me out...
Philippe
Maybe you are looking for
-
I thought I'd post about my experience and thoughts on my new 24" iMac. I know when I'm thinking of buying something new, it's always helpful to read or talk to others who already have that equipment. I have had the iMac for a week now and one word p
-
How to remove spool generation setting for SM37 job.
Hi All, please help ASAP as this is production issue. There is a job in SM37 which is running daily and it is creating a spool with nearly 10000 pages. we dont need this spool as it is now not useful to us.We want to run this job without generating t
-
Maintenance activities for a productive machine
Hi, Although a BASIS support issue, does anybody have information regarding basic maintnance operations thas need to be performed when a machine is running in a productive situation? We have a hard drive that is rapidly filling up with information an
-
Don't Display Japanese Title Menu
Numbers Title Menu is not Japanese Display. But after 2013Years ago Numbers Title Menu is only English Dispaly. I want to Change to Japanese Menu Tile from English,
-
Problem update nokia 5800 with my product key
hi all, like subject i've a problem with my nokia 5800.I can't do the update for my nokia because for my code 0596011 isn't avaible the upgrade to versione v40...i would to know when i can do this upgrade and if i have to attend a lot...thanks for at