Jdeveloper 9031 deploy to remote dcm
Hi,
We've been playing with the JDeveloper 9031 to deploy applications to remote dcm (Oracle9iAS 903).
It seems (from experimentation and documentation) that the ias_admin user & password is needed for that function.
Many developers are going to connect to that server to deploy their applications. I would like to avoid distributing the administrative userID & password to everyone.
Is there a way to use the remote DCM deploy feature without using the ias_admin userid/password?
Thanks,
Maxime
Hello all,
I have since found-out that you cannot accomplish this without the admin password(Confirmed on metalink).
As a workaround, I have built a program that will deploy for the users. They do not have access to read the script so, the password is hidden from them. Sudo could probaly do the job as well.
This works on Unix. On Windows, you probably have to compile someting to hide-it.
Max
Similar Messages
-
Interesting! JDeveloper deploy to remote server uses HTTP POST
The documentation clearly mentions that the bpelc ant task only deploys to local server using a file copy. I was wondering how JDeveloper is able to deploy to remote servers. Turns out is just does a HTTP POST of multipart/form-data to upload the BPEL suitcase jar file. Given below is the trace of the POST. Of course, it is all proprietary for now and is not documented. Maybe Oracle can wrap this as a custom ant task?
--Nizam
POST /integration/services/deploy/deployProcess.jsp HTTP/1.1
Host: bpel.server.com:9700
Connection: Keep-Alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
BPELDomain: default
BPELPassword: bpel
Accept-Language: en
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: multipart/form-data;boundary=*****
Content-length: 10690
Content-Disposition: form-data; name="upload";BPELDomain="default"; filename="E:\work\MyBPELWS\HelloWorld\output\bpel_HelloWorld_1.0.jar"
PK..
........3................META-INF/....PK..
........3...#............META-INF/MANIFEST.MFManifest-Version: 1.0
Process-GUID: MD5{9d2c0a4b850da042548cc6bdf1c04d68}
Created-By: 1.4.2_06 (Sun Microsystems Inc.)
Process-Id: HelloWorld
Timestamp: 1124360790893
Process-Class: BPEL
Implementation-Package: bpel.p0
Revision-Tag: 1.0
PK..
........3................BPEL-INF/PK..
........3.\.Z............bpel.xml<?xml version="1.0" encoding="UTF-8"?>
<BPELSuitcase guid="MD5{9d2c0a4b850da042548cc6bdf1c04d68}" timestamp="1124360790893" revision="1.0">
<BPELProcess process-impl="bpel.p0.BPEL_BIN" src="HelloWorld.bpel" id="HelloWorld">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">HelloWorld.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>
PK..
........3[...5...5.......build.xml<?xml version="1.0" ?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
HelloWorld BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="HelloWorld" default="main" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0" />
<target name="main">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
</target>
</project>PK..
........3,.JaZ...Z.......graphics.xml<?xml version = '1.0' encoding = 'UTF-8'?>
<graphics>
<partnerlink_locations>
<partnerlink name="client" x="15" y="215" side="left"/>
</partnerlink_locations>
<diagram popupeditor="false" centerzoom="true" validateonload="true" confirmbeforedelete="true" SELECTED_PARTNERLINK_COLOR="0,0,153" SWIMLANE_BACKGROUND="255,255,225" SWIMLANE_DIVIDER_BACKGROUND="236,233,216" GRAPH_BACKGROUND="255,255,255" SELECTED_BORDER_BACKGROUND="204,255,204" CONNECTED_PARTNERLINK_COLOR="204,204,255" CONNECTABLE_PARTNERLINK_COLOR="0,0,255" UNCONNECTED_PARTNERLINK_COLOR="192,192,192"/>
</graphics>
PK..
........3O ..............HelloService.wsdl<definitions
targetNamespace="http://tempuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:s0="http://tempuri.org/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<import namespace="http://tempuri.org/" location="http://localhost/HelloEnglish/Service1.asmx?WSDL"/>
<plnk:partnerLinkType name="Service1Soap_PL">
<plnk:role name="Service1Soap_Role">
<plnk:portType name="s0:Service1Soap"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
PK..
........3.....
......HelloWorld.bpel<!--
// Oracle JDeveloper BPEL Designer
// Created: Fri Aug 05 00:05:52 IST 2005
// Author: nizam
// Purpose: Synchronous BPEL Process
-->
<process name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/HelloWorld" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
<partnerLinks><!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:HelloWorld" myRole="HelloWorldProvider"/>
</partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
<variables><!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable" messageType="client:HelloWorldRequestMessage"/><!--
Reference to the message that will be returned to the requester
-->
<variable name="outputVariable" messageType="client:HelloWorldResponseMessage"/>
</variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
<sequence name="main"><!-- Receive input from requestor.
Note: This maps to operation defined in HelloWorld.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
<assign name="Assign_1">
<copy>
<from expression="concat("v1.1: Hello ", bpws:getVariableData('inputVariable','payload','/client:HelloWorldProcessRequest/client:input'))"/>
<to variable="outputVariable" part="payload" query="/client:HelloWorldProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="outputVariable"/>
</sequence>
</process>PK..
........3.....
......HelloWorld.wsdl<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloWorld"
targetNamespace="http://xmlns.oracle.com/HelloWorld"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/HelloWorld"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.TYPE DEFINITION - List of services participating in this BPEL process
.The default output of the BPEL designer uses strings as input and
.output to the BPEL Process. But you can define or import any XML
.Schema type and us them as part of the message types.
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<types>
..<schema attributeFormDefault="qualified"
...elementFormDefault="qualified"
...targetNamespace="http://xmlns.oracle.com/HelloWorld"
...xmlns="http://www.w3.org/2001/XMLSchema">
...<element name="HelloWorldProcessRequest">
....<complexType>
.....<sequence>
......<element name="input" type="string"/>
.....</sequence>
....</complexType>
...</element>
...<element name="HelloWorldProcessResponse">
....<complexType>
.....<sequence>
......<element name="result" type="string"/>
.....</sequence>
....</complexType>
...</element>
..</schema>
.</types>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.MESSAGE TYPE DEFINITION - Definition of the message types used as
.part of the port type defintions
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<message name="HelloWorldRequestMessage">
..<part name="payload" element="client:HelloWorldProcessRequest"/>
.</message>
.<message name="HelloWorldResponseMessage">
..<part name="payload" element="client:HelloWorldProcessResponse"/>
.</message>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.PORT TYPE DEFINITION - A port type groups a set of operations into
.a logical service unit.
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<!-- portType implemented by the HelloWorld BPEL process -->
.<portType name="HelloWorld">
..<operation name="process">
...<input message="client:HelloWorldRequestMessage" />
...<output message="client:HelloWorldResponseMessage"/>
..</operation>
.</portType>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.PARTNER LINK TYPE DEFINITION
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<plnk:partnerLinkType name="HelloWorld">
..<plnk:role name="HelloWorldProvider">
...<plnk:portType name="client:HelloWorld"/>
..</plnk:role>
.</plnk:partnerLinkType>
</definitions>
PK..
........3..............................META-INF/....PK..
........3...#......................+...META-INF/MANIFEST.MFPK..
........3..........................T...BPEL-INF/PK..
........3.\.Z......................{...bpel.xmlPK..
........3[...5...5.................i...build.xmlPK..
........3,.JaZ...Z.....................graphics.xmlPK..
........3O ........................I...HelloService.wsdlPK..
........3.....
....................HelloWorld.bpelPK..
........3.....
....................HelloWorld.wsdlPK...............&....
*****If anyone is interested, I've created a custom ant taks to leverage this HTTP post for deploying the BPEL suitcase jar to remote servers. We didn't want to use FTP, as we'd have to change permissions on the files.
To do this, I've leveraged the oracle.tip.pc.infra.deploy.DeployRemote class. You just have to pass it the path the the jar, server url (http://host:port/deploy/deployProcess.jsp), domain, and password.
This seems to work fine for us.
-Mike -
Hi
I have a jsp application which is using a third party jar. I included the jar in the project libraries. But when I deployed on the remote DCM oc4j instance it is not recongnizing the classs files in the jar. I'm getting the following message
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:/app/oracle/product/as903/j2ee/xsql/application-deployments/jeupload/jeupload/persistence/_pages//_CSVIpload__Page8.java
error: File /app/oracle/product/as903/j2ee/xsql/applications/jeupload/jeupload/WEB-INF/classes/SmartUpload.class does not contain type SmartUpload as expected, but type com.jspsmart.upload.SmartUpload. Please remove the file, or make sure it appears in the correct subdirectory of the class path.
/app/oracle/product/as903/j2ee/xsql/application-deployments/jeupload/jeupload/persistence/_pages/_CSVIpload__Page8.java:519: Class SmartUpload not found.
SmartUpload myUpload = null;
I imported third party jar file to project and
while making the ear file I made following selections
general - use projects j2ee web contenct root
web-inf-lib - included my third party jar file
profile dependcies - selected thired party jar file add to the ear fileHi
I have a jsp application which is using a third party jar. I included the jar in the project libraries. But when I deployed on the remote DCM oc4j instance it is not recongnizing the classs files in the jar. I'm getting the following message
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:/app/oracle/product/as903/j2ee/xsql/application-deployments/jeupload/jeupload/persistence/_pages//_CSVIpload__Page8.java
error: File /app/oracle/product/as903/j2ee/xsql/applications/jeupload/jeupload/WEB-INF/classes/SmartUpload.class does not contain type SmartUpload as expected, but type com.jspsmart.upload.SmartUpload. Please remove the file, or make sure it appears in the correct subdirectory of the class path.
/app/oracle/product/as903/j2ee/xsql/application-deployments/jeupload/jeupload/persistence/_pages/_CSVIpload__Page8.java:519: Class SmartUpload not found.
SmartUpload myUpload = null;
I imported third party jar file to project and
while making the ear file I made following selections
general - use projects j2ee web contenct root
web-inf-lib - included my third party jar file
profile dependcies - selected thired party jar file add to the ear file -
Problem getting bindings in managed bean after deployment on remote weblogic
We have a Fusion Web application successfully running on Jdev 12c and its integrated wls server with Oracle 12c database configured as a DataSource. We created an ear file from JDev and deployed it on remote wls servers. The initial login .jspx page came up without any issues. Upon entering the login credentials in the browser and trying to enter the application, we are getting a Null Pointer exception. Looking at the logs, the null pointer is thrown when its trying to get the bindings in the managed bean.
BindingContext bctx;
bctx = BindingContext.getCurrent();
DCBindingContainer bc =(DCBindingContainer)getBindings();
DCBindingContainer bindings = (DCBindingContainer)bctx.getCurrentBindingsEntry();
DCDataControl dataControl = bindings.findDataControl("LoginAMDataControl");
variable bindings is Null. What needs to be configured/changed while packaging the ear file for deployment on remote wls 12c? Please advise and appreciate your response.try this...
public String test() {
DCIteratorBinding binding= getItrtBindings("findAdByNumberIterator");
Row row = binding.getCurrentRow();
String dn = (String)row.getAttribute("docNumber");
System.out.println("docNumber " + dn);
return dn;
private BindingContainer bindings;
public BindingContainer getBindings() {
return this.bindings;
public void setBindings(BindingContainer bindings) {
this.bindings = bindings;
protected DCIteratorBinding getItrtBindings(String binding){
DCIteratorBinding outIterBinding = getBindingsForDCB().findIteratorBinding(binding);
return outIterBinding;
public DCBindingContainer getBindingsForDCB() {
if (this.bindings == null) {
FacesContext fc = FacesContext.getCurrentInstance();
this.bindings =(DCBindingContainer)fc.getApplication().evaluateExpressionGet(fc,"#{bindings}",DCBindingContainer.class);
return (DCBindingContainer)this.bindings;
} -
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
-
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 -
JDev 9.0.3 Remote DCM to 9iAS - Has ANYONE Made it Work?
All,
I have been trying to create a connection to my 9iAS 9.0.2 server from JDev 9.0.3 using Remote DCM. I've successfully installed the DCM servlet, and appear to be successfully connecting to the DCM servlet on the remote server. However, I keep receiving the message "Invalid Oracle Home directory" when testing my connection in JDev.
I've ensured that I've typed the home directory with the proper mixed case, as required because of its case-sensitivity. That didn't work, so I tried all caps, all lowercase, adding a trailing "\"... every stupid hack I could think of. No luck.
From other posts I've read here, it appears that perhaps this highly-publicized feature JUST DOESN'T WORK! Before I accept that conclusion...
Has ANYONE out there ACTUALLY managed to get this to work? If so, please pass along your magic trick...
Thanks!i had same problem. i try to connect from a linux machine to an remote oracle aplication server installed on a windows machine.
in the "remote server's oracle home directory" path i had to escape the '\':
the original path is: "C:\oracle\ora10gAS". the connection succeded with "C:\\oracle\\ora10gAS".
i dont know it is the same with windows to windows connections.
daniel. -
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. -
Can not deploy a remote storage node
Hello,
I have started successfully two SNA at two node, because we can ping to each other. But when I use admin console to to deploy the first remote storage node, it always shows the error "Connection refused to host: localhost". I use the command line to deploy a remote storage node. There is the same problem.
Dose some one know how to solve it? Thank you advanced.
Here is the error log:
in createPlan: Oracle NoSQL DB 11gR2.1.2.123 oracle.kv.impl.fault.OperationFaultException: Plan 16[Plan-16] finished in state ERROR. Problem during plan execution: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused
caused by:
oracle.kv.impl.admin.AdminFaultException
Oracle NoSQL DB 11gR2.1.2.123 oracle.kv.impl.fault.OperationFaultException: Plan 16[Plan-16] finished in state ERROR. Problem during plan execution: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
Oracle NoSQL DB 11gR2.1.2.123 oracle.kv.impl.fault.OperationFaultException: Plan 16[Plan-16] finished in state ERROR. Problem during plan execution: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused oracle.kv.impl.fault.OperationFaultException: Plan 16[Plan-16] finished in state ERROR. Problem during plan execution: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy8.getSerialVersion(Unknown Source)
at oracle.kv.impl.util.registry.RemoteAPI.(RemoteAPI.java:32)
at oracle.kv.impl.sna.StorageNodeAgentAPI.(StorageNodeAgentAPI.java:51)
at oracle.kv.impl.sna.StorageNodeAgentAPI.wrap(StorageNodeAgentAPI.java:58)
at oracle.kv.impl.util.registry.RegistryUtils.getStorageNodeAgent(RegistryUtils.java:243)
at oracle.kv.impl.admin.plan.task.DeploySN.call(DeploySN.java:94)
at oracle.kv.impl.admin.plan.task.DeploySN.call(DeploySN.java:35)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
... 18 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.(Socket.java:375)
at java.net.Socket.(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 17 more
at oracle.kv.impl.admin.AdminServiceFaultHandler.getThrowException(AdminServiceFaultHandler.java:84)
at oracle.kv.impl.fault.ProcessFaultHandler.rethrow(ProcessFaultHandler.java:205)
at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:144)
at oracle.kv.impl.admin.CommandServiceImpl.executePlan(CommandServiceImpl.java:234)
at oracle.kv.impl.admin.CommandServiceAPI.executePlan(CommandServiceAPI.java:162)
at oracle.kv.impl.admin.webapp.server.AdminUIServiceImpl.createPlan(AdminUIServiceImpl.java:554)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:934)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:404)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:869)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
at org.eclipse.jetty.server.Server.handle(Server.java:341)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:515)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:662)
(from Plans.PlanCallback)920601 wrote:
Thanks, Charles. I use network host name or network host IP address instead of localhost and it well resolved my former problem. I can deploy the remote SN. But there is a new problem when I deploy the store. It looks like that these Replication Node at different SN can not communicate with each other, because of mis-match IP address format.
Note that the node "community01/10.193.128.223" is the first deployed node who holds the administration process, "mi-desktop/127.0.1.1:5011" is another node. I don't understand why the second node uses its loopback adress. Can you help me to find out the solution?
Here is the original error log.
"mi-desktop/127.0.1.1:5011 the address associated with this node, is a loopback address. It conflicts with an existing use, by a different node of the address:community01/10.193.128.223:5011 which is not a loopback address. Such mixing of addresses within a group is not allowed, since the nodes will not be able to communicate with each other."I'm not sure I have any good advice, but I would check your /etc/hosts to see if mi-desktop maps to the loopback address (127.0.0.1). If it does, then you need to use a name that does not map to the loopback.
Charles Lamb -
Options for deployment via Remote Desktop Services / Terminal Server
Currently we have volume licenses for CS which is deployed via remote desktop services in a multi-server load balanced farm.
When reaching out to support, they informed me that CC cannot be deployed via RDS/terminal services.
Seeing that CS is discontinued, how does Adobe suggest deployment of their apps via RDS/Terminal services?
The support rep really didn't have an answer for me.
I find it hard to believe that Adobe's going to abandon deployment of their apps in the enterprise as things are moving towards thin clients rather than traditional desktops.
We'd like to avoid needing to go VDI instead of RDS if possible.
I'd imagine VDI would have the same licensing issues assuming you don't want to have a dedicated VM for each user rather than having a shared pool of VMs.
Thank You.The only link I have is http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent
Otherwise, Adobe contact information - http://helpx.adobe.com/contact.html since this forum is about the "regular" Cloud -
Simple java archive type deployment is invalid in Jdeveloper 9031
Hi All,
If I choose a Simple Java archive type of deployment of a jsp tag lib project in Jdeveloper the archive does not include the directory layout recursively. Ex. I get this.
c:\> jar tvf test.jar
64 Sat Jan 01 23:53:48 PST 2000 META-INF/MANIFEST.MF
1300 Sat Jan 01 23:53:48 PST 2000 META-INF/autodate.tld
5772 Sat Jan 01 23:53:48 PST 2000 test/autodate.class
Where if I do it the archiving from the comman line. i.e
c:\> jar cvf test.jar META-INF test
I get
0 Wed Feb 26 20:52:42 PST 2003 META-INF/
68 Wed Feb 26 20:52:42 PST 2003 META-INF/MANIFEST.MF
1300 Wed Feb 26 20:12:42 PST 2003 META-INF/autodate.tld
0 Wed Feb 26 20:12:42 PST 2003 test/
5772 Wed Feb 26 20:12:42 PST 2003 test/autodate.class
The latter is a valid archive that I can use for taglib deployment. The former, i.e the Jdev deployed archive does not work. The jsp does not find the tag library.
What is the archiving tool that jdeveloper uses??
Why is it different from doing a command line archive??
Is there anyway I can instruct the deployment tool to include the directory tree in the archive??
- ManishHi Lynn,
The Archive looks exactly the same and the jsp fails to find the tld from the classpath.
64 Fri Apr 04 13:53:48 PST 2000 META-INF/MANIFEST.MF
1300 Fri Apr 04 13:36:48 PST 2000 META-INF/autodate.tld
5772 Fri Apr 04 13:42:48 PST 2000 test/autodate.class
Note, this is a problem only when using the Tag lib autodiscovery mechanism of JSP 1.2 where the tld can exist anywhere in the classpath under META-INF and the path is not explicitly specified in the jsp.
- Manish
- Manish -
Can't access EJB deployed on remote OC4J - what am I doing wrong?
I'm unable to access an EJB deployed on a remote OC4J instance (ie, part of a 9iAS installation on another machine vs local in JDeveloper).
I've reverted to a stupid-simple EJB in hopes of getting it going prior to trying my actual code. The EJB works fine in JDev (9.0.3) - I 'run' the EJB to start the local OC4J instance, run my client code (generated via the "New Sample Java Client..." option in the Navigator context popup) and all is well.
I then create an EAR file via the the "Create EJB Jar Deployment Profile..." context popup of the ejb-jar.xml node, followed by "Deploy to EAR file" from the context popup of the resulting ejb1.deploy node. I next "Deploy EAR File" via the "Oracle Enterprise Manager" that comes with 9iAS (the :1810 port). After successfully deploying, I modify my client code in JDeveloper, specifying the new connection information for the remote machine via the Hashtable constructor of InitialContext and attempt to run it. I've tried a number of Context.PROVIDER_URL forms, including: ormi://registered_pingable_host_name:23791/deployed_application_name
ormi://registered_pingable_host_name:23791/session_deployment_name (from the <enterprise-beans><session-deployment name="xxx"/></enterprise-beans> section of my orion-ejb-jar.xml file, as per a tip in this forum)
I've tried prefixing ormi:// with http:, but get no response whatesoever in this case.
I've also tried it without the port number (this port number matches that in my remote OC4J's <oc4j_instance_home>/config/rmi.xml file).
On the Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS settings, I've tried various values, generally using the 'admin' user, with passwords taken from:
<oc4j_instance_home>/principals.xml
<oc4j_instance_home>/application-deployments/application_name/principals.xml
I've also tried matching the password in the jazn-data.xml, to no avail - this password appears encrypted anyway, but thought I'd give it a try on the off-chance that it was just a randomly-generated password - no go.
I've also tried SCOTT/TIGER, anonymous, etc. Incidentally, the 'deactivated' attribute of the <user> tag is set to "false" in my principals.xml files.
No matter what I do, I always get back "javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect"
Additionally, I get this same message when I try to establish an Application Server Connection via JDev.
Clearly, I'm missing something critical (and probably simple), but I can't for the life of me figure it out.
Any help would be much appreciated!
Thanks,
Jim StollOk, well this is a bit strange...
3103 - 3103 also fails, and some experimentation has led me to find that any time that I specify a range smaller than 6 (3101 - 3106 works, 3101 - 3105, 3101-3101, 3103-3103, etc does not), the OC4J instance will not restart. I get "An error occurred while starting. The opmn request has failed. From opmn: HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html Response: 0 of 1 processes started. Check opmn log files such as ipm.log and ons.log for detailed." in the OEM window (I specify the RMI port range, hit Apply, go to the OC4J instance home page, see that the Status is 'Down', hit Start, and get that message.) <ORACLE_HOME>/product/iasinfra/opmn/logs/ipm.log tells me:
02/12/03 09:41:12 There is no rmi port left for starting an OC4J process. Please check oc4j's port property in OPMN's configuration file.
02/12/03 09:41:12 start_proc: UID 3719788: failed to build args
02/12/03 09:41:12 start_proc_req: failed to start a process in GID OC4JJim2, type: 2
If I bump it up to 3101 - 3106 or higher, it starts right up. Running opmnadmin debug, as suggested by Venky (thanks Venky!), yields:
PROCESS TABLE
UID PID FLAGS TYPE STATUS REF HTTP AJP RMI JMS
3654011 84 00000040 OC4J Alive 1 0 3005 3106 3206
424987 604 00000000 Apache Alive 1 7777 0 0 0
2932088 14849 00000000 OC4J Alive 1 0 3003 3103 3203
3063160 14878 00000000 OC4J Alive 1 0 3001 3101 3201
3194232 14906 00000000 OC4J Alive 1 0 3000 3105 3205
3325304 14936 00000000 OC4J Alive 1 0 3002 3102 3202
3456376 14964 00000000 OC4J Alive 1 0 3004 3104 3204
Which is what I would expect, given the specified range of 3101-3106. Trying each of these ports in turn, I've found that I can hit the EJB successfully on 3106, but 3101 - 3105 all fail with:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: Project7_2; nested exception is:
javax.naming.AuthenticationException: No such domain/application: Project7_2
java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
RMIContext.java:134
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
InitialContext.java:350
void Samplemypackage9.MySessionEJBClient1.main(java.lang.String[])
MySessionEJBClient1.java:15
I'm a little concerned about assuming the high-end of the range to be the active port on a regular basis (though thus far, among about 20 - 30 tries spaced over 20 - 30 minutes, it has been...) - I guess I can have my code loop through the range until it finds a good port or exhausts the list, but that seems a bit excessive.
Can you think of a reason that my OC4J instance won't start with a range size of less than 6? I'm on 9iAS 9.0.2, if that makes any difference.
Thanks,
Jim -
Images do not show when deployed on remote server
We are using jdeveloper 11.1.2.1, adf and integrated weblogic and remote server has weblogic where we deploy the application for testing.
We have a login.html page. when deployed and running the image in login.html does not show in FF or IE 8. It shows on IE9. when deployed on the remote server.
When deployed on the integrated server only fire fox shows the image. None of the other web browsers show the image in login,html
Here is my login.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!--meta http-equiv="Content-Type" content="text/html;CHARSET=iso-8859-1" /-->
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<title>Application Login</title>
</head>
<body>
<div class="header">
<div class="head_logo"><img src="images/imageLogo.JPG" alt="DASIS Logo" height="73" width="862"/></div>
</div>
<div class="navigation"></div>
<div class="content">
<div class="contentTitle">
Welcome to ISATS online.
<hr/>
</div>
<div class="contentArea">
<p class="Arial">To login, enter your user ID and password, then click the Login button.
</p>
<form method="POST" action="j_security_check">
<TABLE CELLPADDING="5"
SUMMARY="This table contains a web form
with fields for ID and password entry." >
<TBODY>
<TR>
<TD ALIGN="right" VALIGN="top">
<span class="Arial">User ID:</span>
</TD>
<TD VALIGN="top" ALIGN="left">
<input type="text" value="" alt="Enter User ID" name="j_username"></input>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="top">
<span class="Arial">Password:</span>
</TD>
<TD VALIGN="top" ALIGN="left">
<input type="password" name="j_password" value="" alt="Password"></input>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="top" width="85">
</TD>
<TD VALIGN="top" ALIGN="left">
<input type="submit" name="submit" value="Submit"></input>
</TD>
</TR>
</TBODY>
</TABLE>
</form>
<span class="Arial">
Please contact Help Desk for assistance with the User ID and Password.
<br>
The Help Desk number is XXX) XXX-2300.
</span>
</div>
</div>
</body>
</html>
Any help is appreciated
Edited by: user597294 on Jan 11, 2012 3:58 PM
Edited by: user597294 on Jan 11, 2012 4:01 PMThe problem does not seem to be with TopLink or JPA, so you may want to post this question to a different forum, such as the JDeveloper/ADF forum at:
JDeveloper and ADF
If the image itself is being sent but not loaded, you might check that it is a display issue with the browser being used.
Best Regards,
Chris -
Hi,
I have jdev in one system and the weblogic server is in other system.
When I am trying to deploy the developed application from jdev to that remote weblogic server, i am facing the below error.
#### Deployment incomplete. ####
[01:54:45 PM] No SOA configured servers found for deploying the archive file:/app_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
Please help me in deploying this application remotely.
Thanks,
dbpWhat is your Jdeveloper and SOA Suite version?
Please note that the Jdeveloper version and the SOA Suite version should be the same. -
I get an error when I run this:
C:\jdev9i\j2ee\home>java -jar admin.jar ormi://server09:1810 ias_admin oracle -d
eploy -file c:\jdev9i\dcm\lib\Oc4jDcmServlet.ear -deploymentName Oc4jDcServlet
Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconn
ected; nested exception is:
java.io.EOFException: Disconnected
C:\jdev9i\j2ee\home>
SOMEONE COULD HELP ME?
THANKSi tried exactly whats written in the documentations. no problem deploying the dcm-servlet.
but when i test my connection to remote AS i get the following error:
i do exactly whats written in the documentation, but get the following errormessage:
C:\Oracle\9iDS\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Oracle\9iDS\jdev\lib\oc4j_remote_deploy.jar http://myserver:1810/Oc4jDcmServletAPI/ ias_admin manager listApplications D:/Oracle/9iAS/
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications D:/Oracle/9iAS/ UNDEFINED UNDEFINED UNDEFINED
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = 74b4756f8efb4fafa8a9ee6ce8d8609c
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=74b4756f8efb4fafa8a9ee6ce8d8609c
Checking command status
HTTP response code = 500, HTTP response msg = Internal Server Error
#### HTTP response is NOT ok
Waiting for 30 seconds and trying again...
Command has not finished yet
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=74b4756f8efb4fafa8a9ee6ce8d8609c
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-2)
#### Invalid Oracle Home directory
-----------i'm sure that the homedirectory exists!!!!
-----------when i try with port 1811 i get this:
C:\Oracle\9iDS\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Oracle\9iDS\jdev\lib\oc4j_remote_deploy.jar http://myserver:1811/Oc4jDcmServletAPI/ ias_admin manager listApplications d:\Oracle\9iAS
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications d:\Oracle\9iAS UNDEFINED UNDEFINED UNDEFINED
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
**** Could not get session id from Oc4jDcmServlet
** Thread[main,5,main] ** Wed Mar 26 10:56:45 CET 2003 ** ** EXCEPTION: java.io.StreamCorruptedException: InputStream does not contain a serialized object
java.io.StreamCorruptedException: InputStream does not contain a serialized object
void java.io.ObjectInputStream.readStreamHeader()
ObjectInputStream.java:849
void java.io.ObjectInputStream.<init>(java.io.InputStream)
ObjectInputStream.java:168
void oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId()
oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(java.lang.String)
oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(java.lang.String[])
Oc4jDcmMain.java:71
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Command has finished
Receiving command exit value
#### Could not receive command output from Oc4jDcmServlet
Receiving command output
#### Could not receive command output from Oc4jDcmServlet
**** No output was received from command
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
======================================
what am i doing wrong????
Maybe you are looking for
-
Start Routine on Transformations
Hi Friends I've Start routine on transfer rules with internal table and it was working fine. Now I'm trying to define the internal table with occurs 0 but it's throwing error saying occurs not support in new version. How can we define an internal tab
-
Convert 2nd gen iPod from Windows to Mac
Hi, my 2nd gen iPod (touch wheel) is in Windows format. (I know, I know). It's the only iPod I have that is not recognized by my Mac. It works fine, but I don't have a Win system with support for firewire except for one running Win7, and that is not
-
Preloading an image in a page based on a template
I have a fairly simple problem here, there must be a simple solution. I hope! I have a site whose pages are all based on one DW template. On each page, there is a single image (a different one on each page) that I want to have preload. It is not part
-
can't change font in new version of imovie
-
Hi! I'm currently developping an application which requires a status bar. I integrated it using a .NET container on my front panel. I would like to programmaticaly set its position on the front panel but I must admit that i'm lost seeing all options