New Jdeveloper 11g problem
Hi ,
I intalled the new Jdeveloper 11g preview version and tried craeting a simple page using my database connection.Its does everything fine but when i run the page it generates following log:
:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
C:\JDev11g\jdk\bin\javaw.exe -client -classpath C:\JDev11g\j2ee\home\oc4j.jar;C:\JDev11g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Feb 8, 2008 11:32:01 AM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
C:\JDev11g\jdk\bin\javaw.exe -jar C:\JDev11g\j2ee\home\admin.jar ormi://10.30.139.243:23891 fmwadmin **** -updateConfig
Feb 8, 2008 11:32:12 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
08/02/08 11:32:24 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
08/02/08 11:32:24 JMS server will listen on port 9227.
08/02/08 11:32:26 oracle.j2ee.jms.oc4j.JMSServer startup complete
Feb 8, 2008 11:32:27 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:28 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:33 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:33 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNING: J2EE JNDI-00002
Feb 8, 2008 11:32:34 AM oracle.j2ee.util.AnnotatedLogger log
WARNING: No javax.jms.ConnectionFactory found at null
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:35 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:38 AM oracle.j2ee.jmsrouter.util.JmsRouterMessages logException
WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
Ready message received from Oc4jNotifier.
Embedded OC4J Server startup time: 39078 ms.
Target URL -- http://127.0.0.1:8988/test-ViewController-context-root/faces/untitled1.jspx
The target URL creates the page with HTTP Error
Status : 504 Gateway Time-Out
Description : Unable to connect to origin Web server.
Thanks
Kamal
Well, I have exactly the same problem "System user not available..."
I am doing something VERY simple: create a JavaEE app, create a single Session bean, everything deafult and then simply "Run..." that bean.
This problem remains even after I have successfully changed the OC4J path to "c:\kkk2".
Any other ideas?
Another question: in the previous JDeveloper, local and remote interfaces to EJB-s were hidden in the pp explorer. Can I still activate this feature?
Regards: Á
Similar Messages
-
JDeveloper 11g: Problem with search page sample
Hello all!
I realized the detailed search page in Oracle JDeveloper 11g Handbook ".
Before, it runned without problem. But for a while, I have the following exception when I run a search:
*Unexpected exception: java.lang.ArrayIndexOutOfBoundsException, e = 0.*
I searched the forums, the answers that I had alluded to the types of data in the entity, and in the view. But I checked and the different types of entities are those views.
The error always returns.
I also increased by Size Range in the definition of the page.
But there is nothing. Can anyone help me?
Thank's
NystanHi,
you want at least to give us the page number that has the example you reference. Chances are that some of the experts on OTN own the book and could have a look. When you say "Before, it runned without problem. But for a while, I have the following exception when I run a search:", what did it make change ?
Frank -
Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "
I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
The "Messages" pane displays:
"Compiling...
Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
[11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
[Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" displays:
"C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
Stopping Weblogic Server...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://localhost:7101 with userid weblogic ...
This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx4.connect$1(<iostream>:16)
at org.python.pycode._pyx4.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyFunction.__call__(PyFunction.java:184)
at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
... 38 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
... 43 more
Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
File "<iostream>", line 22, in connect
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
Done
I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
Any suggestions on how to fix this problem would be appreciated?
LA$$EJupp,
It fails in a similar way.
What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
C:\Oracle\Middleware\user_projects\domains\base_domain\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=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\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:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~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=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 121552 ms.
DefaultServer started.
In the "Messages" pane, however, things are not looking so good:
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
But, of course, the server is actually running as I can access it via its Admin Console.
So, I try to run the project again, and this time the following is shown in the "Messages" pane:
Compiling...
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" now comes up with:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
The WLS is still running though as I can still access its adm console.
To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install. -
How to enable ojc compiler in new oracle jdeveloper 11g IDE
Hi,
we can compile java files using ojc compiler in Jdeveloper 10g IDE.
I need this option in New Jdeveloper 11g IDE.
Can any one tell me how to enable the ojc compiler? ( I need detailed steps to enable ojc compiler)
I got class version error while i compile using javac in new Jdeveloper 11g IDE.
(Class file size also differ from both compiler)
So that, I want ojc compiler in new Jdeveloper 11g IDE.
Regards,
Karthi
Edited by: user12957451 on May 4, 2010 1:09 AMI guess you can't. The ojc compiler is not part of jdev 11g, javac is the tool of choice.
Timo -
JDeveloper 11g - exception when trying to set Code Style in Preferences
Hi forum
I have just installed the new JDeveloper 11g and have upgraded my projects, and would now like to define my code style. But when I open Preferences -> Code Editor -> Code Style, I get the following error. Is this a known issue? Not being able to set my coding style like I'm used to is pretty annoying...
Thanks in advance,
Jacob
"Internal error when trying to create this panel: "
java.lang.NullPointerException
at oracle.jdevimpl.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:409)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at oracle.jdevimpl.style.profile.ProfileModel.<init>(ProfileModel.java:72)
at oracle.jdevimpl.style.preferences.CodingStylePreferencesPanel.<init>(CodingStylePreferencesPanel.java:144)
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:513)
at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:315)
at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:219)
at oracle.ide.panels.MDDPanel.getTraversable(MDDPanel.java:1347)
at oracle.ide.panels.MDDPanel.mav$getTraversable(MDDPanel.java:128)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1610)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1518)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1512)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1422)
at java.awt.Component.setVisible(Component.java:1375)
at java.awt.Window.setVisible(Window.java:806)
at java.awt.Dialog.setVisible(Dialog.java:985)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:547)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)"To anyone else encountering this:
I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
Regards,
Jacob -
Where is ADF FACES HTML tags in JDeveloper 11g?
I am using JDeveloper 11.1.1.2.0 for my project. I remembered in 10g I have a list of HTML tags such as, afh:tableLayout, afh:cellFormat, etc under ADF FACES HTML package. However, in new JDeveloper 11g, I could only see ADF Cores and there is no ADF Faces HTML tags. Are they still available in 11g? If so, how I could install those tags in JDeveloper 11g?
Thanks for your quick response. Actually I am converting a Trinidad project into ADF 11g. In old one, I used a lot of tableLayout components. It seems impossible for me to convert all those tableLayout into ADF 11g layout components in a short period of time.
-
JDeveloper 10.1.3.2.0 and database 11g, problem in JDBC ?
We developed our j2ee application (using hibernate) for some time. Now we came to newer Oracle database 11g and have problem - endless waiting for fetched data. I think, that problem is in JDBC version.
Adding new JDBC into project as new library and placing it 'before' the old one doesn't help. Btw. hibernate gets connection from applicationContext_dataSource.xml file and is defined for example like this
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
<property name="url" value="jdbc:oracle:thin:@host:port:SID"/>
<property name="username" value="name"/>
<property name="password" value="password"/>
</bean>
It has nothing to do with defined conections.
My question is this:
- Can I upgrade JDBC in our 10.1.3.2.0 JDeveloper to new version or latest version of JDeveloper is needed ?
Thanks.
Message was edited by:
jnejedlyThe OC4J server embedded in JDeveloper 11g does not support JDBC 4.0.
Java applications using the JDBC 4.0 driver may be developed in JDeveloper 11g. -
Hello,
I have two "unsolvable" problems in JDeveloper! I cant find nowhere a solution to the problems are so banal, and stupid .... The first problem, fresh install JDeveloper 11g and want to make a swing desktop application. Do the following: New Application, I choose Java Desktop Application, Next, Finish. Then right-click "New ..." and take the ADF Swing Panel Empty. Immediately to run, and it run blank panel, but with a "million" mistakes:
May 19, 2010 6:03:05 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: file:/C:/JDeveloper/mywork/Chat/Client/classes/chat/DataBindings.cpx
May 19, 2010 6:03:05 PM oracle.adf.share.config.ADFConfigFactory getInstance
INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
May 19, 2010 6:03:06 PM oracle.as.jmx.framework.LoggerHelper log
SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1876)
at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1832)
at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1812)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:204)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:212)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:1999)
at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:910)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1631)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1605)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1900)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:487)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:458)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:50)
at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1078)
at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:562)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:606)
at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:152)
at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:117)
at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:80)
at chat.Panel1.main(Panel1.java:90)
Caused by: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats
at oracle.as.jmx.framework.standardmbeans.spi.CoreJMXFrameworkProviderImpl.createMBean(CoreJMXFrameworkProviderImpl.java:62)
at oracle.as.jmx.framework.PortableMBeanFactory.createMBean(PortableMBeanFactory.java:230)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.registerSessionManagerMBean(ConfigurationSessionManager.java:132)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.<init>(ConfigurationSessionManager.java:127)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.initConfigSessionInfrastructure(CoreJMXFrameworkProviderImpl.java:301)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:254)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:134)
at oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl.init(JMXFrameworkProviderImpl.java:77)
... 41 more
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Stats
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 49 more
Process exited with exit code 0.
Therefore, the panel run, but these mistakes bush me, if anyone knows what's the problem? Maybe I dont chose the right Swing Desktop Project? Or what?
Another problem is when I go to the source code of this panel, there not worjs my right brace - }. So, on a laptop, not work alg g + N (but, alt gr + B, (left brace) is work). Incredible... please help me ....I just tried it on my JDeveloper 11.1.1.3 and it worked ok.
Seems like a local problem on your machine, might be worth installing a new JDeveloper instance and trying again. -
Hi all,
when I select Identity Store under Authentication (JAZN) in
Embedded OC4J Server Preferences and click New... nothing happens...
I can't create new identity store...
Windows XP (java 1.5.0_11)Soviet,
Ok. This is a known issue (Bug# 6399289) related to working with embedded OC4J server settings when the embedded server configuration directory name contains spaces.
This would occur by default on Windows due to the fact that in 11g we now, by default, save your jdeveloper-specific system settings in the %USERPROFILE% directory. For example, on my laptop this is set to:
USERPROFILE=C:\Documents and Settings\smuenchThis means that the first time you start JDeveloper 11g, it will create its system directory here:
C:\Documents and Settings\smuench\Application Data\JDeveloper\system11.1.1.0.20.46.84and the embedded OC4J server settings live in the subdirectory:
C:\Documents and Settings\smuench\Application Data\JDeveloper\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4jSince this directory has a space in the name you are running into the problem.
Here is the solution.
Startup jdeveloper.exe using the -singleuser flag as described in this blog entry I wrote:
http://radio.weblogs.com/0118231/2007/06/05.html#a840
Assuming you have extracted JDeveloper 11g Tech Preview 2 into a directory whose path does not contain spaces in the name like:
C:\jdev11gtp2Then when you startup JDeveloper the next time with the "-singleuser" flag, it will create its system directory as a subdirectory of the installation directory, and you won't run into the problem. -
Problem with PPR in Jdeveloper 11g
Hi All,
I'm working with the Jdeveloper 11g.
My problem is I have a command button/ Command link in a jspx page. Whenever I click on the command button or command or any action generating components the whole page is getting refreshed(PPR).
I wrote some internal logic in the constructor so as to display the tree. It is calling the constructor again and again when I'm clicking on the sub nodes of the tree. I think the entire page is getting refreshed and the methods are calling again and again.
Is there any way to overcome this problem.
Could any one help me out.
Thanking you,
regards,
Satish.Satish,
I need more information to triage this issue. Do you have the partialSubmit attribute set to "true" on the command component? Does your JSPX contain an <af:document> tag?
--RiC -
Jdeveloper 11g R2 problem when publishing PL\SQL Web Service
Hi Guys,
I have been banging my head against the wall for the past few days trying to publish pl\sql package as a web service on a weblogic 10.3 but I keep running into the same problem.
PL\SQL Package Source below
create type dept_type as object
(deptno NUMBER,
dname VARCHAR2(50),
loc varchar2(13),
cr_date date)
create type dept_list_table is table of dept_type
purge recyclebin;
create or replace package ws_package as
procedure test_dept_table (pout out dept_list_table);
end ws_package;
show errors;
create or replace package body ws_package as
procedure test_dept_table (pout out dept_list_table) is
all_depts dept_list_table := dept_list_table();
dRecType dept_type;
i number := 0;
begin
-- iterate through all depts
for r_list in (select * from dept) loop
i := i + 1;
dRecType := dept_type(null, null, null, null);
dRecType.deptno := r_list.deptno;
dRecType.dname := r_list.dname;
dRecType.loc := r_list.loc_id;
dRecType.cr_date := sysdate;
pout.extend;
pout(i) := dRecType;
end loop;
end test_dept_table;
end ws_package;
show errors;
I go and create PL\SQL Web Service using default settings in Jdeveloper 11g R2 but when I try and test this page I get the following response:
Failed to invoke end component servqa.MyWebService1User (POJO), operation=testDeptTable -> Failed to invoke method -> java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00306: wrong number or types of arguments in call to 'TEST_DEPT_TABLE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Anyone have any idea what the problem may be? Your help would be much appreceated!
BojanHi Frank,
I think the problem is in any procedure that has a COMPLEX TYPE as OUT parameter. So even if you strip down the procedure to just do nothing I still get the error as described in my top post. Passing complex parameters as IN parameter work fine its only when I have procedure with complex out when it errors. I also tried function that returns object parameter and that works fine too so not sure why this doesnt?
create or replace package body ws_package as
procedure test_dept_table (pout out dept_list_table) is
begin
-- iterate through all depts
for r_list in (select * from dept) loop
i := i + 1;
end loop;
end test_dept_table;
end ws_package;
Not sure if I am meant to do anything extra before I generate Web Service using JDeveloper if my procedure has got PL\SQL types as OUT parameters but as far as I know JDeveloper should do all the type conversions for you??
Thanks
Bojan -
Problems with Template JDeveloper 11g
Hi! I have problems with template in Jdeveloper 11g.
I had created jspx page from templeate:
<?xml version='1.0' encoding='windows-1257'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1257"/>
<f:view>
<af:document>
<af:form>
<af:pageTemplate viewId="/augiTemplate.jspx">
<f:facet name="mainArea"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
THERE are error:
JSF page template at path /augiTemplate.jspx requires a model binding!!!
Why it is so an what it means? Pleas help!
Best regards!Hi,
it means that your template has an ADF binding (PageDef) reference. When you create a page in the JSF page dialog and assign the template then the binding reference is created for you. You should see a bulb in the page source editor. Press it an it should create the missing binding for you
Frank -
Migration from Jdeveloper 11g r1 to 11g r2 problem
Hi all
I have a project initially created in Jdeveloper 11g r1
after migrating it to Jdeveloper 11g r2 i tried to replace lookup ejb invocation to dependency injection.
So i used @EJB annotation in my managed bean. I'm shure there could be no mistakes in the way how i used this anno, i did it many times
it looks something like this
@EJB(name="StatelessSessionEJBEx",beanInterface =StatelessSessionEJBEx.class, beanName = "StatelessSessionEJBEx")
as a result it generated an exception which said that the EJB interface could not be found, though all dependencies between business and view projects are in place. After a while i figured out that the problem is it used JSF 1.2 specification instead of 2.0 so i replaced the version of JSF in managed been source code
<?xml version="1.0" encoding="windows-1251"?>
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"> ....
but it seemed to make no effect at all.
So are there any guesses what i did wrong
Thanks. Alex.Hi,
the server used by JDeveloper 11g R2 is a patched WLS 10.3.5 or 10.1.3.6 server (depends on teh JDeveloper version), which is not a Java EE 6 version but Java EE 5 (which explains why CDI doesn't work as expected). To read up on how to get annotated EJBs work from JSF managed beans, see http://buttso.blogspot.de/2011/03/jsf-with-managed-beans-and-dependency.html.
The upcoming 12c release will solve all of this. My suggestion therefore is to keep on going with the web.xml reference and then replace it later with @EJB annotation references
Frank -
Problem running embeded OC4J from JDeveloper 11g TP 3
I've just downloaded JDeveloper 11g Technical Preview 3. Unzipped it and ran.
IDE runs ok, but when I try to run Web project on embedded OC4J, I got exceptions and the server never starts (exception text included on the bottom).
Here is the way to reproduce the error:
1. Create new Web Project with New Gallery wizard:
a. New Gallery->general->projects->web project
b. on Web Application page (step 3 of 7) choose Servlet 2.5/JSP 21.
c. on Page Flow technology page (4 of 7) choose none
d. don't include available libraries (5 of 7)
e. on Web Project Profile (6 of 7) check Add JSP Page
f. finish
e. choose jsp name (after clicking finish a dialog pops up)
2. Run the page
a. select the page in Application Navigator
b. right click on it and choose Run option
In my case I got the following exception:
[Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
D:\work\jdev1111\jdk\bin\javaw.exe -client -classpath D:\work\jdev1111\j2ee\home\oc4j.jar;D:\work\jdev1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\kazelot\Application data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
2008-01-30 13:19:09 oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
2008-01-30 13:19:10 oracle.oc4j.util.SystemLog log
SEVERE: Server start failed processing configuration
java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
at java.lang.Thread.run(Thread.java:595)
2008-01-30 13:19:10 oracle.oc4j.util.SystemLog logNoStack
SEVERE: Server exiting: ApplicationServer entered state EXITING
Process exited with exit code 1.
Is it something with my configuration. My environment is:
ADF Business Components 11.1.1.47.96
Java(TM) Platform 1.5.0_11
Oracle IDE 11.1.1.0.22.47.96
SOA Composite Editor 11.1.1.0.0 (Build 071219.1424)
Versioning Support 11.1.1.0.22.47.96
Thanks for any suggestions,
kazelotchange the file to just (DIRTY way, but works)
grant {
permission java.security.AllPermission;
};Really dirty as these permissions are not Java EE compliant.
--olaf -
What's new in Oracle JDeveloper 11g Update 2 (Build 5205)?
What's new in Oracle JDeveloper 11g Update 2 (Build 5205)?
New compared to what? compared to 10g?
If you are asking what is new in update 2 compared to update 1 the answer is this:
http://www.oracle.com/technology/products/jdev/htdocs/11/111102fixlist.html
Maybe you are looking for
-
Hi! I have a nokia 5530 xpressmusic and I have a problem.I can't acces Ovi.I can see just the image with ovi nokia and this is all.I think I have some viruses.what do you think? thank you! Solved! Go to Solution.
-
Problem in tagging the object to Transport Request
Hello Experts, I have installed 0FISCVARNT using BI Content, but when i try to change the package of the standard object and save it under TR, it is not allowing me to change the package from local class. Please provide me any suggestions, if you hav
-
My new iPod 7th gen is syncing but no sound
I have just received my iPod 7th gen. It is fully charged and set up. I have synced my music files to it. When i play a song no sound comes through but on the iPod it shows as playing. Is this a fault with the ipod? The earphones work fine as i ha
-
IPhoto6 Empty Trash Crashes iPhoto
I've been cleaning out my iPhoto Library (from within iPhoto) and have over 600 photos in the iPhoto Trash. When I select Empty Trash from the iPhoto window, iPhoto unexpectedly quits. I seem to be unable to clear out my iPhoto Trash. Any suggestions
-
Non moving items Should calculate items which are not moving from 1 year from plants & I should show the amount of that Report format should be like this Jan 07 Feb07 Non Moving items 15.90 10.92 I am using the cube 0