Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

JDeveloper problem deploying J2EE application

Posted on 2007-03-28
3
2,540 Views
Last Modified: 2013-12-01
Our developer team is attempting to deploy an application to a UNIX AIX Oracle 10G Application Server. They have used jdeveloper in the past without problems. The application needs to be deployed for testing.
I can recreate the problem they are having by doing the following:

Go into jdeveloper and click on new connection

TYPE
        Oracle Application Server
AUTHENTICATION
        ias_admin
        *******
CONNECTION
        Enterprise Manager OC4J Hostname:         oracle01.courts.state.md.us
        Enterprise Manager OC4J HTTP Port:        1810
        Remote Servers home directory:         /oramp01/app/oracle/product/devmid01
        OC4J Instance Name(optional):                JIS_ecitation_dev
EJB Client Connection
        ormi://oracle01:                                12401 ( I got this port number from grep on devmid01 and rmi and citation default is listed as 23791 ( via emc that is what i see, but ps commenad shows 12401)
        RMI username:                                admin
        RMI password:                                ?????

I attempted to do a search on the user name admin, but did not see a user name for this user...( so i am not sure which password to use, but I have tried some combinations)

Please let me know if you see any thing wrong with any of these parameters. I have looked at log files, changed settings etc etc, and do not seem to be able to get a  connection. I did see that ecitation deployed an application on 3-02-2007. This was before daylight savings time. Any help will be appreciated. I have recreated problem within jdeveloper on two different versions.

Currently get this error message:
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 28 07:27:03 EST 2007 **  ** EXCEPTION: java.io.StreamCorruptedException: invalid stream header
java.io.StreamCorruptedException: invalid stream header
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
        at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId(Unknown Source)
        at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source)
        at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unknown Source)
        at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
Please, wait for command to finish...
Checking command status...
Setting userName to sysman
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
0
Comment
Question by:arobbin
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18810895
Looks like an encoding or version problem at first glance.
0
 

Author Comment

by:arobbin
ID: 18811116
I resolevd the issue. The Oracle 10.1 agent and Oracle 10.1 iasconsole was secured (https) several weeks ago. The deployment environment within JDevloper and the OC4J applications within JDeveloper has connections configured to support an unsecured environment (http). I "unsecured" the Oracle 10.1 agent and iasconsole on the AIX system supporting the Oracle Application Server 10.1 being deployed to and this resolved the developer team's issue.

Thanks to all who looked at this problem and hope this helps other in the future.

ACR Enterprises
0
 

Author Comment

by:arobbin
ID: 18811154
I resolevd the issue. The Oracle 10.1 agent and Oracle 10.1 iasconsole was secured (https) several weeks ago. The deployment environment within JDevloper and the OC4J applications within JDeveloper has connections configured to support an unsecured environment (http). I "unsecured" the Oracle 10.1 agent and iasconsole on the AIX system supporting the Oracle Application Server 10.1 being deployed to and this resolved the developer team's issue.

Thanks to all who looked at this problem and hope this helps other in the future.

ACR Enterprises
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
data lookup in Oracle - need suggestions 55 121
Repeat query 13 61
oracle- set role and grant privileges 6 38
PL/SQL: ORA-00979: not a GROUP BY expression 3 32
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question