JDeveloper EJB3.0 problems
(Cross-posting this from the EJB forum in the hopes someone with more JDev experience can offer some insight)
I'm trying to use EJBs for the first time, and have run into a problem initialising an EntityManagerFactory. The examples I've been looking at use something like:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("<persistence unit name>");
However, this gives me a compilation error. In my installation, the only valid forms of javax.persistence.Persistence.createEntityManager take no parameters, and a Map parameter, respectively.
I can't find any documentation on these forms of procedure!
I'm using JDeveloper 10.1.3.0.4, EJB 3.0, J2SE 1.5.0_05. The version of the Persistence class my project is using is in <jdev_home>\j2ee\home\lib\persistence.jar
Any help will be appreciated.
I assume you mean JDeveloper 10.1.3.4? (I don't think there ever was such a version as 10.1.3.0.4)
The version of the Persistence class my project is using is in <jdev_home>\j2ee\home\lib\persistence.jar(assuming you're using 10.1.3.4) - you are not using that version of persistence.jar - I had a look in there and found:
public static EntityManagerFactory createEntityManagerFactory(String paramString)
and
public static EntityManagerFactory createEntityManagerFactory(String paramString, Map paramMap)
Perhaps you have some other version of persistence.jar in the libraries you are using
John
Similar Messages
-
JDeveloper EJB3 Session Bean Problem
Hi Everyone,
I am new to JDeveloper. I tried to do a EJB3 Stateless Session Bean. I want to add the AroundInvoke Function to the Bean class. At below
@AroundInvoke
// mark this method as a bean interceptor
public Object checkPermission(InvocationContext ic) throws Exception {
System.out.println("*** checkPermission interceptor invoked");
// you can implement your own security framework using interceptors
if (!ic.getEJBContext().getCallerPrincipal().getName().equals("oc4jadmin")) {
throw new SecurityException("Caller: '"
+ ic.getEJBContext().getCallerPrincipal().getName()
+ "' does not have permissions for method "
+ ic.getMethod());
return ic.proceed();
However, the Jdeveloper 11g keep show me the error message that AroundInvoke is not found. Then I put the import javax.ejb.AroundInvoke. It still complain import javax.ejb.AroundInoke not found.
Please help and advise.
Thank youA small tip - if you go to the add a library dialog in the project properties you'll see a search box at the top - you can put a class name there and JDeveloper will show you in which library it is.
-
New to JDeveloper, having problems with EJB tutorial.
Hi,
I'm new to the world of JDeveloper, I'm trying to follow this tutorial
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ejb/ejb.html
Firstly when I create an entity from a table I get the following error;
Starting Offline Database Synchronization
Generating classes for Entity CbsdSecurity...
Entity generation for CbsdSecurity failed.
I'm not really sure why this is, however I suspect this is at the heart of the problems.
If I continue I can get to the point where I create a EJB Diagram, however when I try to drag my autogenerated class onto the diagram I get the following error;
"Entity does not belong to Persistence Unit xxxxEJB which is associcated with Diagram EJB3.ejb_diagram"
In addition the log at the bottom has the following warnings.
23-Sep-2010 10:07:46 oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
23-Sep-2010 10:07:53 oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
WARNING: Incomplete connection reference object for connection:fcs2ukd
Now my database connection doesn't seem to remember the password even though I have ticked the 'remember password' tick box.
I am developing under Windows XP using JDK1.6.0.21
If anyone could point out what I'm going wrong I would be very grateful.
Thanks
Rich
Edited by: Rich Carless on Sep 23, 2010 9:32 AMTry to test Your DB connection in JDeveloper. Is it success?
Best regards, Debuger! -
Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J
hi everybody
I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
Thanks In Advance
Rohit TiwaryHi Rohit,
You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
HTH.
Regards,
Arun -
JDeveloper IDE problems with google Calendar development libraries
Hello all,
I am using JDeveloper as an IDE for developing the google calendar events.
I am referring the http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html site.
Instead of ANT to run the sample code, I am using JDeveloper IDE and added all required libraries from sample and source code.
Still I am getting weird error as Error(22,29): GDataRequest$RequestType not found in enum com.google.gdata.client.Service.GDataRequest.RequestType in class com.google.gdata.client.GoogleService in class com.google.gdata.client.calendar.CalendarService in class project1.CalendarTest
Code is as below
package project1;
import com.google.gdata.client.*;
import com.google.gdata.client.calendar.*;
import com.google.gdata.data.*;
import com.google.gdata.data.acl.*;
import com.google.gdata.data.calendar.*;
import com.google.gdata.data.extensions.*;
import com.google.gdata.util.*;
import java.net.*;
import java.io.*;
import sample.util.*;
public class CalendarTest {
public static void main(String[] args) throws AuthenticationException,
MalformedURLException,
IOException,
ServiceException
CalendarService myService = new CalendarService("exampleCo-exampleApp-1.0");
// myService.setUserCredentials("[email protected]", "pa$$word");
// URL feedUrl;
// CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
// feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
// System.out.println("Your calendars:");
// System.out.println();
// for (int i = 0; i < resultFeed.getEntries().size(); i++) {
// CalendarEntry entry = resultFeed.getEntries().get(i);
// System.out.println("\t" + entry.getTitle().getPlainText());
Please if somebody has already faced such problem, show me some way or give the direction.Problem is solved by changing jdeveloper Compilat settings.
Checked the checkbox of 'Use Javac'.
and then compile the project. It will get compiled.
Thanks to Shishir Shrivastava's post
http://www.mail-archive.com/[email protected]/msg00984.html
-Vedika -
JDeveloper 9i - Problem with using tag lib
I am having problem with building my project, using JDeveloper 9i.
My project includes custom tag libraries.
When I build my project, I get back the following error:
Error(1): oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'
for every jsp file that has the taglib directive as follows:
<%@ taglib prefix="srp" uri="/srpTagLib" %>
Please note that the application runs OK, but it can not be build by JDeveloper for debugging purpose.
Any ideas? Please help!!!!
Thanks,
CathyWhat version is your tag library and what version is your deployment descriptor?
-
Jdeveloper 10g Problem in Making EAR
Hi,
I am migating a J2EE application source code from Sun One studio to Jdeveloper 10 g (10.1.2),while creating the EAR,there are lot of jsp compilation errors,unable to Bulid the EAR.
Any body have any Idea that to stop jsp compilation at the time of creating EAR or Make or ReBulid.
if any options to set, pl suggest.
Awaiting for Quick respose.
Thanks....RegardsHi, the compilation of the JSPs before building the WAR file is a there to help you finding problems/errors before deployment. You should take them serious and resolve them before the deployment.
What kind of errors do you get?
--olaf -
JDevelopment Deployment problems(Aurora-error)internal error
>
Below is a error listing of a (re)deployment from Jdeveloper, suddenly I get errors that look like this,
How would i fix this?
The program compiles and runs well in Jdeveloper and had
deployed into the database(9.2.0.1) without any problems earliar.
Using Jdevelop : 9.0.4.0.0(Build)1347
ERROR LISTING
Invoking loadjava on connection 'o92maja' with arguments:
-order -resolve -force -thin
Error while creating PAR/XMLKommunikationSkeleton
ORA-29516: internt Aurora-fel: Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
Error while creating PAR/XMLKommunikationStub
ORA-29516: internt Aurora-fel: Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
Error while creating resource ora94iDs/jdev/mywork/par/par/XMLkommunikation.wsdl
ORA-29516: internt Aurora-fel: Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
Error while computing shortname of PAR/XMLKommunikationSkeleton
ORA-29516: internt Aurora-fel: Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
ORA-06512: vid "SYS.DBMS_JAVA", rad 213
ORA-06512: vid rad 1
Error while computing shortname of PAR/XMLKommunikationStub
ORA-29516: internt Aurora-fel: Assertion failure at eox.c:232
Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
ORA-06512: vid "SYS.DBMS_JAVA", rad 213
ORA-06512: vid rad 1
errors : source PAR/XMLKommunikationStub
ORA-29535: källan måste kompileras på nytt
PAR/XMLKommunikationStub:112: Method matches(java.lang.String) not found in class java.lang.String.
Info: 1 errors
The following operations failed
source PAR/XMLKommunikationStub: resolution
resource ora94iDs/jdev/mywork/par/par/XMLkommunikation.wsdl: creation
oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:700)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:428)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:315)
at oracle.jdevimpl.deploy.StoredProcHandler.doDeployToMostRecent(StoredProcHandler.java:230)
at oracle.jdevimpl.deploy.StoredProcProfileDt$1.run(StoredProcProfileDt.java:193)
#### Deployment incomplete. #### 2004-mar-19 16:57:40
regards
DavidYou might want to try posting this in the Database JVM forum:
Java in the Oracle Database -
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
KamalWell, 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: Á -
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 -
JAX-WS PL/SQL Web Service with JDeveloper (Weblogic problem)
Hello,
does anyone know how to create a JAX-WS webservice based on a pl-sql package using JDeveloper? Maybe it is possible with a newer version of JDeveloper 11.1.2.3, currently I'm using 11.1.1.6 which only offers a JAX-RPC for PlSql Web services.
I'm facing a problem right now trying to deploy an jax-rpc web service on Weblogic 10.3.4. Actually it seems to be an WebLogic problem because weblogic doesn't support the older standard (JAX-RPC). So I've extended the weblogic domain using Fusion Middleware Configuration Wizard like described for example here . Unfortunately it doesn't help. Deploying my applicaiton on a forms11g (11.1.1.4) domain (which goes hand in hand with the weblogic domain (?)) is successful. But anyway I can't call the WSDL or test the web service using weblogic console. Other services (jax-ws) work without any problem on the same forms domain.
I would appreciate any hint, how to automatically produce an jax-ws web service from an plsql package or how to run a jax-rpc web service on weblogic 10.3.4. It's Weblogic Basic Server actually, but I'm of the opinion it doesn't play a role in my case.
Thank you in advance for your hints.
Kind regards,
Anton
Edit: I would appreciate any hint how to check if a weblogic domain supports jax-rpc (if extended correctly). Thanks.We can generate jaxws from 11.1.2.0 onwards using This is now provided by the TopLink web service provider builder, which can be via the TopLink DBWS provider wizard from JDeveloper since the 11.1.2.0.0 release
1.4.4 Database Web Services (DBWS)
http://docs.oracle.com/cd/E23943_01/doc.1111/e26045/general.htm#CHDIEEHG
Hope that heps
Regards,
Sunil P -
hi to all,
I encountered a problem while designing a web page using JDeveloper (ADF)...
Firstly i would follow these steps
1. Create DB Connection
2. Create entity tables
3. Create view objects
4. Create face-config.xml
5. Create relevant JSPX pages using ADF core drag and drop function from DataControlPalette
All the steps work out just fine... However, if i try to repeat steps 2, 3, 5 again to add new functions, the JSPX pages created will not display a inputtext box field when being rendered on Internet Explorer (JSPX pages are created using ADF drag and drop function from DataControlPalette)
Its seems that if i take away the bindings from the inputtext box, the inputtext box would be displayed, however it would not pass the values to next page nor add values into DB...
Is there anyway i can keep the bindings approach and remove the error in inputtext??Hi Frank,
I followed the same steps as in the tutorial of SRDemo to develop the application
It always works on the first use case of the application. However, only if i try to add another new use case(entities, view object and jspx pages) will the inputtext not be rendered on IE...
It seems that if i use a view object created through their sql (Select from DB...), i can obtain information and display it in a adf form where the inputtext box is displayed... However using the view object created programically, the inputtext box does not come out in adf form... -
JDeveloper + WebLogic: Problem deploying
Greetings,
I'm new to Oracle and JDeveloper and I'm developing an application (webservice) that uses Oracle 11g as database. To develop the webservice I'm using JDeveloper Studio Edition Version 11.1.1.0.1 and WebLogic application server.
Everything was running fine until yesterday, when for unknown reasons I could no longer use SQLDeveloper to connect to Oracle database. Searching the web I found a possible solution that consisted in installing a loopback adapter. I did it and it worked, I could connect again using SQLDeveloper and/or JDBC.
The problem is that now I'm not able to deploy applications from JDeveloper into WebLogic.
I'm not sure if this is related to the loopback adapter, but it was the only thing I've changed. It doesn't look like a WebLogic problem because I can start the server outside JDeveloper, access the console (although not from [http://localhost:7001/console,] only if I use [http://127.0.0.1:7101/console] or [http://mycomputername:7101/console]). It indicates that the server is running "OK".
However, if I use JDeveloper to "Test Web Service" (like I used to), it takes a long time for the server to start (3-4 minutes compared to less that 1 minute previously), with the following log:
C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
[http://waiting for the server to complete its initialization...]
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\product\11.1.0\client_1\bin;C:\oracle\product\11.1.0\db_1\bin;C:\Program Files (x86)\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.6.0_12\bin\;C:\Program Files (x86)\QuickTime\QTSystem\;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=true -DproxyHost=localhost -DproxyPort=8099 -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8099 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8099 -Dhttps.nonProxyHosts= -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\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -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=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Mar 11, 2009 2:20:12 PM GMT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;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>
<Mar 11, 2009 2:20:13 PM GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Mar 11, 2009 2:20:13 PM GMT> <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 Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Mar 11, 2009 2:20:13 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 11, 2009 2:20:13 PM GMT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Mar 11, 2009 2:20:14 PM GMT> <Notice> <Log Management> <BEA-170019> <The server log file C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Mar 11, 2009 2:20:15 PM GMT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 11, 2009 2:20:17 PM GMT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Mar 11, 2009 2:20:17 PM GMT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Mar 11, 2009 2:20:18 PM GMT> <Warning> <Server> <BEA-002611> <Hostname "192.168.11.65", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.99.99:7101 for protocols iiop, t3, ldap, snmp, http.>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.11.65:7101 for protocols iiop, t3, ldap, snmp, http.>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Mar 11, 2009 2:20:18 PM GMT> <Warning> <Server> <BEA-002611> <Hostname "mycomputername", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1>
<Mar 11, 2009 2:20:18 PM GMT> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 192.168.11.65, 192.168.99.99, 127.0.0.1>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Mar 11, 2009 2:20:18 PM GMT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Mar 11, 2009 2:21:57 PM GMT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
DefaultServer startup time: 121578 ms.
DefaultServer started.
Apparently the server has started and is running (I can access the console through a browser, says RUNNING and OK), however, the message log reads:
[Application Application1 is bound to Server Instance DefaultServer|http://forums.oracle.com/forums/]
Compiling...
Context: MakeProjectAndDependenciesCommand application=Application1.jws project=Project1.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\Application1\Project1\classes -namereferences -make C:\JDeveloper\mywork\Application1\Project1\classes\Project1.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\Application1\Project1\classes;C:\oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\Application1\Project1\src;C:\Oracle\Middleware\jdk160_05\src.zip C:\JDeveloper\mywork\Application1\Project1\src\project1\Class1.java
[1:53:21 PM|http://forums.oracle.com/forums/] Successful compilation: 0 errors, 0 warnings.
[Application Application1 is bound to Server Instance DefaultServer|http://forums.oracle.com/forums/]
[Starting Server Instance DefaultServer|http://forums.oracle.com/forums/]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
And the webservice tester doesn't show up, probably because the application was never deployed.
Does anyone have any ideas on what might be wrong?
Thank you in advance,
~Ruben Jorge
Edited by: user10768356 on Mar 11, 2009 8:55 AMI tried to fill the "Listen address" property of my server using the console to "localhost" and when I try to test my web service it now goes much faster, but gives me the following error messages:
C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\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=;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\product\11.1.0\client_1\bin;C:\oracle\product\11.1.0\db_1\bin;C:\Program Files (x86)\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.6.0_12\bin\;C:\Program Files (x86)\QuickTime\QTSystem\;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=true -DproxyHost=localhost -DproxyPort=8099 -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8099 -Dhttp.nonProxyHosts= -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8099 -Dhttps.nonProxyHosts= -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\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -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=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Mar 11, 2009 2:45:47 PM GMT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;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>
<Mar 11, 2009 2:45:48 PM GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Mar 11, 2009 2:45:48 PM GMT> <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 Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Mar 11, 2009 2:45:49 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 11, 2009 2:45:49 PM GMT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Mar 11, 2009 2:45:49 PM GMT> <Notice> <Log Management> <BEA-170019> <The server log file C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Mar 11, 2009 2:45:51 PM GMT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Mar 11, 2009 2:45:52 PM GMT> <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'.>
<Mar 11, 2009 2:45:52 PM GMT> <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'.>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Mar 11, 2009 2:45:53 PM GMT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 9152 ms.
DefaultServer started.
[Running application Application1 on Server Instance DefaultServer...]
---- Deployment started. ---- Mar 11, 2009 2:45:55 PM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-03-11 14:45:55.994: Writing WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1\Application1-Project1-webapp
2009-03-11 14:45:56.007: Wrote WAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1\Application1-Project1-webapp
2009-03-11 14:45:56.121: Writing EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1
2009-03-11 14:45:56.131: Wrote EAR file to C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Application1
#### Deployment incomplete. #### Mar 11, 2009 2:45:58 PM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:52)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:139)
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.rc.asadapter.connection.ConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:100)
at oracle.rc.asadapter.connection.AppServerConnectionImpl.getPresentation(AppServerConnectionImpl.java:65)
at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:43)
... 11 more
Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:97)
... 13 more
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://127.0.0.1:7101' as user, 'weblogic'. Error received: null
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 15 more
Caused by: java.io.IOException
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
... 19 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1: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.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
... 23 more
Caused by: java.net.ConnectException: t3://127.0.0.1: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)
... 31 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.findOrCreate(RJVMFinder.java:188)
... 36 more
#### Cannot run application Application1 due to error deploying to DefaultServer.
[Application Application1 stopped and undeployed from Server Instance DefaultServer]
Also I noticed that JDeveloper wasn't even able to shutdown the server as it couldn't connect to it. With the "Listen address" property set to "localhost" it shuts it down perfectly. -
I have a couple of persistent problems with the IDE:
i) I repeatedly get access violation errors and instances where the IDE just hangs, usually when I am just editing code.
ii) When I run an app from within the IDE the javaw.exe does not terminate when I terminate the app. A new javaw.exe gets added each time I run the app.
... and how do I control its hunger for memory ...
BobWhat OS and how much free memory do you have (before launching JDeveloper)?
It it best with at least 128 MB all to itself (more is better).
I typically run it on an NT machine with at least 256 MB of base RAM. This machine doesn't have a local RDBMS, if that were the case you would need to really double that (to 512 MB) for smooth operation. If you also have OAS running, add whatever it requires onto that as well. If you have a machine with all 3, you better have at least the 512 MB... I suppose tuning the SGA size on the RDBMS could allow for better numbers, but I don't no of any way to reduce the OAS or JDeveloper memory requirements... -
Jdeveloper + OC4J Problem
Hi all,
I have an application that runs fine on tomcat and any other app server. When I try to run it from within Jdeveloper, for some reason I get all sort of class-loader or xml parsing problems.
So it turns out that embedded oc4j tries to use its own xml parser, its own struts jar and this causes a lot of problems and it throws errors and I can't run this app.
Please how do I turn off jdeveloper/embedded OC4J from using its own jars and rather just run the app, since the app has all needed libraries ?
Here's a sample error -
SEVERE: MessageResourcesFactory.createFactory
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: org.apache.struts.util.PropertyMessageResourcesFactory
Dependent class: org.apache.struts.util.RequestUtils
Loader: current-workspace-app.web.zeims-c:0.0.0
Code-Source: /C:/devtools/java/jdeveloper/jdev/mywork/zeims/customer/lib/struts.jar
Configuration: <classpath> in C:\devtools\java\jdeveloper\jdev\mywork\zeims\customer\public_html
This load was initiated at current-workspace-app.root:0.0.0 using the loadClass() method.
Pls help !!!I think that i they works is lucky, because your two modules get managed through the same class loader in your standalone oc4j
Correct if I'm wrong, but you should not trust using local references if they aren't implemented in the same instance of the classloader, which you can control
Maybe you are looking for
-
Hi, I am looking for examples for using LVUserEvent. In found this: http://zone.ni.com/devzone/cda/epd/p/id/1480 but the zip-archive is not including any vi, only c-code and the dll, so I have difficulties to understand how it works. I am looking for
-
Create Virtual NICs of a Teamed Interface
Dear All, I am building a Hyper-V Failover Cluster. I have created a team (two physical nics) which I plan to only use for Cluster Communication, Heartbeat and Live Migration. I have following questions: 1. How to create virtual NICs o
-
How to create a service for the OHS (Apache 2.0) on Windows?
I've downloaded the Oracle HTTP Server (Apache 2.0) (10.1.3.3.0). It works also fine with DB 10gR2 and APEX. But how do I create a windows service for the opmnctl.exe? Thanks Ralph
-
In NI-DAQmx, how to change the frequency of a pulse train?
I was using "GPCTR_Change_Parameter()" to change the frequency of my pulse train in Traditional NI-DAQ and Labwindows/CVI; is there any function can do the same thing in NI-DAQmx without restarting the task?
-
The builder in ver 6.0i had a pull down to address the over write issue for support files. My new ver 6.1 does not. Is there a work around, a solution, or a new ver on the way? Thanks