JSF 1.2 supported in OC4J (JDev 11g)
Hello Everyone,
How do you know if your container is supporting jsf 1.2 or not, as am wondering if Embedded OC4J in JDev 11g Technology Preview already supporting JSF 1.2 by default!?
Hi,
it does.
Frank
Similar Messages
-
Bug in JSF 1.2 RI using in JDev 11g
Hi,
We have found a bug in the JSF RI version used by JDev 11g TP2:
In com.sun.faces.application.ApplicationImpl.createValidator, a MessageFormat is created using an erroneous pattern : created validator of type ''{0''}. This method is called by oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.addValidatorById. So, when the logging level is set to FINE, this crashes our application.
FYI, this seems to be corrected in the last version (1.2_06) of the JSF RI.
We tried replacing the jsf-api.jar and jsf-ri.jar files in lib\java\shared\oracle.jsf\1.2 with that new version but we are getting compilation errors in our JSPs.
Before we spend time trying to do that, can you please tell me if that sounds like the right thing to do (or if there is another solution). Also, can you please confirm that the subsequent versions of JDev will include a corrected version of the JSF RI.
Thanks.
OlivierHi,
the right place is JDeveloper/jsf-ri for JDeveloper. I'll file a bug
Frank -
Error deployment to standalone oc4j (jdeve 11g tech prev 3)
something to do with persistence...
and entitymanager.. similar to bundleoc4j issue..
AnnotatedClassNotFoundException
even though the classes are chosen and checkmarked..
(as in 10g)
Caused by: java.lang.InstantiationException: Application: M2miAPplicationDemo is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:645)
at com.evermind.server.Application.setConfig(Application.java:448)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
... 7 more
Caused by: oracle.oc4j.persistence.PersistenceException: [M2miAPplicationDemo] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.PersistenceProvider for persistence unit Model.
at oracle.oc4j.persistence.PersistenceException.exceptionCreatingEntityManagerFactory(PersistenceException.java:113)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:177)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createPersistenceUnit(PersistenceUnitManagerImpl.java:139)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:79)
at oracle.oc4j.persistence.ServerPersistenceUnitManagerImpl.initialize(ServerPersistenceUnitManagerImpl.java:17)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:268)
at com.evermind.server.Application.setConfig(Application.java:551)
... 10 more
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [Model] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: m2mi.model.Hoststats to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: m2mi.model.Hoststats
Dependent class: oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor
Loader: oracle.toplink:11.1.1.0.0
Code-Source: /C:/jdeveloper/lib/java/shared/oracle.toplink/11.1.1.0.0/toplink-core.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdeveloper\j2ee\home\oc4j.jarHi,
please try this with the embedded OC4J that you can start as stand alone server. If you use the OC4J isntance you download from OTN then you get one of version TP1, which is probably not working well with the changes in JDeveloper 11 TP3
Frank -
Jdev 11g: several attributes are not supported by "simple" graph types
Hi,
My question is especially for Jdev development team. I want to discuss this issues first in this forum before I open a SR at Oracle Support.
Several attributes from dvt:graph are not supported in dvt:areagraph, dvt:linegraph or dvt:bargraph.
- TimeSelectorListener
- TimeRangeMode
- TimeAxisType --> supported for dvt:linegraph but not for dvt:areagraph. Why?
- TimeAxisListener
- TimeZone
- ExplicitTimeRangeStart
- ExplicitTimeRangeEnd
- ContinuousTimeAxisInterval
This means if I want (need) to use some of this attributes I need to use dvt:graph (advanced graph).
But here is the next problem:
This type of graph can't be selected from component palette or graph create wizard.
It's still possible to "convert" e.g. a dvt:linegraph to dvt:graph by editing the source code of jspx but in my opinion this should not be the normal way!
I also didn't get a clear answere if dvt:graph is desupported or will be desupported in the next release(s)
(see my previous post about advanced graph: Jdev 11g: Advanced graph no longer supported?
Conclusio:
======
If the attributes I mention above are still supported and needed (also in further releases) than they either need to be supported by the relevant simple graph tags or dvt:graph must be selectable from component palette.
If dvt:graph is planned to be de-supported in further releases than this should be made public to avoid development of applications with non-supported components.
regards
PeterPeter,
you should have followed up on the thread you reference. First of all, Katia gave you the answer of how to get the listener working
"The recommended way is to create a line graph, and then add a time selector tag (like Peter pointed out).
However, since in the dvt:lineGraph there is no attribute for the time selector listener, you need to add the listener in the backing bean.
Here are the code snippets:
In jspx:
<dvt:lineGraph id="master"
value="#{bindings.master1Graph.graphModel}"
style="Comet"
imageFormat="FLASH" imageWidth="400"
binding="#{sampleGraph.richTimeSelectorMasterGraph}"
animationOnDisplay="AUTO"
imageHeight="250">
<dvt:legendArea rendered="false"/>
<dvt:timeSelector explicitStart="#{sampleGraph.startDate}" explicitEnd="#{sampleGraph.endDate}" fillColor="#33FFFFFF" borderColor="#313675" mode="EXPLICIT" />
<dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
<dvt:series id="0" color="#FDB026"/>
</dvt:seriesSet>
</dvt:lineGraph>
In the backing bean:
public UIGraph getRichTimeSelectorMasterGraph()
if (m_richTimeSelectorMasterGraph == null)
m_richTimeSelectorMasterGraph = new UIGraph();
m_richTimeSelectorMasterGraph.addTimeSelectorListener(this);
return m_richTimeSelectorMasterGraph;
public void setRichTimeSelectorMasterGraph(UIGraph graph)
m_richTimeSelectorMasterGraph = graph;
Second, you got Katia's attention already and this is as much developer contact you can get on this forum. Katia ia the product manager for DVT
Frank -
Implementing shortcut keys ion JSF pages Jdev 11g
How we can implement shortcut keys ion JSF pages Jdev 11g ?
We are doing a Oracle Forms to Java migration and our users are getting use to use function keys.
how we can map a commit action on the form to "CTRL + F7 key" (for example)
Thanks.Hi,
This is not possible directly. With JSF technology you are limited with browser capabilities which are HTML + Javascript. So you cannot communicate directly with i.e. commit function only with i.e. HTML form action or AJAX based javascript function...
regards,
Branislav -
JDev 11g JSF design view problem
Hi everyone
I have a problem with JDev 11g
whenever I'm trying to edit a jsf page the design view only shows the tag names like the image below
[http://www.imgplace.com/viewimg134/241/9511g.png]
this is only happens when editing jsf pages and everything is ok while editing jsp
so why is this happening and how to fix it?
thanks
Edited by: user13266332 on Jul 23, 2010 10:09 PMThanks for the link Shay Shmeltzer.
but unfortunately that didn't help much
i tried running jdev.exe with the console open and also enabled "Show Design Time Messages in Log" but i didn't get any error message
also tried adding different libraries to project but the design view still doesn't render the tags.
any other solution? -
Will jdev 11g support customer loginmodule DBTableOraDataSource?
Hi,
In jdev10132,custom loginmdule DBTableOraDataSource is very useful,but in 11g tp3 ,I did not find where I can define this with integrated oc4j,will 11g production release support this?And with 11g support Human Task ,which need more user info ,such as appoval chain,will It support these interesting function? If yes how to do this,if not which solution is recommondede?
Any advice are appreciate
lixinzh
2008/1/17Hi,
yes it will support DBTableOraDataSource (and custom LoginModules in general) because its a part of the security architecture in OC4J. Does human task authenticate against the container using JavaEE? If yes then it can be authenticated, if not then you would need something else - I would assume it requires WS security
Frank -
How to install BPEL on WLS and JDEV 11g/WLS
Can somebody pls point me to a paper "How to install BPEL (Designer, Server, etc.) on WLS" ?!
I downloaded 80 MB BPEL (Orabpel_10133_WebLogic.zip), unzipped it, but it does not container a "read.me"...
I like to install the BPEL part for the JDEV - is that the right one ?
Or do I need to install the whole SOA Suite (incl. BPEL Server) (570 MB) - but this seem to be based on OC4J?
The core question: which (download) components do I need to install BPEL on WLS to make it run and usable ?
TIA
BernhardHere is the readme you may be after
http://download.oracle.com/docs/cd/E10291_01/doc.1013/e12534/toc.htm
This is an old release. There is now 10.1.3.4, but I don't believe the stand alone BPEL is supported. You need to install the full SOA Suite. The doc for this is
http://download.oracle.com/docs/cd/E12524_01/core.1013/e13058/toc.htm
You need to install the Oracle version first then port it. This is all changing in 11g, hopefully due soon.
I recommend the latter as it provides more functionality around patching.
Also SOA Suite or BPEL is on certified against 9.2 not 10.3 so you cannot use it against JDev 11g. Your JDev version must be in sync with your SOA Suite version.
cheers
James -
Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
JyotiHi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank -
Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
Hi,
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
JyotiHi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank -
Trouble running EJB application in jdev 11G
Hi, I am just trying out jdev 11g, everything looks good except i am not able to run my application in either embedded oc4j or standalone oc4j 11g. I don't know, if it is a bug or i am doing something wrong. I also have this question, does jdev 11g support Tomcat 6? I will really appreciate any help regarding this. Thanks
That's the error i get every time i run the application:
[EJB 3.0]: Assigning default-data-source=jdbc/MySQL-Movies_DatabaseDS, specified in projects EJB 3.0 properties
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config>
"C:\Jdeveloper 11 Preview\jdk\bin\javaw.exe" -client "-Doracle.home=C:\Jdeveloper 11 Preview" -classpath "C:\Jdeveloper 11 Preview\j2ee\home\oc4j.jar;C:\Jdeveloper 11 Preview\jdev\lib\jdev-oc4j-embedded.jar" -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\Administrator\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
May 13, 2007 12:15:27 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
SEVERE: Could not open wallet. Wallet version not supported
java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
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:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
oracle.security.jps.service.credstore.CredStoreException: Could not open wallet. Wallet version not supported
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:139)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:108)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:83)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:45)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getServiceInstance(JpsContextFactoryImpl.java:260)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContextFromDesc(JpsContextFactoryImpl.java:352)
at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:279)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:541)
at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:536)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:535)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<clinit>(PolicyDelegationController.java:94)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2053)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2126)
at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2145)
at com.evermind.server.OC4JServer.main(OC4JServer.java:433)
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:585)
at oracle.classloader.util.MainClass.invoke(MainClass.java:89)
at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
Caused by: java.io.IOException: Could not open wallet. Wallet version not supported
at oracle.security.pki.OracleWallet.open(OracleWallet)
at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:130)
... 28 more
May 13, 2007 12:15:31 PM oracle.dms.trace.TraceManager record_config
INFO: TransactionTracing is enabled at MIN level
07/05/13 12:16:50 Oracle Containers for Java EE (11.1.1.0.0) Technology Preview initialized
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 112171 ms.Running EJB's seem to work fine for me.
Can you try to create a simple Session bean and run it and see if you get any problems?
As far as support for other application servers, yes JDeveloper will support them, for the technology preview however we just did tests with the Oracle application server. -
Error while running HRFacadeClient of JDev 11g Tutorial
Hi,
I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
Section 19 says to run application under OC4J,
<strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
Default Server - Log
D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Oct 30, 2008 12:39:05 PM AST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Oct 30, 2008 12:39:05 PM AST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Oct 30, 2008 12:39:05 PM AST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Oct 30, 2008 12:39:06 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:06 PM AST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 30, 2008 12:39:06 PM AST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Oct 30, 2008 12:39:08 PM AST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 9953 ms.
DefaultServer started.
[Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
Uploading credentials.
---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
Deploying Application...
<Oct 30, 2008 12:39:17 PM AST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.>
Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
Application Deployed Successfully.
Elapsed time for deployment: 4 seconds
---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
Run startup time: 5063 ms.
[Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
<strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
Now when I run <strong>HRFacadeClient</strong> the log shows following error.
EJBModel.jpr - log
[EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List<oracle.Departments> queryDepartmentsFindAll() in EJB Object
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
at $Proxy11.queryDepartmentsFindAll(Unknown Source)
at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
Process exited with exit code 1.
Please guide me how to solve this error and continue with tutorial...
Regards,
SanthoshHi Heidi,
I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
This message is repeatedly displaying in messages tab:
Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
Any comments will be appreciated.
Thanks again
Esfand
Edited by: user3788199 on Sep 8, 2008 6:50 AM -
Creating a webservice from PL/SQL Package in JDev 11g
Hi All...
I have a PL/SQl package and I am using JDEv 11g. I want to create it as a webservice. I want to deploy it in a remote server. Can I deploy it from my client machine. In server Weblogic already started. What are the prerequisites, that we need to deploy a wbservice. I done the following steps.
1. Create an application.
2. Right click the package and select Generate Java option.
3. It create a Java class in the Application sources.
4. Double click the class and select Create Web Service. It created the web service.
5. When I select the webservice and click Run it shows the following error. It going to the Default \server. Actually I need it in a remote server.
[Running application NewWebService on Server Instance DefaultServer...]
---- Deployment started. ---- Apr 20, 2009 1:15:40 PM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-04-20 13:15:40.205: Writing WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
2009-04-20 13:15:40.222: Wrote WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
2009-04-20 13:15:40.357: Writing EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
2009-04-20 13:15:40.374: Wrote EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
Deploying Application...
<Apr 20, 2009 1:15:40 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application NewWebService is not versioned.>
<Apr 20, 2009 1:15:40 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240213540593' for task '3'. Error is: 'java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext'
java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'NewWebService'.>
<Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application NewWebService on DefaultServer.: sqlj.runtime.ref.DefaultContext.
weblogic.application.WrappedDeploymentException: sqlj.runtime.ref.DefaultContext
#### Deployment incomplete. #### Apr 20, 2009 1:15:40 PM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
... 12 more
#### Cannot run application NewWebService due to error deploying to DefaultServer.
[Application NewWebService stopped and undeployed from Server Instance DefaultServer]
6. when i goto the consoleof weblogic server, already an instance created. But nothing displayed under WebServices.
7. Select the instance and press 'Start'. While deploying an error came.
java.lang.Exception: [DeploymentService:290049]Deploy failed for id '1,240,213,727,265' since no targets are reachable.
Please help me..
its very urgent...
Regards,
Resmi.Oh, no - another very urgent question. The world must be about to end ;)
Resmi, Have a read of [url http://forums.oracle.com/forums/thread.jspa?threadID=883293]this - JDeveloper 11g, as of today, doesn't (at least is not supposed to) support publishing PL/SQL procedures/packages as a web service.
John -
Trouble running adf/jsp application in jdev 11G
Hello ,
I have just installed Jdev 11g on Win XP SP 2.
Everything looks good, but when I try to run *.jspx file I am getting following error message:
I appreciate any help.
Thanks
C:\JDev1111\jdk\bin\javaw.exe -client -classpath O:\OC4J\j2ee\home\oc4j.jar;C:\JDev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "\\win.desy.de\home\martir\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize 'ðˆúwPõwÿÿÿÿ' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
07/08/31 10:26:12 java.io.IOException: The system cannot find the path specified
07/08/31 10:26:12 at java.io.WinNTFileSystem.createFileExclusively(Native Method)
07/08/31 10:26:12 at java.io.File.createNewFile(File.java:850)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getJAZNDataXMLDoc(XMLJAZNProvider.java:250)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.parseDataFile(XMLJAZNProvider.java:377)
07/08/31 10:26:12 at oracle.security.jazn.spi.xml.XMLJAZNProvider.getRealmManager(XMLJAZNProvider.java:480)
07/08/31 10:26:12 at oracle.security.jazn.spi.GenericProvider.getRealmManager(GenericProvider.java:143)
07/08/31 10:26:12 at oracle.security.jazn.JAZNConfig.getRealmManager(JAZNConfig.java:997)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUMType(JAZNUserManager.java:5156)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.getUM(JAZNUserManager.java:5208)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.JAZNUserManager.<init>(JAZNUserManager.java:5245)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:626)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:289)
07/08/31 10:26:12 at com.evermind.server.deployment.UserManagerConfig.ultimate(UserManagerConfig.java:329)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.generateDefaultUserManagerSettings(EnterpriseArchive.java:1189)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.initDefaultSettings(EnterpriseArchive.java:1284)
07/08/31 10:26:12 at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArchive.java:294)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.parseApplicationConfigReference(XMLApplicationServerConfig.java:2125)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.sortApplicationConfigReferences(XMLApplicationServerConfig.java:2859)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInitApplications(XMLApplicationServerConfig.java:2877)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.postInit(XMLApplicationServerConfig.java:290)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:206)
07/08/31 10:26:12 at com.evermind.xml.XMLConfig.init(XMLConfig.java:113)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:89)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
Aug 31, 2007 10:26:12 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
07/08/31 10:26:12 Error parsing application-server config file: Invalid usermanager configuration.
07/08/31 10:26:12 oracle.security.jazn.JAZNRuntimeException: Invalid usermanager configuration.
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.checkForParent(JAZNUserManager.java:3255)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.DelegateUserManager.getAdminUser(JAZNUserManager.java:3279)
07/08/31 10:26:12 at oracle.security.jazn.oc4j.FilterUserManager.getAdminUser(JAZNUserManager.java:4899)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
07/08/31 10:26:12 at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:2981)
07/08/31 10:26:12 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:95)
07/08/31 10:26:12 at java.lang.Thread.run(Thread.java:595)
07/08/31 10:26:12 Fatal error: server exiting
Process exited with exit code 1.Hello Ric,
Thanks for the response,
I have tried to set environment vars, but it was unsuccessful.
I have the old version of Jdev 10.1.3 and it's working with the message "Could not canonicalize ...."
I have found the following thread in forum:
Unable to start any application
The system11.1.1.0.17.45.24 directory is on the network drive:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\applications\dms.war
and not on the:
H:\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\home\applications\dms.war
I am not sure, but it seems to be the same problem with the embedded OC4J and dms.war, as discussed in the thread
mentioned above.
Thanks. -
Facing issue in configuring soa server in local jdev 11G
Hi All,
I am facing an issue in configuring local soa server in jdev 11G. I was trying to do the practice excercises in the local jdev and while configuring soa server followed following steps :-
1. Configure SOA to install the Integrated OC4J Server
a. In JDeveloper, select Tools -> Preferences, Run, and then select Integrated OC4J Server.
b. Next, select Tools -> Configure SOA…
c. Complete the dialog for your configuration specifying the database location and the SOA schema user name and password
d. Use the Test button to test the database connection and then click on Ok
This will take 8-10 minutes to run and when finished will end with "Build Successful."
In the end I am getting following log file
[echo] ==Starting standalone oc4j. Check server log D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log.
[echo] ==Waiting max 420 second(s) for startup of URL http://LAP1-RBAGRI-IN:8988...
[echo]
* Configuring SOA Infrastructure has FAILED. *
* Please check following logs for possible cause: *
* D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
* D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log
[echo] ==Stopping oc4j standalone...
BUILD SUCCESSFUL
Total time: 7 minutes 11 secondsHi Heidi,
Thanks a lot for your response. The solution you provided worked for me. I am able to configure SOA now and the SOAConsole is coming up properly.
One issue I am facing while deploying my application . The application is getting deployed properly but it does not show up in the console if I look at Default server console I can see this error message :-
Incorrect db schema version.
The database schema version "11.1.6" from the database does not match the version "11.1.7" expected by the server.
The database schema for your SOA installation was not properly installed or your installation is using a database schema installed for a prior release.
The database schema currently in place has probably been configured for a previous release; please re-install the database schema and try to start the server again.
Though I have configured the database locally just like mentioned in the training material. Please let me know if you have any thoughts on this.
Regards,
Ranjana
Maybe you are looking for
-
Windows Blue Screen of Death when using PC Suite
I bought an E63 recently and by it's very nature I need to be able to link it to my laptop for uploading/downloading data. Laptop's a Sony FE11S running XP SP3 which connects successfully with the E63 via cable or Bluetooth. Trouble is, I need to im
-
Where can I download a user manual for the BG-ED3 grip that is on my Canon EOS 10D
I have a canon bg-ed3 grip on my canon EOS 10D. From where can I download a user manual for the grip
-
Can't change password for mobile user on certain client computers
I have a MacBook Pro that has mobile user accounts. The user accounts are defined in the WGM of my macpro Server. The mobile user account works fine except that after some time I could not change the password on the client computer. I could change it
-
hi i have created a screen with table control with number of columns and rows. i want the user to drilldown to transaction IQ03 when he double click on secific cell. is it possible ? if yes can i get an example ? thanks
-
Can you edit a pdf fillable form
Once I create a fill-able form - how do I edit the form without starting over?