JDeveloper/9iAS Deployment Help
I am developing a JSP/JavaBeans application. The JSPs call the JavaBeans which are dependent on Oracle libraries, but not using BC4J. I want to deploy to 9iAS.
I have tried deploying to JServ by copying stuff over and modifying classpaths, but the libraries I need (iFS) are not deployed to JServ; I believe they are deployed to OSE. That means I need to deploy to OSE.
I have been messing around with this for the past two days and have yet to get a working application running. I have read numerous technet postings as well as a tremendous amount of documentation on the topic. None of them cut to the point which is: What is the recommended way to deploy a JSP/JavaBeans application that doesn't use BC4K to 9iAS? This application includes JSPs, HTMLs, JSs, CSSs, and images.
I can successfully get my beans deployed to the 8i database. (Meaning I can see they are there in Enterprise Manager.) But my JSPs cannot see them, presumably because they are only visible to OSE and I have only been able to get my JSPs in JServ.
I have created a domain. In the aurora shell, it is /webdomains/watermark. Question 1: How do I access the files in this domain from a browser? Question 2: How can I get JDeveloper to deploy my other web files (JSP, HTML, JS, CSS, and images) so I can access this web app. (And if I can't with JDeveloper, what's the best way to accomplish this?)
Huge thanks to anyone who can help me with this?
Hi,
I would recommend taking a look at the WAR deployment tool available from the OSE team. You can download it from OTN by going to the Technologies page, then click on JSP and Servlets under the Java Technologies section, then click on Download.
Currently, deploying to OSE from JDeveloper involves several separate steps that the WAR tool should combine for you.
Similar Messages
-
Create an EAR in JDeveloper to deploy on Oracle AS 10g
I have a J2EE project with EJBs and JSPs. I am using JDEVELOPER as my IDE. I need to deploy my application on ORACLE 10G APP SERVER.
I need to create an EAR file consisting of my EJBs and JSPs to deploy the appln.
When i go into Deployment Profiles in JDeveloper and try to create an EAR file, it does create the EAR file but the contents of the file are only 2-3 xml files, there is nothing else in it.
I am wondering how on earth do i need to create my EAR package so that i can deploy on Oracle APP Server.
This is actually very urgent... so i would really really appreciate and thank you if someone could help me out....
Thank you very much in advanceSee thread Re: Create EAR in JDeveloper to deploy on Oracle AS 10g
-
Hi all,
i am using JDeveloper latest version. i have 2 applications, one is JSF and another one is WebService. i need to call that webservice from jsf webapp. But in jdeveloper how to run two applications simultaneously.
i tried with oc4j standalone application server. i deployed webservice in oc4j standalone app server. its runnining in some port number. another jsf application running from jdeveloper itself. its running in different port number.
But its not working. but i tried with different machine in LAN, its working fine.
How to resolve it.
Is it any other port number, i have to change ? in which file ?
I need to deploy the webservice, should run background through oc4j standalone and debugging or running the jsf webapp through jdeveloper ide.
Help me. thanks in advance.
Srinivas.RThe simplest solution would be to have one application with two projects.
Then you righ click run the WS and then right-click run the JSF.
If you are running on another port - you'll need to change the WS data control files to include the right port number. Do a search on your project for the port number and change it as needed. -
Develope complex WebService with JDeveloper and deploy to tomcat
Hello,
I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
My first question is if that is possible?
I think there are few problems.
I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
Another question is how I have to decode the images and the pdf to provide those files in a WebService?
I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
Thank you,
TimHi,
does anybody have an idea about that?
Thanks,
Tim -
Please help me about jdeveloper application deployment for weblogic
At the beginning I just thought after developing an adf application then just deploy it as a .ear file and deploy it in the weblogic console and everything will be ok.But in fact I got a lot of problems. Then I got a tutorial for that and I do what it said step by step but some new problems occured. This is the tutorial I mentioned: [How-To: ADF Deployment Guide|http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.htm]
Now could somebody tell how did you deploy your adf application?
Here is the errors I got.
This is the install packege and the OS I use:
1. CentOS 6.3_x64 + jdeveloper11123.jar(include wls10.3.5) + adr(package name is ofm_appdev_generic_11.1.1.6.0_disk1_1of1.zip)[and just now I used a solaris11 vm from oracle and install jdeveloper11.1.2.3, the same probem occured as in CentOS.]
2. Win7_x64 + jdeveoper11123.exe(include wls10.3.5) + adr mentioned above
Here is the problems I get:
in the case 1,after I install the jdeveloper(using sun jdk 1.7), the weblogic seems to be well though I didn't configure a domain.But after I open an
application(which I get from the oracle jdeveloper tutorial demo,which works well in my Win7 env) and I run it, the integrated weblogic can't get
started. Firstly in the console it said the -jrocket identifier is not recognized, then I modify the setDomainEnv.sh and the startWebLogic.sh file in the
integrated wls domain (the one in the .jdeveloper directer) to set the JAVA_VM variable to -server.After that another problem came out: when the
wls goes to status "starting",it is blocked and I turn to the system monitor it shows that a java thread using more than 1GB of memory of my system
and occupy 150% of my cpu(it's a double-core computer). I wait for about 5 minutes when a error came said "PermSize is too small".then I modify the
setDomainEnv.sh file again to set the PermSize to be 1024m and MaxPermSize to be 2048.(the variable name is something like that, maybe not the
exactly right. I think you can understand which one it is.) But the problem is still there.
then in the case 2.Firstly the jdev and the integrated wls works well, but when i deploy an application which works well to a ear file and deploy it to a
standalone wls(10.3.5) it never works.the error is something referrence/dependences libraries is not found.Then I tried to new a server connection to
the standalone wls and I got the tutorial [how_to_deploy_adf|http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html] , as the tutorial said I patch my standalone
wls with the adr and everything goes ok, no error reported.Then I tried the new server in the new machine under the manage of the adminserver and apply the
adf template in the localhost:port/em console. But after I restart the new server(by the console and then by the stop+startweblogic.bat file) the server is running
while the application in the new server is just "Unavailable". I tried this for three times in three computer, two of them are running win7,the other one is running winxp.
I don't know what is wrong and I am totally a newbie about this. Somebody please help me.Thanks a lot!
regard,Neo.Neo,
there are a couple of problems. First of all, jdev comes with it'S own jdk bundled in the product (jdk 1.6_x). Next thing is if you use JDev 11.1.2.3.0 to build an application you must use a wls 10.3.5 or 10.3.6 where you need to install the correct runtime onto. In your case you first install adf runtime 11.1.1.6.0 and then you need to install two patches which update the adf runtime to 11.1.2.3.0. These spathes are only available via support.oracle.com, meaning you need asupport contract to get them.
More information you can find in my blog http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
The rest of your problems go away once you have installed the right adf runtime on your server.
Timo -
Error in Jdeveloper 10g in Remote deployment : Help Needed ASAP
Hi,
Am trying to deploy the simple application to remote oracle IAS server from Jdeveloper 10g. It is not allowing me to deploy any application remotely. The deployment log window shows following message:
Target platform is Oracle9i Application Server (AppServerConnection1).
Wrote WAR file to C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.war
Wrote EAR file to C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear
Invoking DCM servlet client...
C:\jdev10g\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev10g\jdev\lib\oc4j_remote_deploy.jar http://as18schgefage:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
Command = INVALID_COMMAND
#### Invalid command: redeploy /home/ias/unified C:\jdev10g\jdev\mywork\Business Insight\Project1\deploy\webapp1.ear webapp1 home
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
#### Could not send command to Oc4jDcmServlet
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-6)
#### HTTP return code was -6
Exit status of DCM servlet client: -6
Elapsed time for deployment: 4 seconds
#### Deployment incomplete. #### Mar 16, 2005 9:20:03 AM
Please help asap.
Regards,
Ujwala1. Re-test your connection from JDev to AS and it must success.
I suggest to create a new OC4J instance on AS and fill
the instance name on the dialog window while
creating AS Connection on JDev. i.e OC4J instance name (optional)
2. For JDev 9.0.5.x/10.1.2 using AS 9.0.4,
don't forget to install ADF Runtime Libraries on AS.
3. Make sure your AS support JDK/J2SE version as in JDev.
JDev 10.1.2 need AS to use JDK version 1.4.2_04-b05.
You can download it from http://java.sun.com/products/archive/j2se/1.4.2_04/index.html
and install it.
To cek your ORACLE_HOME/jdk/bin/java -fullversion
Regs,
Ferry Situmorang -
JDeveloper 11g deployment error to local Web Logic server
I'm trying to run an existing ADF project for the first time from a JDeveloper 11g.
But get the error below, can anyone help me?
Deploying Application...
<09-03-2009 11:07:23 CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application VEU Portal Consumer is not versioned.>
<09-03-2009 11:07:23 CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1236593243599' for task '0'. Error is: 'weblogic.management.DeploymentException: '
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
Truncated. see log file for complete stacktrace
>
<09-03-2009 11:07:23 CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'VEU Portal Consumer'.>
<09-03-2009 11:07:23 CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99)
at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
Truncated. see log file for complete stacktrace
>
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VEU Portal Consumer on DefaultServer.: .
weblogic.management.DeploymentException:
#### Deployment incomplete. #### Mar 9, 2009 11:07:23 AM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
... 12 more
#### Cannot run application VEU Portal Consumer due to error deploying to DefaultServer.
[Application VEU Portal Consumer stopped and undeployed from Server Instance DefaultServer]
Thanks
ClausDid you use the embedded WLS?
In this case I would try a fresh install, because you should not see this error. If you are using a stand alone WLS you need to install the ADF runtime onto the server.
the error java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener means that there is something wrong with the ADF installation on the WLS server.
Timo -
Jdeveloper 11g deployed jar not running - Windows 7
After I deployed a simple form to a jar, the following message comes up when trying to run with command: java -jar sw.jar
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUNavigationBar
Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUNavigationBar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Could not find the main class: asax.view.Form. Program will exit.
Manifest.MF contains the following:
Manifest-Version: 1.0
Main-Class: asax.view.Form
I have also added all libraries and veririfed they exist within the jar 's root.
Within jdeveloper the application runs with no problem.
I 'd appreciate any ideas any help on this..If you run a jar from the command line, the class loader don't look into the jar for other jars needed and hence you get a class not found error.
If you start the app in JDev and look at the log window, you'll notice that jdev puts all needed jars on the classpath. This way the app finds them and the app runs OK.
This is not a jdev problem, but a general java problem. To make it run you can unzip the jar and set the classpath when starting the app to include the folder which contains the jars.
Timo -
JDeveloper Auto-Deploy to Weblogic Timer Manger Error
Hi,
I'm attempting to deploy my ADF application from JDeveloper to my WebLogic server but when I do I get the following error:
java.lang.IllegalArgumentException: Existing timer manager has different work manager.
TimerManager requested: [email protected]t@TattooHourly-ViewController-context-root@tm/AdsTimerManager
TimerManager obtained: [email protected]t@TattooHourly-ViewController-context-root@tm/AdsTimerManager
WorkManager requested: weblogic.timers.internal.TimerManagerFactoryImpl$WorkManagerExecutor@bc720e
WorkManager obtained: weblogic.timers.internal.TimerManagerFactoryImpl$WorkManagerExecutor@1e41969
at weblogic.timers.internal.TimerManagerImpl.getTimerManager(TimerManagerImpl.java:771)
at weblogic.timers.internal.TimerManagerFactoryImpl.getTimerManager(TimerManagerFactoryImpl.java:79)
at weblogic.timers.internal.TimerManagerFactoryImpl.getCommonjTimerManager(TimerManagerFactoryImpl.java:104)
at weblogic.deployment.BaseEnvironmentBuilder.addTimerManager(BaseEnvironmentBuilder.java:842)
at weblogic.deployment.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:150)
Truncated. see log file for complete stacktrace
I'm using -
JDev: 11g 11.1.1.1.0
WebLogic: 10.3
I'm soooo close to completing this project any help would be greatly appreciated!
Thanks!
RussHi Russ,
Did you figure out what was causing this problem? I am having the same issue.
Thanks,
Mike -
Oracle 9i DB + Jdeveloper + 9iAS JE / JRun / Tomcat
HI,
i just to consider which application server suitable for our business. everybody can answer/explain me below question.
1) whatis difference between above mentioned app.
server. what benefit if i choose 9ias je.
2) when i try to install sample code of jdeveloper .
most must be running on oc4j (such as
"hotel advance query"). pls answer me which sample
program can deploy it to another application
server or not ? if no, why ?
3) if i choose another application server
for deploy jsp application develop by jdeveloper.
i maybe lost more function of database or not ?
(such as "advance query")
borisThanks,
and exist any version of Jdeveloper which can connect using OLAP API to the Oracle9i OLAP in rel.2 ?
At now I use :
Oracle database 9.2.0 + OLAP API
Jdeveloper 9.0.2.829; jdk 1.3.1_02 ; java_vm 9.0.2.579
Or can I use any developing tool ? (NetBeans)
Tahnk you very much for response.
Peter Kristof
Asset soft a.s.
Slovakia
[email protected]
The problem seems to be related to the version of JDBC you are using. This particular error is probably related to an old version of JDBC; type maps were introduced in 9.0, and the error you are getting is indicating that this method doesn't exist (it's a JDBC class, not OLAP API). You need to use the 9.2 JDBC, since the OLAP API uses features that require the 9.2 JDBC jars. -
JDeveloper 2 deployment problem
Hi,
I am using JDeveloper and developed a very simple java class and
try to deploy it to the Oracle8i installed on another machine in
the network. At the very first time I try to deploy my class
everything went just fine. But, every next time fails as: at the
last step of the wizard, I got the following when I clicked
the 'finish' button:
*** Invoking the Oracle JDeveloper deployment utility ***
Scanning project files...done
Generating classpath dependencies...done
Generating archive entries table...done
Writing archive...done
*** Invoking the Oracle8i deployment utility ***
interrupted by user
Then appears msgbox: "Cannot load Java classes into database: 1
errors". and then there is another msgbox: "The deployment
operation was interrupted!".
I tried to deploy new class in new package and new connection
after restarting my PC, but the result was the same.
Any help will be greatly appreciated! Thanks!
Lazar
nullLazar,
Two suggestions:
1. Try deploying the stored procedure using the LoadJava utility
from the command line. This utility is documented in the
Oracle8i Java Stored Procedures Developer's Guide (available on
ONT under Documentation, Oracle8i).
2. When the deployment progress window comes up, the default
button is the 'Cancel' button. If you click it accidentally, or
hit the Enter key by mistake, it may have activated a Cancel on
the deployment. I find this unlikely since you said you tried it
again with the same results, but thought it was worth a mention.
Laura
Lazar (guest) wrote:
: Hi,
: First, thanks for Your fast response! May be it's better to
give
: more info about systems I'm working on:
: Database: Oracle 8i, running on Winodows 2000 Server (Standart)
: RC2. My machine is NT4 with SP6, IE5, JBuilder 2.0.
: At the time I have this problems DB was ok, I check that.
: Connection in JBulder said "Success!" and I can connect to DB
: with OEM. After I saw this problem, I restart my PC, and after
: that ONLY JDev was running, but the result was the same. I
think
: that there might be are some temp files, or temp registry keys
: that are not deleted, or something like that.
: Thanks!
: Best regards: Lazar
null -
JDeveloper/WebLogic Deployment
I'm trying to create a connection to deploy to BEA WebLogic but when I test the connection I get:
"Cannot instantiate class: weblogic.jndi.WLInitialContextFactory"
In the other window shows that the root exception is a java.lang.ClassNotFoundException of that class.
But I've defined the path to the weblogic jar and the jar is there and the class is in the jar. I've also tried restarting JDeveloper to the same effect.
Anyone else run into this? Is there another cause for the problem?Hi,
I successfully make a connection to weblogic. But I got the following errors while deploy .deploy to weblogic. My company use Sun as Weblogic server. But my pc is run on Windows. Do you think that is why the error is created. Any suggestion will be greatly help.
Thanks
weblogic.j2ee.DeploymentException:
Start server side stack trace:
org.xml.sax.SAXParseException: The encoding "windows-1252" is not supported.
at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1082)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:541)
at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:310)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:966)
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:131)
at weblogic.j2ee.dd.xml.J2EEDeploymentDescriptorLoader_J2EE13.process(J2EEDeploymentDescriptorLoader_J2EE13.java:141)
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:114)
at weblogic.j2ee.dd.xml.J2EEUtils.loadDeploymentDescriptor(J2EEUtils.java:85)
at weblogic.management.mbeans.custom.Application.getDD(Application.java:670)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:487)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
9ias Deployment - Newbie Questions
I created an EAR file and want to deploy it on 9ias. With Tomcat and WebLogic I can simply copy the EAR file to an application deployment directory and, depending on configuration settings, the app server will automatically load it.
Can I do something similar with 9ias? How do I deploy a web app "manually" with 9ias?Hi Matthew,
You can do the same with both Oracle 9iAS and Oracle Application Server 10g.
Just navigate to the "Application Server Control OC4J Home Page", and click
on the Application Tab. Then try the "Deploy ..." buttons. There's
also a command-
line tool "dcmctl".
For more details, check out the OC4J User's Guide.
hope this helps,
-Frances -
Create EAR in JDeveloper to deploy on Oracle AS 10g
I have a J2EE project with EJBs and JSPs. I am using JDEVELOPER as my IDE. I need to deploy my application on ORACLE 10G APP SERVER.
I need to create an EAR file consisting of my EJBs and JSPs to deploy the appln.
When i go into Deployment Profiles in JDeveloper and try to create an EAR file, it does create the EAR file but the contents of the file are only 2-3 xml files, there is nothing else in it.
I am wondering how on earth do i need to create my EAR package so that i can deploy on Oracle APP Server.
This is actually very urgent... so i would really really appreciate and thank you if someone could help me out....
Thank you very much in advanceOK. Here is how I do that:
Say I have two projects named "web" and "model":
- Create a WAR deployment profile in the "web" project called web.deploy
- Create a EJB JAR deployment profile in the "model" project called model.deploy
- Create a new project called packing
- Open the project properties
- Select the "Dependencies" and select the projects "web" and "model"
- Create an EAR profile called app.deploy
- Right click on the app.deploy and select the "Properties..." entry from the context menu to open the "EAR Deployment Properties Dialog"
- Select the "Application Assembly"
- Tick the check boxes for "web.deploy" and "model.deploy"
- Now test the creation of the EAR by selecting "Deploy to EAR file" from the context menu.
- You can check the contents by using: jar tvf app.ear
- This will give you an output like this:
META-INF/application.xml
web.war
model.jar
To modify the application.xml and even include orion-application.xml, you can create them with the Deployment Descriptor wizards.
HTH,
--olaf -
10g Development - 9ias Deployment
Can we deploy to 9iAS using JDeveloper 10g. Don't know if we can get the production boxes upgraded (when 10g ships), but we like the enhancements of JDev. We of course could not use any of the 10g specific features, but assuming we were doing pretty plain Jane J2EE coding.
Thoughts?
- MikeYou should be able to deploy plain J2EE apps such as EJB, Servlets and JSP pages to 9iAS 9.0.3 using JDeveloper 10g.
DCM Servlet which comes with JDeveloper 10g preview release will be able to connect to Oracle9iAS 9.0.3
Create Oracle9i Application Server in JDeveloper 10g.
Create a deployment profile in the project which has EJB/JSP/Servlet.
Right mouse on the deployment profile and select the connection you have created earlier.
As you mentioned, you will have issues deploying framework based applications due to runtime differences and JDK version differences.
raghu
JDev Team
Maybe you are looking for
-
Why can I no longer connect to our home Wi-Fi?
I love my tablet, but with the problems I have been having, I am thinking that it is time to buy a lap top! It started with my having to reboot my tablet to connect to our home Wi-Fi. I was thinking that maybe ti was just slow Time Warner internet.
-
How do I get past the (-50) download error
I can not dowload from ITunes. I receive the error message THERE WAS AN ERROR DOWNLOADING YOUR PURCHASED MUSIC. AN UNKNOWN ERROR OCCURRED (-50). Based on everything I have read, there is an internet block. I ckd wdws and it shows Itunes being cleared
-
Two audio interfaces but different uses in one system
Hi, I have already got an audio interface for recording and run smoothly. Recently I get another audio interface (M-Audio Firewire 410). I want to add it to my system as a standalone mixer in which the outputs will be connected to 2 another active mo
-
Please post unlock code for Album Starter 3
Hi, I'm writing for my father who will be 70 tomorrow. The only gift he wants is to be able to retrieve the photos he unwittingly transferred to Adobe Album Starter 3. He didn't realize that it was a negative marketing scheme and is now caught in the
-
Guestconnect wireless connection is dead slow
After installing Certificate on NGS , Guestconnect wireless connection is dead slow. (takes more than 1 minute to load Splash page ,which is stalled on NGS) We have another Anchore controller with NGS in DR site. Whenever we pointing WLC to DR Anchor