Hot deployment with jboss
while updating a jar file dynamically, am getting an error as "CLASS CAST EXCEPTION "
if i restart the server its working fine...
without restarting i want to access that jar information...
is thr any XML config setting... anyone can help ASAP.
Hello bg.
i have the same problem: jboss 4.00 and jboss 4.02
jsf runs under windows, but not in linux
if you have the solution, please tell it.
greetings
Similar Messages
-
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 -
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. -
Change tomcat default port with JBoss
Hello,
I was looking for the server.xml file for tomcat that's deployed with jboss to change its port but I cannot seem to find that file. Question: how to change the port setting for tomcat that's shipped with jboss 3.2.3?
Thanks in advance!
Alan
09:00:45,554 INFO [SARDeployer] nested deployment: file:/C:/user/product/JBoss/jboss-3.2.
3-src/build/output/jboss-3.2.3/server/default/deploy/jbossweb-tomcat41.sar/tomcat41-servic
e.jar
09:00:46,676 INFO [STDOUT] Apache Tomcat/4.1.29
09:00:46,796 ERROR [Http11Protocol] Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:30
2)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)sorry, it is in the jboss-service.xml file and here is my modification (8080 to 8088)
<!-- A HTTP/1.1 Connector on port 8088 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port="8088" minProcessors="2" maxProcessors="100"
enableLookups="true" acceptCount="10" debug="0"
connectionTimeout="20000" useURIValidationHack="false"/>
JMi -
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
-
Hi,
Does OC4J support hot deployment (with exploded directory structure) ? If so, how to achieve this?
Thanks in advance,
MoinHave a look at Debu Panda's blog http://radio.weblogs.com/0135826/2004/05/17.html#a30
This is a really good source for information on OC4J related issues. -
Ear file cant be deployed from eclipse with jboss 3.2.7
I am using eclipse with JBOSS IDE1.5
I want to work with EJB in eclipse. I have created configured all neccessary directory structure , xml files and jar,war,ear files(using XDoclet Configureations).
But i am not able to deploy my "ear" file . At that time i am getiing following message in JBOSS Console.
16:48:41,937 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-3.2.7/server/default/deploy/FiboApp.ear
16:48:42,421 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the <home> element.
Info : Class not found on 'tutorial.interfaces.FiboHome': No ClassLoaders found for: tutorial.interfaces.FiboHome
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote interface, if any, in the <remote> element.
Info : Class not found on 'tutorial.interfaces.Fibo': No ClassLoaders found for: tutorial.interfaces.Fibo
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 7.10.1
Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.
Any suggestions or remarks will be greatly appreciated
Thanks in advance
satheeshAtlast it worked. The problem was that in my ejb-jar.xml I was referring to 2_0.dtd. I have changed that to 2.1 and it worked.
Older ejb-jar.xml had:
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "C:/jboss-4.0.1sp1/docs/dtd/ejb-jar_2_0.dtd">
I changed that to:
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1" 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/ejb-jar_2_1.xsd">
And it worked.
-Sathish -
Soap request with attachment --problem in deploye to jboss useing Jdevelope
using Jdeveloper and oc4j application server i made two application.
In application one i exposed a web service method.In this application their is a handler class which able to handle soap request and response with attachment.
In application two a client is sends a soap request with attachment.
If i deploye it in oc4j it is working fine. But if i Deploye to JBoss server [i made a jboss application server connection] and then trying to send the soap request with attachment from the client application i gets the following errors--
Exception in thread "main" javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:152)
at etrans.TripBean.a.ClientGateWay.msgEnvelope(ClientGateWay.java:50)
at etrans.TripBean.a.ClientGateWay.main(ClientGateWay.java:60)
Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
at java.security.AccessController.doPrivileged(Native Method)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
... 2 more
Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:458)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:865)
... 4 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:516)
at java.net.Socket.connect(Socket.java:466)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:208)
at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3115)
at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:3858)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2921)
at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:724)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:373)
... 5 more
Am i made any mistake to deploye to jboss or it is not possiable to access the web service in such way?
please suggest me what is the procedure to recover from this.Hello,
How do you package you WS client application to be deployed in JBoss?
The JAX-RPC clients are not that portable you may need to recompile the client with JBoss WebService implementation/tools, and check that you do have the different deployment descriptors for the client too.
Regards
Tugdual Grall -
BPEL 10.1.2.0.2 with JBOSS deployment descriptor of database adapter
We use Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS v3.2.6 . In our BPEL processes we use also the DatabaseAdapter.
We deploy our processe manually with obant, because we are only able to access our productiv-system about putty(ssh).
For that we have to manually adapt our DatabaseConnectionData,which were created on our development enviroment, in the apropriate wsdl files.
On our productiv-system we see in the domain-log files following lines:
<2006-11-08 04:52:44,465> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - Using JCA Connection Pool -
max size = <unbounded>
<2006-11-08 04:52:44,468> <WARN> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - JNDI lookup of
'java:/eis/DB/DBL_WFMODUL' failed due to: DBL_WFMODUL not bound
<2006-11-08 04:52:44,469> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound> Since unable to locate the JCA Resource Adapter deployed at 'java:/eis/DB/DBL_WFMODUL',
will then attempt to instantiate ManagedConnectionFactory oracle.tip.adapter.db.DBManagedConnectionFactory directly.
After some reading in the "Adapters UserGuide" you can find some lines about necessary configuration of the "deployment descriptor of the database adapter"
concerning the "<jca:address location=..." used in the apropriate wsdl files:
The adapter service WSDL refers to the run-time connection configured in the
deployment descriptor of the database adapter. (In Oracle Application Server, it is
oc4j-ra.xml). The relevant code example for the service WSDL follows:
<jca:address location="eis/DB/DBL_WFMODUL" UIConnectionName="DBL_WFMODUL"
ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
The questions are now:
What is the apropriate file for the "deployment descriptor of the database adapter" for Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS 3.2.6 ??
Exist there a description for that?
What are really the consequences if you configure the "deployment descriptor of the database adapter" or not ?Hi Martin,
Thanks for sharing valuable information of bpel install .
We are stuck installing bpel pm 10.1.2.0.2 on linux from past one week ,can u plz help us in giving some pointers.
We downloaded mrca utility from otn and tried to upload the repository into 10g database but we got "ultra search schema not found" error and few other errors.
Can we use any 10g database or is there any version that we need to use.Can you plz specify the database version that u used for ur install.
Then we tried to create a repository while installing Oracle Application Server 10.1.2.0.2(J2EE and Web Cache with new OID), which creates a new dbase with a repository loaded into it.
we tried to run the ldap search command to get the encrypted password but failed to execute that command successfully.finally we tried to change orabpel pwd with alter command. And when we finally started with BPEL PM install and pointed to the above AS home it didnt recognize it and giving error as "plz point to the appropriate Application Server(AS) home and it cant find the AS home in folder in which we specified."
Can u plz help us and give some pointers in resolving our issues.
Thanks a lot in advance.
Vandana. -
Error in Full Deployment in ATG 10.0.3 with JBOSS server.
Hi All,
I'm getting following error while full deployment in ATG 10.0.3 (OS : Linux) with JBOSS server,
ERROR [ProductCatalog_production] SQL Statement Failed: [++SQLDelete++]
DELETE FROM dcs_folder WHERE folder_id = ?
-- Parameters --
p[1] = {pd: id} fld330005 (atg.adapter.gsa.SingleValueGSAId)
[--SQLDelete--]
Can you please give answer to fix this issue!!!
Thanks & Regards,
Murail.Ch
Edited by: Murali.Chitturi on Mar 11, 2013 9:33 PMHi Shaik,
2013-03-11 19:53:20,883 INFO [nucleusNamespace.atg.epub.DeploymentServer] (RepositoryWorkerThread-1(Pre-Deployment)) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter$ApplyCommittedSynchronization.afterCompletion(DistributedDeploymentAdapter.java:3285) ApplyCommittedSynchronization.afterCompletion
2013-03-11 19:54:54,342 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:54:54,344 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:54:54,346 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:54:54,348 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
*2013-03-11 19:54:58,477 ERROR [nucleusNamespace.atg.commerce.catalog.ProductCatalog_production] (RepositoryWorkerThread-3(Destination Synchronization)) SQL Statement Failed: [++SQLDelete++]*
DELETE FROM dcs_folder
WHERE folder_id = ?
*-- Parameters --*
*p[1] = {pd: id} fld350005 (atg.adapter.gsa.SingleValueGSAId)*
*[--SQLDelete--]*
2013-03-11 19:54:58,607 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted(DistributedDeploymentAdapter.java:3153) DeploymentListener.deploymentCompleted called for deployment with ID: 1100002
2013-03-11 19:54:58,607 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted
2013-03-11 19:57:05,407 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:57:05,409 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:57:05,411 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
2013-03-11 19:57:05,416 WARN [com.arjuna.ats.jta.logging.loggerI18N] (Thread-14) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException, XAException.XAER_RMERR
*2013-03-11 19:57:27,944 ERROR [nucleusNamespace.atg.commerce.catalog.ProductCatalog_production] (RepositoryWorkerThread-3(Destination Synchronization)) SQL Statement Failed: [++SQLDelete++]*
DELETE FROM dcs_folder
WHERE folder_id = ?
*-- Parameters --*
*p[1] = {pd: id} fld350006 (atg.adapter.gsa.SingleValueGSAId)*
*[--SQLDelete--]*
2013-03-11 19:57:28,452 INFO [nucleusNamespace.atg.epub.DeploymentServer] (Main deployment thread: ) DEBUG 1100002:Production:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentCompleted(DistributedDeploymentAdapter.java:3153) DeploymentListener.deploymentCompleted called for deployment with ID: 1100002-switch
The error is displaying in server.log. Above error is displaying in both ATG10.0.3 and ATG10.1.2
Please suggest why this error is coming for both versions.
Thanks in advance...
Regards,
Srinivasa R -
Hot deployment not playing along with coherence-tx.rar
I would like to setup my application so that the coherence and tangosol jars are owned by the application. Under this setup it will aid in hot deployment so that the coherence classloader is destroyed along with the application. Using the transaction services requires that I put the tangosol and coherence jars on the boot classpath of weblogic. I could live with this if there is an easy way to tell coherence to clear all caches that I can call from a startup servlet when my application redeploys.
Is there some other way of setting this up so that hot deployments destroy all caches and coherence-tx.rar can still be utilized?In a development environment where classes can change structure it is more semantically correct to destroy all references to the old class structure otherwise you get IncompatibleClassChangeErrors.
It is also more convenient for us to deploy the application without any external references. It makes setting up a QA server much easier, for example, if we don't have to install coherence and modify classpaths to get it up.
There is nothing special about the architecture just a standard EAR deployment with all 3rdparty classes packaged into the EAR. -
Hot deployment problems with weblogic 7.0 sp2
Hi Guys
I am trying out hot deplyment of a j2ee application on WebLogic Server 7.0 SP2
Approach 1
The application is deployed in exploded ear format from the folder
d:/work/testbed/ear. The appropriate entry in config.xml looks like this.
<Application Deployed="true" Name="Testbed"
Path="D:\tools\bea702\projects\testbed\applications\testbed"
StagedTargets="" TwoPhase="false">
<EJBComponent Name="SessionBeans" Targets="myserver" URI="SessionBeans.jar"/>
</Application>
Creating or touching the REDEPLOY file in META-INF folder doesnt cause hot
deployment to occur
Approach 2
Copied the ear file to the applications folder. Creating or touching the
REDEPLOY file in META-INF file caused the application to be redeployed.
However the weblogic console is constantly spitting out this message.
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:51 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:52 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
It seems that the application is getting undeployed and reactivated every 5
seconds.
Questions
1) Any reasons why approach 1 didnt work
2) What could be causing this constant undeployment and reactivation
Thanks for your time
anandI think I figured out what is causing the application to be redployed every 5
seconds. It seems that if the application is deployed in the weblogic domains
applications folder you should NOT create a <Application element. Weblogic
automatically recognizes all applications in this folder and deploys them.
Removing the application entry (as shown in Approach 1) from the config.xml
and hot deploying by touching the REDEPLOY file did the trick.
One question still remains. Is hot deployment only possible when I copy the
exploded ear to the domain "applications" folder
Thanks for your time
anand
ps : The idea of trying it without the <Application element came from trying
out hot deployment in Weblogic 8. WLS8 first deploys the application in the
applications folder, followed by the application configured in the
<Application element. Since both the applications were essentially the same it
gave me a JNDIException saying that some entity is already bound with the same
name. Weblogic 7 however doesnt complain at this point.
- anand
In article <[email protected]>, Anand Raman wrote:
Hi Guys
I am trying out hot deplyment of a j2ee application on WebLogic Server 7.0 SP2
Approach 1
The application is deployed in exploded ear format from the folder
d:/work/testbed/ear. The appropriate entry in config.xml looks like this.
<Application Deployed="true" Name="Testbed"
Path="D:\tools\bea702\projects\testbed\applications\testbed"
StagedTargets="" TwoPhase="false">
<EJBComponent Name="SessionBeans" Targets="myserver" URI="SessionBeans.jar"/>
</Application>
Creating or touching the REDEPLOY file in META-INF folder doesnt cause hot
deployment to occur
Approach 2
Copied the ear file to the applications folder. Creating or touching the
REDEPLOY file in META-INF file caused the application to be redeployed.
However the weblogic console is constantly spitting out this message.
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:46 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:51 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:52 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
Undeploying EJB Component SessionBeans
<Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149400> <Activating application: Testbed>
<Sep 29, 2003 9:53:57 PM IST> <Notice> <Application Poller> <149404> <Activate application Testbed on myserver - Completed>
It seems that the application is getting undeployed and reactivated every 5
seconds.
Questions
1) Any reasons why approach 1 didnt work
2) What could be causing this constant undeployment and reactivation
Thanks for your time
anand -
Can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2
can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2.2
when i try to debugg with old version like jboss-4.0.3SP1 it is workking good
but when i'm try to debugg with jboss-4.2.2.GA and add project newly libaray jboss client jars of this version i got error
Exception in thread "main" java.lang.NoClassDefFoundError: in
and the debugger stoped in URLClassLoader and throw NoClassDefFoundError exception, i think the reason is the client jars
which jars should i add to project libarary to success remotely debugg application in jboss 4.2.2 GA ?Remote debugging with JBoss 4.2 is the same as for 4.0.
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=rem_p_servlet_general_html -
Dreaded redirect loop with tomcat hot deploy
I have an OpenSSO 8.0 installation on a glassfish server, and a Tomcat 6.0.20.1 client installation. I have set Configuration > Servers and Sites > Server > Security > Encode Cookie Value to true. For normal use, it works just fine. However, if I place a war file in the webapps directory, which tomcat recognizes and automatically explodes and deploys, from this point on all of my protected apps give me the redirect loop until I restart tomcat. Has anyone else ever seen this, or know how to fix it? We regularly use tomcat's hot deploy capabilities, and it is a major drawback if we have to cycle tomcat every time we deploy an app.
Thanks.As an independent test, are you able to deploy and run the ADF Toy Store demo application on the same tomcat with no problems as documented in the ADF Toy Store Demo whitepaper's section on running on tomcat?
http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/readme.html#tomcatsetup
Might help us narrow down the problem.
Maybe you are looking for
-
Cannot assign an empty string to host variable 1
Guys, I am getting the following problem while trying to create an entity bean., cmp field is not blank string yet I am getting the error. can you please help out? _33##0#0#Info##Plain###Remote Exception in Create: CreateA2iLogin: com.sap.engine.serv
-
Unable to install Oracle VM Manager 3.0.2 on OEL 5.9 64 bit
Hi, I am attempting to install Oracle VN Manager 3.0.2 on OEL 5.9 64 bit. I follow the instructions published in Installation and Upgrade Guide Release 3.0 for x86 (E18548-02). I use the "Standard Install", using a database on another server. This is
-
OMBRETRIEVE: HOW i get the attribut which is connected to a given attribute
Hello! I want to know the operator, the group and the attribute which is connected to a given attribute in a mapping. I have the statement for the operator: OMBRETRIEVE MAPPING 'MAPTAK_BBUE_101' GET OPERATORS CONNECTED TO ATTRIBUTE 'DWH_SZ' OF GROUP
-
Has anyone had this problem with their 9930?
when i turn on the mobile network on my 9930 it begins to power cycle nonstop ive tried everything i mean everything possible with no luck. Any help?
-
Masters- angry cat/jagalcamba can u help me
friends... thank u very much.. have successfully installed tomcat.. i am able to access jsp also... but the new problem ic i am noy able to connect my jsp applications to mssql server........ am getting a error as shown below description The server e