Deploying problem with remout OC4J (10.1.2)
Hello!
I have a problem with PDK-Java Portlet deployng. I'm relatively new in this field.
I use Jdeveloper 10g (10.1.2). I have read in the Jdeveloper help how to deploy portlet on remout Application Server.
I start the following comand in server's console where OC4J installed:
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://myserver:3204 my_pass -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
and get the Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (adminuser);
I login to Enterprise Manager 10g Application Server Control by the same user(adminuser) and the same password (my_pass).
Anybody know how to resolve this problem?
did you change the admin password after installation?
Oracle doesnt change all passwords, the password entered during installation of OC4J is the password you have to use for deployment from JDEV
atleast, thats my experiance
Similar Messages
-
Problem with my OC4J, please help
Hi
i have one big problem with my OC4J Application Server: i create an instance, then i deployed my appliation with the .ear file. i have 15 page uix. my problem is when i want to see my application from the browser, some of the page run correctly ans some other no; in other world the one that don't run, in reality it run but it display the last one that run correctly.
i hope that i m celar.
can you help me.
Thank youIslem,
Please post your log file content as well as server version, OS etc. (see:
http://forums.oracle.com/forums/ann.jspa?annID=818-Michael -
General install and deployment problem with WLS clustering on two boxes
Hi,
I've come across a general installation problem with WLS with a cluster spanning two different physical machines and two Managed Servers, one Managed Server per physical machine.
The problem is, starting from scratch, you install WLS on both physical machines. You can then use the config wizard to create the domain, cluster and managed servers, but this is a manual typing in process.
So we've now got a WLST Script which we run with "java weblogic.WLST domaincreate.py domain.properties". This is good as it creates the domain, cluster, managed servers and JMS modules.
Now the trouble is, it doesn't do anything to the 2nd physical machine which will be running only the 2nd Managed Server.
One dirty way to get around this in order to start the 2nd managed server was to copy the domain directory to the 2nd server, but I'm sure this is bad practice and what you can actually do is improve the WLST script to actually, but the same as the config wizard and dump the nessary information to the 2nd physical machine in order so you don't need to copy the domain directory across so that it will startup straight after running the WLST.
Any help appriecated.
Surfbum.Hi I think I've found the answer. You can build a managed server template using the pack command.
http://e-docs.bea.com/common/docs90/pack/tasks.html -
Problem with Embedded OC4J: Address already in use: JVM_Bind
When I try to run a Servlet in JDeveloper 10g it works fine. But when I stop the Embedded OC4J and try to run the Servlet again, the following message appears in the log:
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\oracle\ora10g\jdev\jdk\bin\javaw.exe -hotspot -classpath C:\oracle\ora10g\jdev\j2ee\home\oc4j.jar;C:\oracle\ora10g\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\oracle\ora10g\jdev\jdev\system9.0.5.0.0.1375\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
03/10/23 14:23:01 Error starting ORMI-Server. Unable to bind socket: Address already in use: JVM_Bind
Process exited with exit code 7.
What could be causing this problem?
Thanks in advance!Modify the config/rmi.xml file to have the host attribute in the tag as follows:
<rmi-server port="23791" host="server-ip-address">
</rmi-server>
After that, place the log4j-your-jdev-version.jar in appserverhome/j2ee/home/lib folder.
Restart the server. The bind problem would disappear.
Hope this solves your problem :-)
Ramesh -
MDM Business Package : Deployment problem with SDM GUI
Dear Experts,
I want to deploy the MDM Business Package on to the j2ee engine.However, when i go to the SDM GUI and select the first SDA(com.sap.mdm.tech.mdm4j.sda) file for deployment, it just hangs and nothing happens after that.I feel something is wrong with the SDM GUI.
Please let me know any possible solutions/alternatives to this problem.
Thanks,
Karambir SinghHi Karambir,
1) Are you trying to deploy the sda from your local machine or from a network drive? If a network drive, try copying it to your local machine and then deploying it.
2) If the SDM is connecting to a remote application server, it can sometimes take a long time to get a response.
3) Can you deploy other deployable archives via the SDM, or is only mdm4j.sda causing a problem?
Walter -
OSB project deployment problem with MFL file
Hi,
I have created a OSB project to transform a xml message into a text file. For this I have created a mfl and the necessary proxy/business service. I can generate the sbconfig.jar from OEPE tool. But while trying to deploy the sbconfig.jar (generated from OEPE toll) in the OSB server the following error is coming:
<Sep 30, 2013 3:19:06 PM CEST> <Error> <ALSB Console> <BEA-494002> <Internal error occured in OSBConsole : com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
java.lang.Exception: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
at jsp_servlet._jsp._main.__errorpage._jspService(__errorpage.java:134)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: com/bea/nonxml/util/NonXMLSchemaGenerator.genXsdFromMfl(Ljava/lang/String;Ljava/io/Reader;)Ljava/lang/String;
at com.bea.wli.common.mfl.MflExecutor.create(MflExecutor.java:76)
at com.bea.wli.sb.resources.mfl.MflExecutor.create(MflExecutor.java:72)
at com.bea.wli.sb.resources.mfl.MflEntryHelper.validate(MflEntryHelper.java:90)
at com.bea.wli.sb.resources.mfl.MflTypeDef.validate(MflTypeDef.java:54)
at com.bea.wli.config.validation.ResourceValidator.validateContents(ResourceValidator.java:118)
Truncated. see log file for complete stacktrace
>
[INFO ][alloc ][Mon Sep 30 15:19:11 2013][00464] [YC#33320] Pending requests
Can someone please help me out regarding this problem and let me know the reason.
I am using 11.1.1.5.0 version of OSB.
Please let me know if you need any further details.
Thanks.
RahulHi Ahul,
It may cause because of the following problem,
1) Make Sure that your MFL is working perfectly
2) Make sure that your OSB Server is Running with out any error..
Let me know still your facing the problem
Regards,
Kiran -
Deployment problem with finder method
I have a problem deploying an application that was working prior to my adding a finder method to one of the entity beans. Here is the Descriptor from the EJB Module that i created (which appears to be ok):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<display-name>RFXModule</display-name>
<enterprise-beans>
<session>
<display-name>RFXManager</display-name>
<ejb-name>RFXManager</ejb-name>
<home>au.com.alphawest.trader.rfx.business.management.RFXManagerHome</home>
<remote>au.com.alphawest.trader.rfx.business.management.RFXManagerRemote</remote>
<ejb-class>au.com.alphawest.trader.rfx.business.management.RFXManagerBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/rfx/RFXDocument</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocal</local>
<ejb-link>RFXDocument</ejb-link>
</ejb-local-ref>
</session>
<entity>
<display-name>RFXAttachment</display-name>
<ejb-name>RFXAttachment</ejb-name>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocal</local>
<ejb-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentAttachment</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<abstract-schema-name>RFXAttachment</abstract-schema-name>
<cmp-field>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<field-name>type</field-name>
</cmp-field>
<cmp-field>
<field-name>attachmentContents</field-name>
</cmp-field>
<primkey-field>name</primkey-field>
</entity>
<entity>
<display-name>RFXDocument</display-name>
<ejb-name>RFXDocument</ejb-name>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXDocumentLocal</local>
<ejb-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>au.com.alphawest.trader.rfx.business.data.RFXDocumentPK</prim-key-class>
<reentrant>False</reentrant>
<abstract-schema-name>RFXDocument</abstract-schema-name>
<cmp-field>
<field-name>documentGUID</field-name>
</cmp-field>
<cmp-field>
<field-name>creationDate</field-name>
</cmp-field>
<cmp-field>
<field-name>creatorGUID</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<cmp-field>
<field-name>dueDate</field-name>
</cmp-field>
<cmp-field>
<field-name>emailAddress</field-name>
</cmp-field>
<cmp-field>
<field-name>faxNo</field-name>
</cmp-field>
<cmp-field>
<field-name>locked</field-name>
</cmp-field>
<cmp-field>
<field-name>notes</field-name>
</cmp-field>
<cmp-field>
<field-name>organisationName</field-name>
</cmp-field>
<cmp-field>
<field-name>ownerGUID</field-name>
</cmp-field>
<cmp-field>
<field-name>requestId</field-name>
</cmp-field>
<cmp-field>
<field-name>subject</field-name>
</cmp-field>
<cmp-field>
<field-name>telephoneNo</field-name>
</cmp-field>
<cmp-field>
<field-name>unitGUID</field-name>
</cmp-field>
<cmp-field>
<field-name>buyer</field-name>
</cmp-field>
<cmp-field>
<field-name>organisationGUID</field-name>
</cmp-field>
<cmp-field>
<field-name>sourceId</field-name>
</cmp-field>
<ejb-local-ref>
<ejb-ref-name>ejb/rfx/RFXDocumentAttachment</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXAttachmentLocal</local>
<ejb-link>RFXAttachment</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<description>A line item attached to this document</description>
<ejb-ref-name>ejb/rfx/RFXLineItem</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocal</local>
<ejb-link>RFXLineItemBean</ejb-link>
</ejb-local-ref>
<query>
<description>Find the rfx documents related to the given supplier through it's line items</description>
<query-method>
<method-name>findBySupplierId</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>SELECT OBJECT(d) FROM RFXDocument AS d, IN(d.lineItems) l WHERE l.supplierGuid = 'DummySupplierGuid'</ejb-ql>
</query>
</entity>
<entity>
<display-name>RFXLineItem</display-name>
<ejb-name>RFXLineItem</ejb-name>
<local-home>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocalHome</local-home>
<local>au.com.alphawest.trader.rfx.business.data.RFXLineItemLocal</local>
<ejb-class>au.com.alphawest.trader.rfx.business.data.RFXLineItemBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.math.BigDecimal</prim-key-class>
<reentrant>False</reentrant>
<abstract-schema-name>RFXLineItem</abstract-schema-name>
<cmp-field>
<field-name>itemId</field-name>
</cmp-field>
<cmp-field>
<field-name>rfxGuid</field-name>
</cmp-field>
<cmp-field>
<field-name>contractCode</field-name>
</cmp-field>
<cmp-field>
<field-name>supplierGuid</field-name>
</cmp-field>
<cmp-field>
<field-name>productCode</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<cmp-field>
<field-name>quantity</field-name>
</cmp-field>
<cmp-field>
<field-name>units</field-name>
</cmp-field>
<primkey-field>itemId</primkey-field>
</entity>
</enterprise-beans>
<relationships>
<ejb-relation>
<ejb-relation-name>RFXDocument-RFXAttachment</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>RFXDocument</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>RFXDocument</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>attachments</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>RFXAttachment</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>RFXAttachment</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<ejb-relation-name>RFXDocument-RFXLineItem</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>RFXDocument</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>RFXDocument</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>lineItems</cmr-field-name>
<cmr-field-type>java.util.Set</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>RFXLineItem</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<cascade-delete/>
<relationship-role-source>
<ejb-name>RFXLineItem</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
</relationships>
<assembly-descriptor>
<container-transaction>
<description>This value was set as a default by Sun ONE Studio.</description>
<method>
<ejb-name>RFXAttachment</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>This value was set as a default by Sun ONE Studio.</description>
<method>
<ejb-name>RFXDocument</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>This value was set as a default by Sun ONE Studio.</description>
<method>
<ejb-name>RFXLineItem</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<description>This value was set as a default by Sun ONE Studio.</description>
<method>
<ejb-name>RFXManager</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
I get the following error message when i try to run the EJB Module through the Sun One Verifier Tool:
Error: ** Error trying to process file: java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
java.lang.RuntimeException: No method found for XML query element: Ambiguous or invalid <query-method>
at com.sun.enterprise.deployment.xml.EjbNode.parseQueries(EjbNode.java:700)
at com.sun.enterprise.deployment.xml.EjbNode.completeLoadingDescriptor(EjbNode.java:671)
at com.sun.enterprise.deployment.xml.EjbBundleNode.completeLoadingDescriptor(EjbBundleNode.java:524)
at com.iplanet.ias.deployment.EjbBundleXmlReader.load(EjbBundleXmlReader.java:249)
at com.iplanet.ias.deployment.EjbBundleXmlReader.loadStdAloneModule(EjbBundleXmlReader.java:162)
at com.sun.enterprise.tools.verifier.Verifier.openEjbJar(Verifier.java:2421)
at com.sun.enterprise.tools.verifier.Verifier.loadEjbJar(Verifier.java:1318)
at com.sun.enterprise.tools.verifier.Verifier.loadJar(Verifier.java:866)
at com.sun.enterprise.tools.verifier.gui.MainPanel.run(MainPanel.java:187)
at java.lang.Thread.run(Thread.java:536)
Look in file "RFXModule.jar_verified.xml" for detailed results on test assertions.
Any help would be greatly appreciated.
Mark HeskethLaunch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
[deployment] problems with a big application
Hi, I try to deploy a big application using EJB and web modules. All seem to be fine but I get that error when initializing something after d?ployment of my modules:
28050 catalog INFO [[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel
.Default (self-tuning)'] openjpa.MetaData - Parsing class "be.star.design.model.
catalog.entity.UserRole".
28070 catalog INFO [[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel
.Default (self-tuning)'] openjpa.MetaData - Parsing sequence "genUserRole".
<25-avr.-2007 10 h 22 min 44 s CEST> <Error> <ServletContext-/config> <BEA-00000
0> <action: null
javax.ejb.EJBException: nested exception is: <4|true|0.9.7> org.apache.openjpa.p
ersistence.ArgumentException: You have supplied columns for "be.star.design.mode
l.catalog.entity.User.userRestrictions", but this mapping cannot have columns in
this context.
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(Remote
BusinessIntfProxy.java:57)
at $Proxy102.getUser(Unknown Source)
at be.star.webconfig.plugin.InitCatalogDBPlugIn.createUser(InitCatalogDB
PlugIn.java:361)
at be.star.webconfig.plugin.InitCatalogDBPlugIn.createBasicParameters(In
itCatalogDBPlugIn.java:339)
at be.star.webconfig.plugin.InitCatalogDBPlugIn.init(InitCatalogDBPlugIn
.java:412)
Truncated. see log file for complete stacktrace
>
<25-avr.-2007 10 h 22 min 44 s CEST> <Error> <HTTP> <BEA-101216> <Servlet: "acti
on" failed to preload on startup in Web application: "config".
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServle
t.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St
ubSecurityHelper.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
Truncated. see log file for complete stacktrace
>
Any ideas ?
Is it a struts problems ?
Incompatibility ?
ThanksThere is something wrong with your PC
I am using the same config while I work on TV Animations with
fla files > 150 MB in size and more than 3000 frames in 30
scenes, 128 KBPS sound etc. - Cakewalk - No Hour Glass.
I am using original Intel Motherboard - 945 HT -
i've been trying to deploy on as but i get the following error:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Failure to initialize EJBQL descriptors: com.sun.enterprise.deployment.xml.ParseException: Server returned HTTP response code: 403 for URL: http://java.sun.com/dtd/ejb-jar_2_0.dtd
but if i try to deploy on the embedded i got no error, btw im using jdeveloper 10g as ideWe had the exact same issue 403 forbidden for ejb-jar.xml files that have EJBQL. Our workaround was to put the dtds on the local filesystem. You can find the dtds in the oc4j.jar under home.
Replace http://java.sun.com/dtd/ejb-jar_2_0.dtd with file:///[LOCATION_OF_DTDS]/ejb-jar_2_0.dtd and then try to deploy again.
Hope this helps -
Web Module Deployment Problem with Weblogic [Deployer:149026]
Dear Friends,
I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
Deployment failed on Server myserver
Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
Any suggestion or, guideline from you will be highly appreciated.
With Thanks,
... ChistyNot sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
thanks, -
HOT deployment problem with WebLogic 5.1sp11
Hello!
We trying to deploy our EJB (jar contains 5 EJB's) with WebLogic EJB DeployerTool.
When we registered our jar in the weblogic.properties file - everything is OK.
This ejb cotains correct EJB's which are made in EJB 1.1 standard.
In the WebLogic EJB DeployerTool I attach proper WeaWeblogic application server
(it works on another computer, but tool found our server confidently. Then I opened
my jar file. Tool parsed file and found all beans.
After all I'm trying to run Tools/Deploy and I have the error message showed below.
If somebody knows how to manage with this problem, help!
weblogic.ejb.common.DeploymentException: Problem creating deployment ftp://172.16.2.108:21C:/tmp2/StaffShell.jar
from ftp://172.16.2.108:21C:/tmp2/StaffShell.jar; nested exception is:
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
at sun.net.www.ParseUtil.decode(ParseUtil.java:27)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:108)
at java.net.URL.openStream(URL.java:798)
at weblogic.ejb.internal.EJBJarDeployment.initializeJarFile(EJBJarDeployment.java:322)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:191)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:166)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:100)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:94)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:332)
at weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:144)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:96)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack trace
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
at sun.net.www.ParseUtil.decode(ParseUtil.java:27)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:108)
at java.net.URL.openStream(URL.java:798)
at weblogic.ejb.internal.EJBJarDeployment.initializeJarFile(EJBJarDeployment.java:322)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:191)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:166)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:100)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:94)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:332)
at weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:144)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:96)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack trace
Deployment failed.Is SP11 jars in the client classpath or not, before launching DeployerTool.
If yes, then it looks like a bug. You might want to report this problem to
[email protected]
Kumar
"Anton Nazarov" <[email protected]> wrote in message
news:[email protected]...
>
Hello!
We trying to deploy our EJB (jar contains 5 EJB's) with WebLogic EJBDeployerTool.
When we registered our jar in the weblogic.properties file - everything isOK.
This ejb cotains correct EJB's which are made in EJB 1.1 standard.
In the WebLogic EJB DeployerTool I attach proper WeaWeblogic applicationserver
(it works on another computer, but tool found our server confidently. ThenI opened
my jar file. Tool parsed file and found all beans.
After all I'm trying to run Tools/Deploy and I have the error messageshowed below.
>
If somebody knows how to manage with this problem, help!
weblogic.ejb.common.DeploymentException: Problem creating deploymentftp://172.16.2.108:21C:/tmp2/StaffShell.jar
from ftp://172.16.2.108:21C:/tmp2/StaffShell.jar; nested exception is:
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
at sun.net.www.ParseUtil.decode(ParseUtil.java:27)
atsun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.ja
va:108)
>
at java.net.URL.openStream(URL.java:798)
atweblogic.ejb.internal.EJBJarDeployment.initializeJarFile(EJBJarDeployment.ja
va:322)
>
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:191)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:166)
atweblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
>
atweblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:100)
>
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:94)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:332)
atweblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:144)
>
atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
>
atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:96)
>
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
>
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack trace
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
at sun.net.www.ParseUtil.decode(ParseUtil.java:27)
atsun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.ja
va:108)
>
at java.net.URL.openStream(URL.java:798)
atweblogic.ejb.internal.EJBJarDeployment.initializeJarFile(EJBJarDeployment.ja
va:322)
>
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:191)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:166)
atweblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java:172)
>
atweblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:100)
>
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:94)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:332)
atweblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:144)
>
atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
>
atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:96)
>
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
>
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack trace
Deployment failed. -
Java Stored Procedure Deployment Problem with JDev 3.1.1.2
Dear JDeveloper Team:
I am having a problem deploying a test Java stored procedure to the database. In the Deployment Profile Wizard Connection tab, it displays no connection in the connection dropdown even though I have defined some connections that have been sucessfully connected to the database.
Please help.
Thanks,
TomTom,
Verify that your Connections are valid as follows:
Double Click on the Connections folder of JDeveloper Navigator.
This opens up the Connection Manager.
Make sure you have defined JDBC Connections.
Pick your connection of intrest and select Edit... and then press the Test button to test the conneciton.
If this is a valid JDBC connection, then it should appear later when you run the deployment wizard.
-John -
Some problem with SOAP OC4J Server
Hi,
I made very simple webservice, exposes method sayHello like below:
public String sayHello(String name)
return "Hello " + name;
I deployed it on OC4J Soap Server and registered it, then I generated client stub class. When I run this class, get an error:
[SOAPException: faultCode=SOAP-ENV:Server.BadTargetObjectURI; msg=Unable to resolve target object(wssoap.WSSoap): wssoap.WSSoap [java.lang.ClassNotFoundException]]
at wssoap.WSsoapStub.sayHello(WSsoapStub.java:90)
at wssoap.WSsoapStub.main(WSsoapStub.java:39)
I use for all JDeveloper 10g (also for stub class generation). What's wrong?
KrzysztofHi,
does this show for any project you try to run, or just for a specific? If it does, does the same issue show after a fresh install of JDeveloper (you don't need to delete the existing instance for this) ?
Frank -
Problem with two OC4J instances in Oracle 10g AS
hi all,
i am using windows XP(OS), Oracle 10g Application Server.
when i create two instances of OC4j other than home instance, say instance1 and instance2 and deploy two different applications in two instances then i get "page not found" error.
both the applications gets deployed successfully and different ports get selected for both applications internally.
the thing is when i stop one of the above instance, say instance1 the instance2 works fine and doesnt throw an error. the moment i start instance 1 both the instance gives the above stated error.
Can anyone help??
thanks in advance!!935195 wrote:
Also, I am opening the sub-page from the parent page (through a hyperlink). Then in this case, Would session will be changed from parent to subpage? (I am not aware exactly and have the impression that, as the second page is a child, I guess it would take the same session).I'm not sure what "sub-page" or "parent page" means to you. If you're just linking from one page to another, "parent" and "child" don't really make sense since page A links to page B and B links to A quite frequently.
Assuming that you have to log in to access the site, it is likely that the two pages share the same middle tier application session. It is unlikely that the middle tier would hold the database session from the first request open waiting to see if the user eventually requested the second page. It is theoretically possible that you could code your middle tier this way but it is extremely unlikely that you would want to do so for a variety of reasons. So, when you say "would [the] session ... be changed", it is likely that the application session would be the same for both calls but that the database session would be different.
Justin -
Deployment problem with glassfish v2
hi,
when i am trying to deploy a WAR file on glassfish v2 following errors are coming.....
Timestamp Sep 11, 2008 14:30:26.006
Log Level SEVERE
Logger javax.enterprise.system.tools.deployment
Name-Value Pairs ThreadID=17;ThreadName=Thread-682;_RequestID=b8995ab4-b83a-4c5f-a476-acd3863f6428;
Record Number 1424
Message ID Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException
Complete Message Error expanding archive C:\Users\ADMIN\AppData\Local\Temp\systemcontrol53465.war; please see the server log file for more information at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359) at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131) at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
but the page is running perfectly fine in my IDE.i have observed that this problem occurs when i use any .js file in my project.
Please helpAs the stack trace states ("please see the server log file for more information"), you should look at the server log to get more details on what is causing this.
Maybe you are looking for
-
Function key actions not working
I'm using Illustrator CC (v. 17.1.0) on an iMac. For ages, I've had actions set up. I have function key strokes attached to those actions. Just recently, they stopped working the way I want them to. For example, I have an action where I select text.
-
Writing IIF Statements for Sales Reps Goals
I have a query that takes all of the Sales Reps Goals and divides them into daily goals based on Potential sales days. This works perfectly when a rep starts before the beginning of the year. The issue I have is when a rep starts mid-year. If a rep s
-
I have used an incorrect email address for my Apple ID when I punched an App. Cannot get updates. How do I delete and use my primary account email address?
-
Monitoring of topLink internal connections pool
we wish to monitoring use of Toplink internal connections pool : numbers maximum used, a minimum number used. we know to do it with the external pool (OracleAS) but not with the internal pool. Regards
-
Create database on RAC environment - DBCA hangs on clone database creation
Hi, friends! I have two vm´s (vmware 2) with OEL 5 installed. I´ve installed OGI and database software sucessfully. So, my crs stack is working fine in both two nodes. However, when i use DBCA to create a database in this RAC environment, it hangs wh