Porting Forms6i Application already deployed in IAS.
Hi all,
We are in the process of creating an internal enterprise portal
for our company. We have created new portlets and downloaded many portlets and deployed. Now the problem here is we have an internal application developed in 6i and now running on IAS formserver as applets. Is it possible to deploy it as a portlet in this EIP of ours. I tried to link it using URL , but what happens is it opens as a single window overriding the portal. That means when i call the portal the formserver will load this application as a full page application instead of a portlet. Is there any way to convert these application to portlet and publish it as a portlet or can i use the same forms6i converted applets as portlets by doing small changes? please help so that we can go forward with our EIP , the project will otherwise be scrapped. if anyone can help us in this regard asap, will be grateful.
thanx
arun
Hi,
no really clear what you mean with " in spite of those jars be in de WAR file.". Are the Struts libraries available on the application server ? Did you install the ADF runtime to the application server ?
Frank
Similar Messages
-
Forms6i application as servlet on Ias 9i
What steps do I have to take to put my Forms6i application (test.fmx) on Ias9i as a Servlet?
thanksGo to otn.oracle.com/products/forms and then click on the link for Internet deployment.
You can then read the paper on the current 6i patch which tells you how to deploy as the Forms Listener Servelet
Regards
Grant Ronald
Forms Product Management -
Dll Created In: - MFC VC
6.0
Application Exe Developed In:
- VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit
/ Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component which
has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming on
client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest: -
We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
actually it is not executing Create () method,
I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: -
CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: -
From
int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System
0
Note: - According to logs, problem is coming in Create method().
Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue.Pointer variable was already initialized; I have mention in code; kindly assist us.
Dll Created In: - MFC VC 6.0
Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component
which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming
on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest:
- We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
working, actually it is not executing Create () method, I will give snippet of the code for understanding
the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return IS_ERR_WINDOWS;
Note: - CClientTSSocket extends CAsyncSocket
IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: - From int GETImage_MT() method
we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System 0
Note: - According to logs, problem is coming in Create method(). Here
0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
While same problem application was working properly earlier but now continuously it showing problem.
Kindly assist us to resolve the issue. -
Weblogic deploying an already deployed application!
Hi,
These are the following errors that I get. This is an already deployed application so not sure why weblogic deploys it again. This does not happen in all the machines.
Can someone tell me why it is doing this and how to make the application come up?
This is the error that I get when logging into the application:
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
Webserver console errors:
Unable to deploy EJB: jar from jar:
Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath, D:\bea\user_projects\ESMdomain\t
mp_ejbSramamoorthy7001myserver\-au306wtcrywq;D:\bea\user_projects\ESMdomain\applications\esm.ear\jar;D:\bea\j
dk131_06\jre\lib\rt.jar;D:\bea\jdk131_06\jre\lib\i18n.jar;D:\bea\jdk131_06\jre\lib\sunrsasign.jar;D:\bea\jdk1
31_06\jre\classes;D:\bea\jdk131_06\jre\lib\tools.jar;D:/bea/weblogic700\server\lib\weblogic_sp.jar;D:/bea/web
logic700\server\lib\weblogic.jar;D:\bea\jdk131_06\jre\jre\lib\rt.jar;JAVA_HOME\lib\dt.jar;D:/bea/weblogic700/
server/lib/mbeantypes/wlManagement.jar;D:/bea/weblogic700/server/lib/mbeantypes/ESMSecurityProviders.jar;D:/b
ea/user_projects/ESMdomain/applications/esmconfig;D:/bea/user_projects/ESMdomain/applications/esm.ear/jar;D:/
bea/user_projects/ESMdomain/esmlib/avalon.jar;D:/bea/user_projects/ESMdomain/esmlib/batik.jar;D:/bea/user_pro
jects/ESMdomain/esmlib/bsh-1.2b7.jar;D:/bea/user_projects/ESMdomain/esmlib/comm.jar;D:/bea/user_projects/ESMd
omain/esmlib/multipartrequest.jar;D:/bea/user_projects/ESMdomain/esmlib/crimson.jar;D:/bea/user_projects/ESMd
omain/esmlib/fop.jar;D:/bea/user_projects/ESMdomain/esmlib/gnu-regexp-1.1.4.jar;D:/bea/user_projects/ESMdomai
n/esmlib/jdom.jar;D:/bea/user_projects/ESMdomain/esmlib/oracle.jar;D:/bea/user_projects/ESMdomain/esmlib/repo
rting.jar;D:/bea/user_projects/ESMdomain/esmlib/xerces.jar, -d, tmp_ejbSramamoorthy7001myserver\-au306wtcrywq
, @C:\DOCUME~1\SRAMAM~1\LOCALS~1\Temp\compileList29351.tmp])
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:249)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:489)
at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:819)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:232)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1570)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:737)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490
at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServer
LifeCycleImpl.java:150)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
<Jul 29, 2004 11:44:23 AM EDT> <Error> <Deployer> <149231> <The slave deployer was unable to set the activati
on state to true for the application appsdiresm_ear-0
weblogic.management.ApplicationException: activate failed forwar
Module Name: war, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested excepti
on:
[weblogic.deployment.EnvironmentException: Could not resolve ejbLink: RackManager]
TargetException:
Unable to deploy EJB: jar from jar:Error 503--Service Unavailable
Thanks in advance and any help will be greatly appreciated!
Message was edited by sssd at Jul 29, 2004 10:56 AMHi,
These are the following errors that I get. This is an already deployed application so not sure why weblogic deploys it again. This does not happen in all the machines.
Can someone tell me why it is doing this and how to make the application come up?
This is the error that I get when logging into the application:
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
Webserver console errors:
Unable to deploy EJB: jar from jar:
Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath, D:\bea\user_projects\ESMdomain\t
mp_ejbSramamoorthy7001myserver\-au306wtcrywq;D:\bea\user_projects\ESMdomain\applications\esm.ear\jar;D:\bea\j
dk131_06\jre\lib\rt.jar;D:\bea\jdk131_06\jre\lib\i18n.jar;D:\bea\jdk131_06\jre\lib\sunrsasign.jar;D:\bea\jdk1
31_06\jre\classes;D:\bea\jdk131_06\jre\lib\tools.jar;D:/bea/weblogic700\server\lib\weblogic_sp.jar;D:/bea/web
logic700\server\lib\weblogic.jar;D:\bea\jdk131_06\jre\jre\lib\rt.jar;JAVA_HOME\lib\dt.jar;D:/bea/weblogic700/
server/lib/mbeantypes/wlManagement.jar;D:/bea/weblogic700/server/lib/mbeantypes/ESMSecurityProviders.jar;D:/b
ea/user_projects/ESMdomain/applications/esmconfig;D:/bea/user_projects/ESMdomain/applications/esm.ear/jar;D:/
bea/user_projects/ESMdomain/esmlib/avalon.jar;D:/bea/user_projects/ESMdomain/esmlib/batik.jar;D:/bea/user_pro
jects/ESMdomain/esmlib/bsh-1.2b7.jar;D:/bea/user_projects/ESMdomain/esmlib/comm.jar;D:/bea/user_projects/ESMd
omain/esmlib/multipartrequest.jar;D:/bea/user_projects/ESMdomain/esmlib/crimson.jar;D:/bea/user_projects/ESMd
omain/esmlib/fop.jar;D:/bea/user_projects/ESMdomain/esmlib/gnu-regexp-1.1.4.jar;D:/bea/user_projects/ESMdomai
n/esmlib/jdom.jar;D:/bea/user_projects/ESMdomain/esmlib/oracle.jar;D:/bea/user_projects/ESMdomain/esmlib/repo
rting.jar;D:/bea/user_projects/ESMdomain/esmlib/xerces.jar, -d, tmp_ejbSramamoorthy7001myserver\-au306wtcrywq
, @C:\DOCUME~1\SRAMAM~1\LOCALS~1\Temp\compileList29351.tmp])
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:249)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:344)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:489)
at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:819)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:232)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1570)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:737)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490
at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServer
LifeCycleImpl.java:150)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
<Jul 29, 2004 11:44:23 AM EDT> <Error> <Deployer> <149231> <The slave deployer was unable to set the activati
on state to true for the application appsdiresm_ear-0
weblogic.management.ApplicationException: activate failed forwar
Module Name: war, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested excepti
on:
[weblogic.deployment.EnvironmentException: Could not resolve ejbLink: RackManager]
TargetException:
Unable to deploy EJB: jar from jar:Error 503--Service Unavailable
Thanks in advance and any help will be greatly appreciated!
Message was edited by sssd at Jul 29, 2004 10:56 AM -
HFM deployment issue on EPMA - The application already exists
The first time I deploy the HFM application everything works fine until I try to redeploy after deleting the application. I have tried registering the application to SS and then try deleting it from there but that does not work. Here is my deployment abort details:
Submitted Time : Saturday, March 21, 2015 3:38:22 PM
Last Updated Time : Saturday, March 21, 2015 3:38:33 PM
User Name : hypadmin
Process Name :
Thread : 0
Server :
Detail : Initiating Product Action...
Generating Headers and Callback Information...
Generating Application Data...
Posting Product Request...
Waiting For Status Updates...
PRODUCT_UPDATE: Update from product
Financial Management is transforming metadata from EPMA...
Creating Application...
The application already exists.
Please help and thank you.
Gideon SeroneyGot around this issue by creating a classic application over the epma app, provision admin then delete it from consolidation admin.
Unfortunately it seems that the epma application should never have been registered like a classic app. Always perform 'deploy' and never 'register' since it get stuck in SQL data tables. Unless you are a DBA I would not suggest monkeying with the tables to begin with.
Thanks! -
Dynamically determining the port number of a deployed application
Hi
How do I dynamically determine the port number of a deployed web application ?
I know HttpRequest.RequestURL() returns us the entire URL but I wanted to just
know the port number .
Is there any API do that ??
Thanks
Kar
kar piyush wrote:
> Hi
>
> How do I dynamically determine the port number of a deployed web application ?
> I know HttpRequest.RequestURL() returns us the entire URL but I wanted to just
> know the port number .
>
> Is there any API do that ??
>
kar,
Here's what I do under WL 7 SP2:
import javax.management.AttributeNotFoundException;
import javax.management.DynamicMBean;
import javax.management.MBeanException;
import javax.management.ReflectionException;
import javax.naming.Context;
import javax.naming.NamingException;
import weblogic.jndi.Environment;
import weblogic.management.MBeanHome;
String domainName,
serverName,
serverPort,
serverUrl;
// Getting the initial context
Environment env = new Environment();
try
Context ctx = env.getInitialContext();
if (ctx == null)
// unable to retrieve a JNDI context
return;
// Retrieving the server-specific MBeanHome interface
MBeanHome home =
(MBeanHome) ctx.lookup(MBeanHome.LOCAL_JNDI_NAME);
if (home == null)
// unable to retrieve the local server MBean
return;
// Get the domain & server name
domainName = home.getDomainName();
serverName = home.getMBeanServer().getServerName();
// The server port and address are a little trickier to extract...
Object mbeanArray[] =
home.getMBeansByType("ServerConfig").toArray();
DynamicMBean mbean = (DynamicMBean) mbeanArray[0];
try
serverPort =
Integer.parseInt(
mbean.getAttribute("ListenPort").toString());
serverUrl =
mbean.getAttribute("ListenAddress").toString();
catch (AttributeNotFoundException thrown)
// caught a AttributeNotFoundException
catch (MBeanException thrown)
// caught a MBeanException
catch (NullPointerException thrown)
// caught a NullPointerException
catch (ReflectionException thrown)
// caught a ReflectionException
catch (NamingException thrown)
log.debug("caught a NamingException", thrown);
-
Retrieve already deployed webdynpro for java source code from portal server
HI ,
We have webdynpro for java apllication already deployed on the J2EE server. We found the ear file related to this application. But I am not able to make any changes to the ear file in NWDS as it cannot be directly imported into NWDS. We do not have NWDI for software logistics and the resource who built the WDJ application has left the company. Is there any way that I can retrieve the complete source code of the application from the portal. I need to make some changes to Webdynpro component and its view. I have worked with basis team to retrieve the ear file from portal server. But I could not make any progress just with the ear file. Thank you for your help in advance
Regards,
KMM.You are probably breaking some license agreement by de-compiling the content of the 'war' files. Why not ask the people who provided the 'war' file if you could have the source and build system.
-
Porting j2ee application from Weblogic to Oracle 10g AS
What are the common guidelines/consideration when we port a J2EE application on Oracle Application server 10g. from WebLogic 8.1. If you have some inputs on pin points/guidelines/Architecture decisions that we might need to consider when we port a J2EE application on different J2EE application server
I got the link for app server migration but it is broken :
http://www.oracle.com/consulting/technology/appserver_migration_ds.pdf
Our application uses the following J2EE components
1. JDBC 2.0
2. JNDI
3. DAO
4. EJB
5. JMS
6. JAAS
7. JAVA Mails.
8. Servlets, JSP’s
I can think following point that needs to take care while porting
1. Its deployment configuration vis-a-vis the apps on top
2. The APIs it exposes (actually the information it allows the apps to pass in to the framework
3. The data it encapsulates (in order to be app-server agnostic; does it need to be now exposed to apps?)
Some J2EE specific areas
1. JNDI usage and exposure to apps 2. Properties files/XML files
2. Location specification 3. Resource bundle location specification
4. EJB deployment descriptors
5. Class/jar references between wars and ears
6. Jar sharing model across ears
7. Class loader differences across app-servers
8. JMS settings (queues, topics, factories, durability etc)
9. UI tags 10. Startup services
11. Managed services (JMX)
12. Security context passing
13. Clustered configurations if any and how they port across app-servers
Thanks
Santosh MaskarThis document is very old.
Take a look at the recent migration guide in the Oracle AS 10.1.3.1 documentation
http://download-uk.oracle.com/docs/cd/B31017_01/migrate.1013/b31269/toc.htm -
What is the best way to port complete applications from DEV - Test - PRD?
Hi,
One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
What is the best way to port complete applications from DEV -> Test -> PROD ??
Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
Best RegardsHi AJ,
Nice PDF !
Though the PDF does give a basic idea as to how we can go about the deployments using ANT and EM in Test and Prod, it doesn't really give extensive details. For eg. ANT would obviously need huge ANT scripts to be written for migrations to multiple Test servers, etc.
Similarly, when we talk about EM, does it mean each of the services has to be manually deployed on Production ?
I am sure we would be looking more towards a fully automated solution. No ?
Best Regards
Nitin -
What is the best way to port complete applications from DEV - Test - PROD
Hi,
One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
What is the best way to port complete applications from DEV -> Test -> PROD ??
Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
Best RegardsIt has been discussed here in detail-
SOA 11g Composite Deployment across multiple Instances: Best Practice
since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?You may use deployment plan for this purpose. For access control, you may use Role Based access of Weblogic and EM. Please refer -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10226/appx_roles_privs.htm#BABIHDFJ
Regards,
Anuj -
How to check via wlst that application was deployed on specific server?
There is several managed servers(not in claster) on environment.
My application is deployed on a few of them.
1. How to check if application was already deployed on some specific managed server?
2. Is it possible to redeploy application only on one managed server?
3. How to redeploy application on all managed servers?
Edited by: vbez on Sep 13, 2010 6:26 AMHow to check if application was already deployed on some specific managed server?
applicationRuntime = cmo.getAppRuntimeStateRuntime();
state = applicationRuntime.getCurrentState("deploymentname", "deploymenttarget");Is it possible to redeploy application only on one managed server?
If you redeploy an application it is deployed to all the targets it has been assigned to.
How to redeploy application on all managed servers?
See above. If your application has been targetted to the managed servers
it gets redeployed to these targetted servers. -
Port 8080 is already bound error when i try to bind it with Tomcat
Hi,
I use Oracle 9i AS version 2 on Sun Solaris.
I start the oracle service with the following shell script
#orastart.sh
ORACLE_BASE=/users/ora9ias
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/orainfra
export ORACLE_HOME
ORACLE_SID=iasdb
export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
PATH=${PATH}:$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin
PATH=${PATH}:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin
export PATH
lsnrctl start
sqlplus
#Enter user-name: connect as sysdba
#Enter password: manager
#SQL>startup
#SQL>exit
oidmon start
oidctl server=oidldapd instance=1 configset=1 start
dcmctl start -cl
I also run Tomcat Web Server on port 8080.
When I run the orastart.sh before running the Tomcat Web Server than I am not able to run the web server because the port 8080 is already bound by some process in Oracle 9i AS.
If I run the web server first than the orastart.sh then there is no problem in anything.
As per requirements by the client we have to run the web server on port 8080 only. There is absolutely no guarantee that the client will run the processes in some specified order i.e. orastart first then Tomcat or vice-versa. Please provide me help so that i can change the port 8080 used by some oracle process to some other port number, so that it does not conflict with the port 8080 used by Tomcat.
AnuragHi Tugdual,
I have done as u have mentioned, but in $ORACLE_HOME/install/portlist.ini there is no service that listens to the port 8080.
I only get this problem when I run my script before running the Tomcat web server, when i run the Tomcat web server before the script then i face no problem.
I am also pasting the output of the lsnrctl command. This shows that Oracle 9i AS is listening to port 8080.
LSNRCTL> stat
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 9.0.1.3.0 - Production
Start Date 26-NOV-2003 12:18:09
Uptime 0 days 2 hr. 13 min. 16 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /users/ora9ias/orainfra/network/admin/listener.ora
Listener Log File /users/ora9ias/orainfra/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ikon.india.ipolicynet.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=0.0.0.0)(PORT=2482))(PRESENTATION=GIOP)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=2481))(PRESENTATION=GIOP)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=0.0.0.0)(PORT=9090))(PRESENTATION=http://admin)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=8080))(PRESENTATION=http://admin)(SESSION=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "iasdb.ikon.india.ipolicynet.com" has 2 instance(s).
Instance "iasdb", status UNKNOWN, has 1 handler(s) for this service...
Instance "iasdb", status READY, has 3 handler(s) for this service...
The command completed successfully
LSNRCTL>
Please help me in this, as this is very urgent. Our client already uses the Oracle 9i AS 2 (on Solaris) for some other application and I have to use the same machine and also the client wants the Tomcat web server to listen to port 8080 only. He has asked us to change the port of Oracle 9i Service that uses the port 8080.
thanx
Anurag -
Accessing EJB in already deployed jar
Hi
I have an .jar file already deployed into my weblogic server. Am getting an error when trying to access an EJB in the .jar from my web application(.war).
Even if i package the .jar and .war together am gettign a JNDI exception for the EJB's
Is there any work around to access an EJB in .jar from a jsp /servlet in .war fileHi
I have an .jar file already deployed into my weblogic server. Am getting an error when trying to access an EJB in the .jar from my web application(.war).
Even if i package the .jar and .war together am gettign a JNDI exception for the EJB's
Is there any work around to access an EJB in .jar from a jsp /servlet in .war file -
How to add host in OEM for which agent is already deployed
Hi All,
I had installed OEM 12c Cloud Control previously. From that OEM I had added certain host. While adding those hosts I deployed agents on them. Now I am not using that OEM anymore. I have freshly installed OEM again and now I want to add the same host. Is is possible to use the same agent which was deployed earlier on the host which I want to add as target. If yes, then what steps do I need to follow to add a host as a target in OEM for which an agent is already deployed. That means I want to by-pass the step which deploys an agent to the target host and reuse the already deployed agent.
Please guide!!Yes this is possible. To use an installed agent with a new OMS you can follow these steps:
1. Shut down the running 12c agent with the below command:
$AGENT_INSTANCE_HOME/bin/emctl stop agent
2. Remove the agent instance home:
rm -rf $AGENT_INSTANCE_HOME
3. Manually remove the targets monitored by the agent in the EM console (sounds like you don't need to do this as the EM installation is no longer present)
4. Create a new instance home pointing to the new oms:
$AGENT_BASE_DIR/core/12.1.0.1.0/sysman/install/agentDeploy.sh
AGENT_BASE_DIR=<location of the agent base dir> OMS_HOST=<oms hostname>
EM_UPLOAD_PORT=<http/https upload port>
AGENT_REGISTRATION_PASSWORD=<registration password>
AGENT_INSTANCE_HOME=<absolute path where the instance home has to be created>
-configOnly
Regards, Mark. -
Applet class deployment to iAS?
Can anyone help me with documentation/examples or suggestions on how to deploy my applet .class files to iAS. Once the .class files reside in the iAS, how do I reference the .class files located on the iAS in my html page? Assuming my .class files reside in jar files, what convention do I use when attempting to reference them on the iAS? Any help would be appreciated. Thanks.
My experience with Together Control Center is not very
good. If you are using iAS, the best tool to work is Forte for Java.
It has very good support for Application developement,debugging and deployment on iAS.
Please feel free to ask any further question
Maybe you are looking for
-
Tips for Changing Flash Website to HTML / Dreamweaver
I am going to be taking over the management of a website that was designed entirely in Flash. There really is no need for the entire website to be entirely in Flash - it is confusing to navigate and most of the content would be so much easier to upda
-
Hi, I have a scenario in which i have to generate a MBGMCR IDOC whenever a material document is posted ans send this to XI. Now i have to put a condition to process only IDOCs that have a particular vendor number must be sent out to XI and others ha
-
A question before buy movie and music, please help.
Hi, I've just created itunes account and planing to buy some music and movie. But I've got my worries so before I buy I want to make sure. I'm sorry if someone has already ask them. 1. If I buy music from itunes can I play it on my Nokia phone? I hav
-
Who logged into a computer and when?
I was asked by another user of Macs, How can I tell when a user from a list of users logged in and used their account or another account. I have never been asked this question before so I was puzzled on this one. The system that this user is using OS
-
HT1212 how do i unlock a disabled iphone five
how to unlock a disabled iphone 5