Deploying J2ee application using JBOSS3.2.5 and Eclipse 3.0
Hi all
i am trying to deploy a J2EE application using JBOSS3.2.5 and Eclipse 3.0.
I have written the EJB bean, home, remote and a test JSP page. Can someone tell me the exact procedure...step by step ways to deploy the JBOSS server and run my application.
My package structure is
MyProject
ejb
client
Servlet.java
server
Bean.java
shared
home.java
remote.java
please tell the various jar files that i must include. Kindly give information about the directory structure, the xml file details and the WAR file generation.
i googled this topic..but i got the results for eclipse 2.0....
Thankz in advance
Arun :)
Don't cross-post:
http://forum.java.sun.com/thread.jsp?thread=550678&forum=13&message=2689332
http://forum.java.sun.com/thread.jsp?thread=550673&forum=31&message=2689289
Similar Messages
-
Deploy an application - Use a different workspace and different schema
Hi,
I have completed my application in my testing server, database, schema, and workspace. And now I would like to deploy my application to the live server with different database, schema and workspace.
I have gone through the Application Express User’s Guide and I have managed to export and import my old app to my new application. However, I failed to import my table from old database schema to my new schema. So, I can’t able to open my new application due to error in executing authorization scheme code.
May I know how do I import my old schema to my new schema and both schema are different name.
Thanks.
PennyCreate a database link in your production environment and use the following script to update the content of the tables from your development:
DECLARE
v_tab_columns VARCHAR2 (32000);
v_db_link VARCHAR2 (30) := '@dev';
BEGIN
/*FOR a IN (SELECT table_name
FROM user_tables)
LOOP
EXECUTE IMMEDIATE 'TRUNCATE TABLE ' || a.table_name || '';
END LOOP;*/
FOR c IN (SELECT table_name
FROM user_tables)
LOOP
FOR d IN (SELECT column_name
FROM user_tab_columns
WHERE table_name = c.table_name
ORDER BY column_id)
LOOP
v_tab_columns := v_tab_columns || ', ' || d.column_name;
END LOOP;
v_tab_columns := LTRIM (v_tab_columns, ',');
BEGIN
EXECUTE IMMEDIATE 'INSERT INTO '
|| c.table_name
|| ' SELECT '
|| v_tab_columns
|| ' FROM '
|| c.table_name
|| v_db_link;
v_tab_columns := NULL;
DBMS_OUTPUT.put_line ('Updated table ' || c.table_name);
EXCEPTION
WHEN OTHERS
THEN
v_tab_columns := NULL;
DBMS_OUTPUT.put_line ('Failed updating table ' || c.table_name);
END;
END LOOP;
END;Replace @dev with your database link.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Building J2EE Applications using JBOSS and ECLIPSE 3.0
Hi all
i am trying to deploy a J2EE application using JBOSS3.2.5 and Eclipse 3.0.
I have written the EJB bean, home, remote and a test JSP page. Can someone tell me the exact procedure...step by step ways to deploy the JBOSS server and run my application.
My package structure is
MyProject
ejb
client
Servlet.java
server
Bean.java
shared
home.java
remote.java
please tell the various jar files that i must include. Kindly give information about the directory structure, the xml file details and the WAR file generation
Thankz in advance
Arun :)That is a lot of stuff! At a basic level, you can create an EAR file and put it in the JBoss auto-deployment directory. In the EAR file you should have a WAR file for the web component and a JAR file for the EJB component. And inside each archive there should be a valid deployment descriptor that contains configuration data for the component. When you start up JBoss, the application will be deployed and accessible via web browser, or there will be error messages written to the server log.
-
Trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool
I am having trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool.
I successfully create the WAR/EAR files, I then select deploy and the deploy process gets to 100% before displaying an error message.
Can anybody help?
Please see Deploy Tool log entry:
01:39 - **********************************************************
05/01/17 10:19:16 - Applying user role management mappings.
05/01/17 10:19:16 - Start updating EAR-file...D:\SAP_J2EEngine6.20_Cluster\deploying\carmodeller\carmodeller.ear
05/01/17 10:19:27 - Temp files deleted...
05/01/17 10:19:27 - Ear-file updated successfully for 11375ms.
05/01/17 10:19:27 - Start deploying ...
05/01/17 10:20:15 - Ear-file uploaded to server for 47297ms.
05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(ServletsAndJspImpl.java:482)
at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebContainer.java:256)
at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServiceImpl.java:2848)
at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServiceImpl.java:512)
at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:140)
at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:184)
at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:157)
at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:108)
at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:153)
05/01/17 10:21:47 - **********************************************************Hi, it looks like the app has trouble starting up:
05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
Did you have any errors on the compile of the code?
You also want to check if the app is deployed (if so you may want to remove it before re-deploying it) -
Hi,
I am writing a J2EE application which (in theory, at least)
connects to an Oracle 9i database.
I have written a simple Java test app utilising only the
java.sql package classes (e.g. Connection, ResultSet) to directly
connect to the database. As long as the classes12.zip is in the
CLASSPATH it works fine.
Now I have written an Enterprise application (SessionBean,
Remote and Home interface and Client) which I am attempting to
deploy via deploytool.
If I include just the client jar and EJB jar in the application
it deploys okay but when I run the application (using runclient)
it produces the following error:
java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
(It is nested within other error output but that is the core
issue).
However if I try to include the JAR libraries into the app
(classes12.jar and nls_charset.jar from $ORACLE_HOME/jdbc/lib),
then I get the following output from deploytool when I hit the
"deploy" (or "redeploy") button:
Deployment error: invalid entry compressed size
(expected 14411 but got 14580 bytes)
Can someone please tell me what is going on???
How can I deploy the J2EE application including the Oracle
JDBC Driver???
My only other option at the moment is to place all the function-
-ality in the client and not use the J2EE framework.
Any help is greatly appreciated.
Regards,
Ben New
Leftclick Software Development
[email protected]OK Ben,
I admit I'm a bit confused. Let me see if I understand where you're
coming from.
You have written a J2EE application that includes a session bean,
correct? If so, your session bean needs to be deployed to an EJB
container. What container are you using? The Oracle 9i database
has an embedded EJB container which (theoretically) you can use.
However, as far as I know, Oracle recommends you use OC4J as the
EJB container. So again I ask, what EJB container are you using?
If, as you say, you are new to EJB, then I think you should
immediately start working wiht OC4J as your EJB container.
Did you look at the tutorial link I gave in my previous post? It
explains -- step by step -- how to create, deploy and run a J2EE
application using OC4J as the EJB container. It also has links to
introductory material for people without little knowledge of J2EE
and EJB.
I have 9iAS Enterprise Edition and 8.1.7.1.0 database server (and
OC4J) installed on my SUN machine. I cannot find any of the
utilities you mention -- "j2eeadmin","runclient" or "deploytool".
What Oracle software have you installed? What are the versions?
What platform are you using?
A J2EE application (according to the specification from SUN)
consists of modules. A module can either be a client module or an
EJB module. A client module can either be a java application client
or a web-based client (servlet or JSP). A J2EE application usually
contains one client module and one EJB module. A J2EE application
needs to be deployed to a J2EE container.
Hopefully the J2EE picture is becoming clearer. I think you need
to read some introductory material regarding J2EE if you intend
to become proficient at it.
I feel that you are under the impression that a J2EE application
is a glorified JDBC application. It isn't (as far as I'm aware).
Good Luck,
Avi. -
SaxParser error when deploying J2EE application on 10gAS for IBM AIX 5.2
Hello,
We have problems deploying J2EE application on 10gAS 9.0.4.0.0, on IBM AIX 5.2. We deployed it on 10gAS for Windows 9.4.0.0 and 9.0.4.0.1, and on 10gAS 9.0.4.0.0 for Linux, without any trouble (installed ADF runtime, etc.).
Application architecture is JSP/Struts/ADF BC4J. We used JHeadstart 10g framework.
As soon as we start the application, we get the message described bellow. We saw that J2SE version, shipped with the AS is 1.4.1? On all the other AS versions, and in embedded JDeveloper OC4J is 1.4.2.
We also use the Xerces library xercesImpl.jar, which is located in .../WEB-INF/lib directory (which contains SaxParser implementation), if that is important. But the application fails right on the beginning.
The complete error message follows:
javax.xml.parsers.FactoryConfigurationError: Provider null could not be
instantiated: java.lang.NullPointerException at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:30) at
org.apache.commons.digester.Digester.getFactory(Digester.java:512) at
org.apache.commons.digester.Digester.getParser(Digester.java:686) at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) at
org.apache.commons.digester.Digester.parse(Digester.java:1567) at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433) at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at
oracle.jheadstart.controller.struts.JhsActionServlet.init(JhsActionServlet.java:219) at
com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:568)
Any information would be helpful,
Vladimir,
MAOP d.o.o., SloveniaFigures, 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. -
First J2EE Application using IDE in sdn provided example
Hi guys!
REQ! can any one suggest!
First J2EE Application using SAP Netweaver Developer Studio provided by SDN is deployed succesfully to J2EE Engine but when I run the application JSP file in URL I am getting the Error as follows:
500 Internal Server Error SAP J2EE Engine/6.40
Application error occurred during the request processiong.
Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
Error compiling [/CalculatorFdx300/CalculatorFdx300.jsp] in application [CalculatorFdx300]. The ID of this error is
Exception id: [001125B854E9005F0000039E000013CC000414755D534457].
with regards
ganeshHi Ganesh,
It seems. It can be any one of the following
1) Check the JDK Path
2) Check the JNDI name
3) Check the package structure
4) Check the client file name and other files naming convention
Hope it will resolve your problem
cheers
Jawahar Govindaraj -
Fastest way of re-deploying j2ee applications
I am using Iplanet Application server to deploy j2ee applications. I want to know the fastest way to redeploy whole application after making some changes in JSPs, Servlets and EJBs?
Do i have to pack the whole ear again and then re-deploy it again to see the changes or there is any alternative?If change is done in JSPs, u can test it copying in public_html folder in J2EE. And when JSPs are finalized make EAR file and redeploy it.But for EJBs u have to redeploy the EAR file again. Remember public_html folder contains files teporarily, if application is undeployed all the files are deleted.
-
I am deploying an application using firefox. I am using the mozilla.cfg file to lockdown firefox and I don't want firefox to be the default browser.
Try the option to "Force Firefox to make itself the default" as shown in this article - http://kb.mozillazine.org/Default_browser
Another possibility is your email application may be hard-coded to use IE. -
Updating a Deployed J2EE Application Component
Hi All,
I was going through this link below :
http://e-docs.bea.com/wls/docs61/adminguide/utils.html#1139180
Updating a Deployed J2EE Application
To update a specific component, enter the following commands:
% java weblogic.deploy -port 7001 -host localhost -component
Basic_example:sampleserver,exampleserver update weblogicpwd Basic_example c:\updatesample\ejb\basic\BasicStatefulTraderBean.jar
update will cause the application or component to be updated on all server instances
to which is targeted.
Does this require the application be deployed in a "Expanded Directory Format"
and "Auto-deployment" turned 'on' ? - which is not good for Production, I guess.
Regards,
Nathan PillaiHi Uday,
Steps to be followed !!!
1. Take a Copy of the .Ear to test.EAR
2. Rename test.Ear to test.Zip
3. Extract the Files present in the test.zip into a Folder 'test' (this folder has the .War file)
4. Rename .war to .Zip
5. Extract the Contents from .zip to a Folder(myRoot Folder should contain the JSP, WEB-INF, Filters, WebContent etc)
6. Open NWDS --> create a Web Container Project(myContainerWar) in J2EE perspective
7. Select myContainerWar --> right Click --> Choose IMPORT File --> Browse --> Select MYROOT folder created by us. FINISH
WAR holds the total Structure of the Web Component based application.
Meaning WAR structure will get created in the NWDS !!!!
Once you are finished with the Changes, you have to create a EA project in NWDS and add the new WAR to it. Build the .EAR and deploy it !!!
Thanks
Suresh KB -
How to remotely deploy adf application using ant script
Please suggest some pointer on how to remotely deploy adf application using ant script.
I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
Now i want my war to be deploy remotely on weblogic server.
Is there any inbuld functionality provided by jdeveloper for same.
Can any one please share build.xml for adf application for deploying application remotely.
I try to use wlserver but not much success.
Thanks in advance.
Sumit Bhasin[url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
John -
Deploy Java Updates using SCCM 2012 SP1 and SCUP 2011
What is the best way to deploy Java updates using sccm 2012 SP1 and SCUP 2011?
I didn´t find Kent´s blog useful when talking about Java. I can deploy Adobe products fine, but I have to import Java manually because not having Shavlik certificate. So with that said, I have the fallowing problem;
I have full offline installer unpacked, .msi file and Data1.cab. When I´m importing these binaries to SCUP, I only can point to .msi. Doing that, installation fails in client side fails because of lack of data1.cab fine, which is the main file.
Should I use some other downloaded files of Java? I couldn´t find any Java-update-file only type of files to download. -
Error while deploying application using enterprise manager website and dcmctl
Hi,
I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
The deployment fails with the following error.
Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
We are able to deploy the same ear file using stand-alone container. We are planning for deployment in few days to go it live. Pls suggest what could be the problem.
Hardware Used:-
DellServer Intel P3 dual processor 1.2GHz
1GB RAM
2GB virtual memory,
40GB free hard-drive.
Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
No other software is installed on the system
Software:-
Windows 2000 Server sp2
Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
Oracle 8i Database 8.1.6.0.0
Size of application:-
130 EJBs (107 CMP + remaining Session Beans)
1700 JSPs
3 servlets
Packaged properly into jar,war,ear structure.
the size of ear file is about 13MB.
I tried using dcmctl but still got the following error.
Oracle 8i database is running but noone is using it except that this application uses it.
Pls help
D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
a myapp
ADMN-300075
D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
ADMN-300075
Nested exception
Base Exception:
java.rmi.RemoteException:null; nested exception is:
java.lang.OutOfMemoryError
Nested exception
Root Cause: null; nested exception is:
java.lang.OutOfMemoryError
java.rmi.RemoteException: null; nested exception is:
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
<<no stack trace available>>
Are there any mandatory patches to be applied after installing 9ias Rel2?
Thanks
SrinathTry to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
Please let me know if this works. -
Error while deploying adf application using ant script or jdevloper IDE
Hi All,
While deploying adf application into cluster weblogic server I am getting strange error though my weblogic server is working fine as I checked it from weblogic console. Seems that there is some heap memory issue but don’t know the exact cause as it work perfectly if I restart the server.
Same error i get when i try to deploy application from Jdeveloper IDE though it created the server connection successfully.
Please help me by provided valuable tips to overcome this problem or any special tips to optimize weblogic server for ADF.
Thanks in advance
Error Reference:
Buildfile: builddeploy.xml
deploy:
[wldeploy] weblogic.Deployer -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -debug -stage -verbose -upload -noexit -name admin -source W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war -targets ADR_Cluster_1 -adminurl t3://WebServercom:7001 -user weblogic -deploy
[wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
[wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at WebServercom:7001, as user weblogic
[wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
[wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://WebServercom:7001
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.domainruntime
[wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://WebServercom:7001/jndi/weblogic.management.mbeanservers.runtime
[wldeploy] [DomainManager.resetDomain():36] : Getting new domain
[wldeploy] [DomainManager.resetDomain():39] : Using pending domain: false
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1d27069
[wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@200db9
[wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: ADR_domain
[wldeploy] [ServerConnectionImpl.setRemote():480] : Running in remote mode
[wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]21b
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.deriveAppName():140] : appname established as: admin
[wldeploy] <23-Sep-2011 11:05:14 o'clock BST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, admin [archive: W:\GRS\TEMP_RELEASE\ADFNEW\RSWG_PROJECTS\RSWGADMIN\GRSWEBAPPADMIN\deploy\admin.war], to ADR_Cluster_1 .>
[wldeploy] [ServerConnectionImpl.upload():849] : Uploaded app to /data/app/Oracle/Middleware/user_projects/domains/ADR_domain/servers/AdminServer/upload/admin
[wldeploy] [BasicOperation.dumpTmids():706] : Incoming tmids:
[wldeploy] [BasicOperation.dumpTmids():708] : {Target=ADR_Cluster_1, WebLogicTargetType=cluster, Name=admin}, targeted=true
[wldeploy] [BasicOperation.loadGeneralOptions():623] : Delete Files:false
[wldeploy] Timeout :3600000
[wldeploy] Targets:
[wldeploy] ADR_Cluster_1
[wldeploy] ModuleTargets={}
[wldeploy] SubModuleTargets={}
[wldeploy] }
[wldeploy] Files:
[wldeploy] null
[wldeploy] Deployment Plan: null
[wldeploy] App root: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin
[wldeploy] App config: \data\app\Oracle\Middleware\user_projects\domains\ADR_domain\servers\AdminServer\upload\admin\plan
[wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=admin,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
[wldeploy]
[wldeploy] [BasicOperation.execute():440] : Initiating deploy operation for app, admin, on targets:
[wldeploy] [BasicOperation.execute():442] : ADR_Cluster_1
[wldeploy] Task 5 initiated: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] dumping Exception stack
[wldeploy] Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + admin ADR_Cluster_1
[wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 5 failed: [Deployer:149026]deploy application admin on ADR_Cluster_1.
[wldeploy] Target state: deploy failed on Cluster ADR_Cluster_1
[wldeploy] java.lang.Exception: [DeploymentService:290036]Deployment for request id '1316772356780' is deferred since target 'ADR_ManagedServer_2' is disconnected.
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.commitFailedDueToServerDisconnect(AdminRequestStatus.java:1870)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.access$600(AdminRequestStatus.java:51)
[wldeploy] at weblogic.deploy.service.internal.adminserver.AdminRequestStatus$CommitDisconnectListenerImpl.onDisconnect(AdminRequestStatus.java:2042)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerDisconnectListenerImpl.onDisconnect(ServerDisconnectManager.java:124)
[wldeploy] at weblogic.deploy.service.internal.transport.ServerDisconnectManager$ServerConnectDisconnectListenerImpl$2.run(ServerDisconnectManager.java:219)
[wldeploy] at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[wldeploy]
[wldeploy]
[wldeploy]
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
[wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wldeploy] at weblogic.Deployer.run(Deployer.java:70)
[wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
[wldeploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:357)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
[wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
[wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
[wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connectionWell, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Error in deploying J2EE application
Hello
I created EJB application and trying to deploy the same into my J2EE server (we are using J2EE engine of our XI WAS server).While deploying .ear file through NWDS its giving following error
"Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !"
we have mapped J2EE engine correctly i.e. Message Server IP and port. Still its giving this problem.Is it something need to be configure on J2EE server side?
Regards
AshishHi Ashish,
First Configure your J2EE Server correctly.
example:
In your work bench.
Go To windows - preference - SAP J2EE Engine
Select your J2EE engine accordingly..if you installed in it local the select SAP J2EE engine is installed on local host.
give instance name and system name.
ex: System name - F31
J2EE Instance - 30
SCS Instance - 31
close and open Webdynpro.
Go to J2EE Engine Tab.
Dispatcher ,SDM,Server0 Everything should be in Green colour.
Otherwise give some time to server for starting process.
Now It should work for you.
Now try to deploy your Application.
Regards,
Karthick
Maybe you are looking for
-
Reversing Landed Cost document with more than one vendor
Hi Experts, Reversing Landed Cost document with more than one vendor: My client can reverse a landed cost document with One Vendor, but cannot with multiple vendors. I have also tested this in 8.8 PL10. Here is a brief description: Created Landed cos
-
Radial Filter non existing in Camera Raw 8.7 on Photoshop CS6
I've upgraded to Camera Raw 8.7 on my Photoshop CS6 for Mac. I do not have the Radial Filter button in the Camera Raw plugin and I can't access to Camera Raw from the Photoshop's Filter menu. While searching on google for screen shots, I see that I'm
-
CommandButton action method invoked multiple times in standalone OC4J
Hi, We've developed an application in JDeveloper 10.1.3.3.0 (ADF Business Components version 10.1.3.41.57). In one page we have a commandButton with an action method: <af:commandButton action="#{MyBean.myActionMethod}" blocking="false" textAndAccessK
-
Unable to find the deleted record in the child table
Hi, I have two tables and a trigger: CREATE TABLE parent (a INTEGER, b CHAR(10)); CREATE TABLE child (c CHAR(10), d INTEGER); CREATE TRIGGER parent_trigger AFTER INSERT OR DELETE OR UPDATE ON parent REFERENCING NEW AS newRow FOR EACH ROW BEGIN INSERT
-
Problem w/lines appearing on displays
Need a little help. Basically all the sudden these slanted vertical lines stating appearing all over my dual display setup. They go away if I move a window pane over them or try to grab them with the mouse. Even sometimes when I do drag a window pane