Investigate.jws Tutorial
Please help.
Gets the following error while trying to build Investigate.jws from the Workshop
Tutorial. (Infact, it looks like I can't run any of the services that has mesage-buffering/conversation
enabled):
"Unexpected exception occurred while trying to deploy the EJB for this Web Service..."
Following is from the log file:
"####<Jan 4, 2003 1:03:06 AM PST> <Error> <AI> <DreamWeaver> <cgServer> <main>
<kernel identity> <> <000000> <Failed to initialize the WLI-Application Integration
enterprise application due to an exception while initializing JMS resources.>
com.bea.wlai.JMSResourceException: Failed to initialize the WLAI asynchronous
service request JMS Queue 'WLAI_ASYNC_REQUEST_QUEUE' bound at JNDI context 'com.bea.wlai.ASYNC_REQUEST_QUEUE'.
Root Cause: javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.ASYNC_REQUEST_QUEUE'
Resolved: 'com.bea.wlai' Unresolved:'ASYNC_REQUEST_QUEUE' ; remaining name 'ASYNC_REQUEST_QUEUE'"
Appreciate your help.
Thanks
Sankar Nair
Here is the attached file.
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]..
Krish,
Can you attach the Investigate.jws file you are working with ?
You could also compare this file with the Investigate.jws found under the
bea-home\weblogic700\samples\workshop\applications\samples\tutorialsfolder
>
Thanks
Raj Alagumalai
WebLogic Workshop Support
"kk" <[email protected]> wrote in message news:[email protected]..
I added the callback and the code to call this from the
requestCreditReportAsynch method. When I click on the green button tobuild
and run it, I get this error in the error output window,
Investigate.jws 0 An unexpected exception occured while attempting to
deploy the Enterprise Java Beans for this Web Service. Error: null
Any ideas?
--Krish.
[Investigate.jws]
Similar Messages
-
Cannot compile tutorial investigate.jws
I added the callback and the code to call this from the
requestCreditReportAsynch method. When I click on the green button to build
and run it, I get this error in the error output window,
Investigate.jws 0 An unexpected exception occured while attempting to
deploy the Enterprise Java Beans for this Web Service. Error: null
Any ideas?
--Krish.Here is the attached file.
"Raj Alagumalai" <[email protected]> wrote in message
news:[email protected]..
Krish,
Can you attach the Investigate.jws file you are working with ?
You could also compare this file with the Investigate.jws found under the
bea-home\weblogic700\samples\workshop\applications\samples\tutorialsfolder
>
Thanks
Raj Alagumalai
WebLogic Workshop Support
"kk" <[email protected]> wrote in message news:[email protected]..
I added the callback and the code to call this from the
requestCreditReportAsynch method. When I click on the green button tobuild
and run it, I get this error in the error output window,
Investigate.jws 0 An unexpected exception occured while attempting to
deploy the Enterprise Java Beans for this Web Service. Error: null
Any ideas?
--Krish.
[Investigate.jws] -
Does anyone pls tell me where can I get tutorial of JWS as I'm new in this tech.? I have downloaded the demo and run w/o problem but still dont know the steps to DIY.
Thanks!Hello,
Here are a couple of useful links for you to review:
Sun's developer resources (sparse, but this is all there is ..)
http://java.sun.com/products/javawebstart/architecture.html
http://java.sun.com/products/javawebstart/docs/downloadservletguide.html
http://java.sun.com/products/javawebstart/docs/developersguide.html#jnlp
Sun's jnlp bug reporting site (you can glean useful info from here ..)
http://search.java.sun.com/Search/java?qt=%2Bcategory%3Ajavawebstart+%2Bservlet&col=obug&category=category%3Ajavawebstart&state=&query=servlet&submit=+Search+
Unofficial Webstart/JNLP faq (maintained by an individual on Geociities (intermittent availability))
http://www.geocities.com/vamp201/jwsfaq.html
Regards,
Andre -
Hello,
I have been trying the Bea workshop 8.1.2 for the first time. I followed the instructions given in the tutorials to build the Investigate Web service. The program compiled with no errors but later I got the following run time error:
javax.ejb.EJBException:nested exception is :javax.naming.NameNotFoundException: Unable to resolve 'cgDtaaSource' Resolved; remaining name 'cgDataSource.
Regards
SantoshHi Santhosh,
There seem to be a mispell in your code.
Please correct the datasource name to "'cgDataSource" instead of "cgDtaaSource"
Thanks a lot,
Vimala
Santosh <[email protected]> wrote:
Hello,
I have been trying the Bea workshop 8.1.2 for the first time. I followed
the instructions given in the tutorials to build the Investigate Web
service. The program compiled with no errors but later I got the following
run time error:
javax.ejb.EJBException:nested exception is :javax.naming.NameNotFoundException:
Unable to resolve 'cgDtaaSource' Resolved; remaining name 'cgDataSource.
Regards
Santosh -
I found a few bugs in the Workshop tutorial. I wonder if this is the right place
to report them.
Step 7: Add Support for Cancellation and Exception Handling
* The timer is started using creditCardReportTimer.start(). But it is never stopped.
* context_onException() calls callback.onCreditReportDone(). One problem is the
Java client do not accept call back. So the onCreditReportDone() call result in
another exception. context_onException() is invoke again. This causes an infinite
loop and eventual crashed the WLS.
Step 8: Client Application
* The Java statement
if(context.getCallbackLocation() != "")
is not a correct way to test for empty string. Use String.length().
Wai Yip TungWai,
Thanks for contacting us with your feedback.
You had mentioned that the timer was started but never stopped, the
following is a snippet from the Investigate.jws available in the
applications/samples/tutorial folder.
private void creditCardReportControl_creditCardDataResult(CreditCard[]
cards)
* Now that the web service has returned its results, stop the timer
started
* in the requestCreditReportAsynch method.
creditCardReportTimer.stop();
The timer also has a timeout value of 5 minutes after which it will stop.
Regarding the other issues, I will make sure that the information is sent to
the samples team.
We appreciate your feedback.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Wai Yip Tung" <[email protected]> wrote in message
news:[email protected]..
>
I found a few bugs in the Workshop tutorial. I wonder if this is the rightplace
to report them.
Step 7: Add Support for Cancellation and Exception Handling
* The timer is started using creditCardReportTimer.start(). But it isnever stopped.
>
* context_onException() calls callback.onCreditReportDone(). One problemis the
Java client do not accept call back. So the onCreditReportDone() callresult in
another exception. context_onException() is invoke again. This causes aninfinite
loop and eventual crashed the WLS.
Step 8: Client Application
* The Java statement
if(context.getCallbackLocation() != "")
is not a correct way to test for empty string. Use String.length().
Wai Yip Tung -
Hi all,
I came across the Web Service Security tutorial (Investigate.jws) that comes with WebLogic Workshop. Now I've two questions:
- How can I test a web service that requires encryption in the request since the test client that Workshop generates doesn't seem to take care of the <encryptionRequired> tag I added to the <wsSecurityIn> element of the WSSE file?
- How can I expose my WS to a changing set of customers without redeploying the service if I have to declare client aliases (at least) in the WSSE file?
Can somebdy help solve these issues?
Regards.
Antonio.You can set usage limits from your my verizon page by purchasing Family Base for 5.00 a month. As for checking your my verizon usage, if your cycle date is really the 12th then it should track your usage from the 13th-12th of every month, like this month for example your my verizon should show you usage from 10/13/2013-11/12/2013.
-
How can we cretae the DBC file?
Hi all,
I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can we create the dbc file from the Database connection ? i tried to export the DB connection in Jdev , but it is getting exported to xml file rather than dbc file . Please help to fix thisYes, you can do that.
Put both the DBC files under dbc_files\secure folder.
You can change the dbc files from project settings and point to the desired file.
I am not sure, but maybe you need to stop JDevloper and start again for the new DBC file to take effect. -
How can we create the DBC file?
Hi all,
I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can we create the dbc file from the Database connection ? i tried to export the DB connection in Jdev , but it is getting exported to xml file rather than dbc file . Please help to fix this.Yes, you can do that.
Put both the DBC files under dbc_files\secure folder.
You can change the dbc files from project settings and point to the desired file.
I am not sure, but maybe you need to stop JDevloper and start again for the new DBC file to take effect. -
Hi,
I am trying to run one of the examples in the JWS tutorial, but everytime I go "ant build" it throws the following error
<stuff_up_front>/jaxrpc/common/targets.xml:30: taskdef class org.apache.catalina.ant.DeployTask cannot be found
As far as I know I have all the necessary path and environmental variable set. Only thing I can think of is that I choose not to install the Tomcat that comes bundled with the JWSDP package since I already had tomcat server running on my machine. But my Catalina_Home has been set from a long time and it works with other applications. So I really not sure what I am suppose to do. Help would be very welcomed. Thansk you.Please dis regard I just now noticed the dates on this thread. (I sure hope you have gotten it working by now.)
I did get these examples running. The fact that I had several versions of Tomcat installed by IDE's I think alot of my env.vars where not pointing to the proper place. I ended up just using all the stuff that came with the jwsdp(server and likes). maybe later once I get a greater understanding I can do better. BUT I AM A BIT SLOW. Thanks all.
If you every reply to me type slow so i can keep up. -
Hey, Can Anyone help me?.
I Want to make a Web Service in J2EE, but I don't want to use the JWSDK. I want to do all without assistants.
Anyone have some tutorial or manual that con help me.
Sorry for my bad english, I don`t speak english very well.
Thanks a lot.
Marcos L�pez.
Mexico.The JWS tutorial (http://java.sun.com/webservices/downloads/webservicespack.html) does a reasonable job of walking you through a Web service using Ant. We use GNU make, so we looked at the various Ant build.xml files in the tutorial examples for ideas.
-
Hi,
I�m a begginer with webservices. I have had some tests and I would like to get some explanations if possible:
1- What's the difference between Apache AXI and JWSDP ?
2- A web container is needed in both ?
3- I had downloaded the JWS tutorial 1.4 and this tutorial says that is needed Sun Java System Application Server Platform Edition 8, but the sun web site says that I can use tomcat-jwsdp too.
The questions:
3.1 - Could I use any web container to webservices?
3.2 - Is Sun Java System Application Server Platform Edition 8 a freeware ?
3.3 - Is tomcat-jwsdp freeware ?
3.4 - The difference betweenn tomcat-jwsdp and the apache tomcat is only the jwsdp ?
Sorry my english is begginer and
Thank you very much for helpThe Java Web Services Developer Pack (Java WSDP) provides the APIs and toolkit for building applications with Web Services. These are J2EE extensions to J2SE.
Apache AXIS is an implementation of Web Services, there are others.
A -
Hi,
I am working on Oracle BPEL 11g.I want to send an email with an attachments of pdf files.But the problem is i am getting mail on the email server but the email doesn't contains any attachments..its just the mail which gets delievered to the "To" address.
Please help me out its very urgent.I need to send an email with pdf files as attachments so is there any link or tutorial which can follow to sucessfully do the task.
i have also completed the SendEmailWithAttachments.jws tutorial but its not working.Anyone who has completed the email with attachments please forward me the steps to do so will be very helpful
Thanks in advence
Irfan
Edited by: Irfan Shaikh on Jan 18, 2012 4:13 PMHi,
I want to send an .pdf file by adding an attachment in the email activity in BPEL..SO please if you can send me the step step procedure to do this will be helpful.This is what the exception i am getting
<exception class="java.lang.NullPointerException">messsage cannot be null
<stack>
There are many other lines in this exception
</stack>
</exception>
Tnahks & Regards
Irfan
Edited by: Irfan Shaikh on Jan 24, 2012 7:23 PM -
Uber N00b.... JWS/ Jar Tutorial Recommendations
Hello all, I'm making the transistion from Java and I need some help with deployment. I'm developing standalone apps and it looks like JWS is a good delivery method, but I cannot find any good tutorials or how-tos. I need ground-zero tutorials. I have been getting used to coding Java, but I dont know anything about JARs or the JWS.
Thanks in Advance!Answers on this post: http://forum.java.sun.com/thread.jsp?forum=38&thread=380534&tstart=0&trange=15
-
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. -
Images do not display in Acmevideo sample application WebApp_8i.jws
Hello,
The JDeveloper 3 Acmevideo web application for Oracle8i is a nice-looking web application.
There is a syntax fault in the Java source files WebAppReports.java, WebApp.java of the JDeveloper 3 workspace WebApp_8i.jws
In the file acmevideo_deploy.properties I used something like this:
...imageURL=http://oashost:80/acmeimages/...
All occurrences of "/topmovie.gif", "/onoracle.gif","/filmsquare.gif" in the java source files WebAppReports.java, WebApp.java should be replaced by "topmovie.gif","onoracle.gif","filmsquare.gif". Otherwise these images will not display correctly in the web application.
I would like to know when Oracle will provide a tutorial on servlet deployment of the acmevideo web application to Oracle Application Server.
I understand that by providng a Java Webserver servlet deployment example the JDeveloper customer is not dependent on Oracle Application Server as web server.
How to deploy the acmevideo servlet to Oracle Application Server 4.0.8.1?
Thank you in advance for your reaction,
Erik Martens
nullHi Erik,
For our next release, we are actually removing the Acme Video sample application. It will be replaced with the Web Auctions demo, which was used at the most recent Oracle Open World conference.
Instructions for deploying DBServlets to OAS 4.0.8.1 are included in the JDeveloper 3.0 release notes.
Laura
null
Maybe you are looking for
-
How do I use imac or mac mini as media server for Beoplay A*?
We are contemplating buying a Beoplay A* and and appropraite Mac configuration to support it. I'd like to load all our musc into Itunes from CD's, as well as stream from things like Pandora. I'm having trouble fnding any helpful documentation. How do
-
After canceling a pre-order from iTunes I don't have the money credit back
I recently pre-ordered an album from iTunes on my iPod Touch. (gift card) After about a week I decided that I'd rather get the actual physical disk from the store once it's released, so I canceled the pre-order and I was told by the iTunes store tha
-
HT3964 my imac's display wont come on the computer is runing but the display is blank
my imac 2011 imac display wont come on the computer is running but the sreen is blank
-
Account Payable Check Printing
We are a hospital who is going live on Oracle E Suite Aug 1, 2011 and we need to make a decision on how to print our accounts payable checks. Here is the options that I have been given on how to print the checks: 1. Check Formats a. Stub on top b. St
-
Still prolem with bluetooth Connecting to car after IOS6 update!!!!
I have a Kia Sorento w/Nav system that STILL WILL NOT connect with my iPhone 4s. It's sporadic as to when it will connect. Yes I have turned off Siri, shut off my wiFi on the phone, did a restore factory settings on the car, restored my iPhone, tur