Cant Deploy and Run J2EE 1.2.1 application
When i start the server by giving in command prompt
start j2ee -verboseIt prints in command prompt following
J2EE server Listen Port: = 1049
Naming service started: :1050
Published the configuration object ...
Binding DataSource, name = jdbc/sqlServer, url = jdbc:odbc:RegisterDataSource;cr
eate=true
Web service started: 9191
Web service started: 8000
Web service started: 7000
Loading jar:/C:/j2sdkee1.2.1/repository/compaq-92b8bb0b/applications/MusicApp112
36609517750Server.jar
/C:/j2sdkee1.2.1/repository/compaq-92b8bb0b/applications/MusicApp11236609517750S
erver.jar
Binding name:`java:comp/env/jdbc/RegisterDataSource`
Looking up authenticator...
Binding name:`java:comp/env/jdbc/RegisterDataSource`
Loading jar:/C:/j2sdkee1.2.1/repository/compaq-92b8bb0b/applications/MusicApp212
36835842578Server.jar
/C:/j2sdkee1.2.1/repository/compaq-92b8bb0b/applications/MusicApp21236835842578S
erver.jar
Binding name:`java:comp/env/jdbc/RegisterDataSource`
Binding name:`java:comp/env/jdbc/RegisterDataSource`
Created Context:/Music
Binding name:`java:comp/env/jdbc/RegisterDataSource`
Created Context:/SearchContext
Binding name:`java:comp/env/ejb/Item`
Created Context:/Register
Binding name:`java:comp/env/ejb/Validate`
Binding name:`java:comp/env/ejb/Register`
Created Context:/ItemContext1
Binding name:`java:comp/env/ejb/Item`
default: destroy
Context: org.apache.tomcat.core.Context@1b46dc down
java.lang.IllegalStateException: cannot find message associated with key : serve
r.createctx.existname
at org.apache.tomcat.core.ContextManager.addContext(ContextManager.java:
310)
at org.apache.tomcat.server.HttpServer.addContext(HttpServer.java:474)
at com.sun.web.server.WebService.addContext(WebService.java:77)
at com.sun.web.server.ServletDeployerImpl.loadWebComponents(ServletDeplo
yerImpl.java:339)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.restoreW
ebComponents(JarInstallerImpl.java:239)
at com.sun.enterprise.server.J2EEServer.restoreWebComponents(J2EEServer.
java:745)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:331)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:866)And this way the cycle goes on for every context then at last server starts by giving this message
J2EE server startup complete.Then server starts up.But when i deploy any application it tells me
There was a deployment error.java.rmi.ServerException: RemoteException
occurred in server thread; nested exception is: java.rmi.RemoteException:
Error saving/openingEdited by: merwyn on Mar 12, 2009 10:50 AM
Edited by: merwyn on Mar 12, 2009 10:50 AM
hello ananda,
>1.Is this TestClent program is a plain java project ?
i assume that you're already familiar with java.
the code line i posted for TestClient is where your main
method is. Copy those lines and save into a file named
TestClient.java, then compile it. (i think i don't have
to elaborate how to do this).
>2.After TestClent program is written what exactly the
>steps should I follow ?
when you have compiled your ejb interfaces i.e. your
enterprise bean, and your remote interface implementations
you have to deploy them to your j2ee engine. you have to
consult to your deploytool how to do this. are you using
any wizard for deployment or you're doing it manually?
>3.When I opened deploy tool what steps I have to follow
>to get the TestClient in the tree and run it.
the tree depends on your deploytool.
you only have to deploy it. you can't run it anyway.
it will be utilized by your client application instead.
>4. what should be written in the <jbdi-name> tag inside
>ejb-j2ee-engine.xml file.
<jbdi-name>? are you referring to jndi-name?
it should be your enterprise bean name...
>5.From where TestClient program is executed ?
from your pc...
i would suggest that you should go through the tutorial
article which i posted on my formal links. this will
give you an idea how...
regards
jo
Similar Messages
-
Unable to deploy and run WD Java app through NWDS with a remote J2ee engine
Hi ,
We have a clustered server instance configuration in our environment.
I have already added the message server port and the server details in the remote J2ee engine configuration in NWDS through windows->preferences .
I found the port no. and the host server name using <servername>:<portname>sap/monitor/systeminfo
Also, I can see the SDM , dispatcher and the server running/shown in green in the J2ee engine setting.
But when I was trying to connect deploy and run the application, first it asks for the SDM password and after entering it , it aborts with the following message :
Sep 18, 2007 8:32:15 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : XXX00
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/check1/LOCALS~1/Temp/temp11565my_pro.ear
Deployment exception : Server XXX00 did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server XXX00 at port 50018: Connection timed out: connect
Inner exception was :
Server XXX00 did not accept login request as admin on port 50018. Details: ERROR: Could not establish connection to server XXX00 at port 50018: Connection timed out: connect
Can anyone let me know what can be the reason.
Best Regards
SidHi Siddharth,
Re-start SDM process of J2EE engine.Make sure when you are deploying u r project others are not deploying their project.
SAP Note : <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_jas/~form/handler">701654</a>
Regards,
Mithu -
How to deploy and run EJB in eclipse without XDoclet
Hi Friends
I am new in j2ee.In my academic project i want to do some ejb programming.
For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
If u have saple code or useful link regarding this please send it as soon as possible.
Thanks in advance
How to deploy and run EJB in eclipse without XDocletHI Welcome to J2ee...
I am also new to this...But i ll share my ideas with you...
In EJB 3.0 No need of any Deployment Descriptors....
And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
XDoclet is not mandatory...
Gopal V -
While Deploying and running the application
Dear all,
While deploying and running the application, after importing the relevant files into my local amchine workspace from another machine, i am facinf exception/error message as below:
'Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found'.
Would someone suggest for the same.
With Regards,
Lux.Hi,
This is the message i am receving during runtime
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4013.00.0000.20050607163945.0000 (release=630_SP_REL, buildtime=2005-06-07:21:12:54[UTC], changelist=351986, host=PWDFM067)
Web Dynpro code generators of DC local/SurveysOverview:
SapDictionaryGenerationCore: 6.4013.00.0000.20050606171348.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:02:28[UTC], changelist=351717, host=PWDFM026.wdf.sap.corp)
SapMetamodelWebDynpro: 6.4013.00.0000.20050609113138.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:05:41[UTC], changelist=352442, host=PWDFM026.wdf.sap.corp)
SapMetamodelCore: 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:56:40[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationTemplates: 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:21:22[UTC], changelist=356134, host=PWDFM026)
SapWebDynproGenerationCTemplates: 6.4013.00.0000.20050628104636.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:21:22[UTC], changelist=356134, host=PWDFM026)
SapGenerationFrameworkCore: 6.4013.00.0000.20041104141254.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:55:55[UTC], changelist=298452, host=PWDFM026.wdf.sap.corp)
SapIdeWebDynproCheckLayer: 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:09:17[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
SapMetamodelDictionary: 6.4013.00.0000.20050606171352.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:59:56[UTC], changelist=351719, host=PWDFM026.wdf.sap.corp)
SapMetamodelCommon: 6.4013.00.0000.20050606171700.0000 (release=630_VAL_REL, buildtime=2005-07-18:19:56:48[UTC], changelist=351724, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationCore: 6.4013.00.0000.20050606172055.0000 (release=630_VAL_REL, buildtime=2005-07-18:20:09:46[UTC], changelist=351729, host=PWDFM026.wdf.sap.corp)
SapDictionaryGenerationTemplates: (unknown)
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
No information available
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_08-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows XP, version: 5.1, architecture: x86
Error stacktrace:
java.lang.NullPointerException
at com.sap.survey.NewSurveyView.onActionCreateSurvey(NewSurveyView.java:180)
at com.sap.survey.wdp.InternalNewSurveyView.wdInvokeEventHandler(InternalNewSurveyView.java:198) -
Unable to Deploy and Run a WebDynPro Application in NWCE 7.1 DS
I have successfully built a test application in WebDynPro within the NWCE 7.1, but every time I try to deploy and run the application I get the following error:
No default system is configured in SAP System Registry [ERROR: Apr 24, 2008 10:32:51 AM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Worker-19,5,main]] ]
It seems like a straightforward error, but when I go to the System Registry I cannot see how to set up a default system for the application. There is no "DefaultSystem" entry and so I am sure that I have to add one, but cannot find any documentation to help me do this.
Thanks.First, thanks for the fast responses.
I had gone to SAP AS JAVA preference before, but couldn't figure out how to get my system to show up in the dropdown box. When you put in the server name and the 0 instance, it then finds the system and all instances under the system. That was my missing link.
I can now deploy and run and move on to my next (inevitable) problem.
Thanks again. -
Do I need an iphone or apple device to begin using icloud? I just cant install and run on my windows desktop?
mriverchuck wrote:
Do I need an iphone or apple device to begin using icloud?
Yes. You need to create an iCloud Account on an Apple Device first.
From Here > http://www.apple.com/icloud/setup/pc.html
" To enable iCloud on your Windows PC, first set up iCloud on your other devices, then install the iCloud Control Panel for Windows..." -
How to deploy and run Spring petportal example on Oracle portal?
Is there any how-to steps or article show the petportal (Spring portlet MVC) example deploy and run Oracle portal?
Hi,
I haven't tired this, but I looked at the "README.txt" file included in the Spring PetPortal Application & it uses the standard JSR 168 Portlet standards.
Hence, I assume that this would work as with any other remote portlet Implementation - host the portlet remotely & consume it in Oracle Portal 10.1.4.
I just noticed that it has been 8 days since you posted the question - have you tried anything already ? If yes, what are your experiences so far ?
Regards,
Sandeep -
How to deploy and run application in user created OC4J instance
Hello friends,
I have created my own OC4J instance in Application Server Control.Now,how can I deploy and run application in this newly created OC4J instance.I need your help,it's
urgent.
Regards
PrasenjitHi Andreas,
Thanx for your prompt reply.Yes,I had deployed the '.ear'in that.But I am not able to run the program in
browser.Could you please elaborate more precisely.I wouuld be obliged.
Regards
Prasenjit -
Unable to Deploy and Run a WebDynPro Application (SAP instance identity)
Hi all,
I try to deploy and run the application I get the following error: No default system is configured in SAP System Registry. So, I try to set the perferences.
Windows > preferences > SAP AS Java
However, I don't know how to set it because I develop the program from the external network (via internet). Which port should be used in this connection? Please help!
Many thanks and Regards,
Matt YimHi MattYim,
For Java Server configuration,
Instance Host: will be the hostname or IP address of your SAP System.
Instance Number: will be the SAP Instance number
As you are connecting to this server via internet, make sure tht you have filled in the internet proxy details in the NWDS.
This can be doen at:
Window --> Preferences --> General --> Network Connections
The proxy details mentioned here should be same as the Internet Proxy details configured for ypur internet explorer.
Regards,
Alka. -
Kindly help me in setup of eclipse to develop,deploy and run new ATG project
Install ATG eclipse plugin following steps in below location
Oracle ATG Web Commerce - Appendix D. Development Tools for Eclipse
Then follow steps in following link to setup build environment
Reassembling Your Application Using Ant -
Hi,
i have a mapping which is correct validated. The owner of the reposity and of the tables is the same.
I got the error
RPE-01010: Datenbankobjekte dürfen nicht direkt im Control Center bereitgestellt werden.
What did I wrong? Can anyone please help me?
Thank you
SiegwinHi
please help me again.
I have an user LOGISTICS (registered as repository user for SP), a location connecting to LOGISTICS, a control center connecting to LOGISTICS, a configuration connectung to LOGISTICS.
The repository owner is SP
The source and target database schema is LOGISTICS
When I try to deploy and run the mapping, I get the error RTC-5381 Schema LOGISTICS ist kein Control Center Repository
How can I create this Control Center Repository?
Thanks
Siegwin -
Blank screen appears after deploying and run?
Hi,
I have implemented a WD application i.e. a quiz application,
1)i have a t-layout
2)Top segment has welcome iview
3)left segment has question
4)right has question mark image
i have defined plugs and actions as well
But when i deploy and run this application, only blank screen appears.Any ideas what i am missing?how to make it run??
Thanks $ Regards,
AmeyaHi Ameya.
At the time of Comonent creation it will automatically creates a view and window.
so you need to add[embed] your view to the window
open window right click and select "embed view" and then select existing view
select your view from the list
rebulild the project and run
Regards
Chaitanya.A -
How to create and run J2EE application client for Hello World EJB
Hi
I am new to NWDS EJB deployment.I have created a "Hello World" bean. But how to deploy it and run using a J2EE application client step by step.
Also please help in the steps of the deploy tool.
Thanks in AdvanceHi Ananda
Check this link,
http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/content.htm
cheers
Sameer -
HELP: failed to deploy and run WL performance monitor, console extension
Hi All
i downloaded and installed the WL performance monitor, console extension package
at http://commerce.bea.com/products/weblogicserverconsoleextension/wlsext_home.jsp
As i tried to deploy "performance monitor" web app to the WL server at "Performance
Monitor > Installation Instructions " screen. I just saw the error msg
weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException:
[J2EE:160029]I/O error while reading deployment - java.io.FileNotFoundException:
No such path: null\java\FenwayWL.war.
java.io.FileNotFoundException: No such path: null\java\FenwayWL.war
at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:191)
at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:452)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
Therefore, i used workaround to manually copy "PerformanceMonitor.war" and "FenwayWL.war"
to <Domain Home>/applications directory for manual deployment. However, it seems
of no use. I still failed to carry out any operations through "performance monitor"
node at left panel of admin console. For e.g, i failed to enable "resources" and
"statistics" monitoring option at "Performance Monitor > Agent Configuration "
screen. Very thankful somebody can help me to sort out my problem. My platform
is win2000 + WL 8.1 sp1
thanks u very much in advance.
dsoIn order to find the PerformanceMonitor web app, the ConsoleExt needs to
examine your classpath to get the appropriate WLHOME. It does this by
searching for .../server/lib/weblogic.jar. Please make sure your CLASSPATH
is correct and matches where PerformanceMonitor is installed. For example,
the path to .../server/lib/weblogic.jar is the same as to ../common/perf. In
my world, they both happen to be d:\bea\weblogic81.
Paul.
"dso" <[email protected]> wrote:
>
Hi All
i downloaded and installed the WL performance monitor, console extension
package
at http://commerce.bea.com/products/weblogicserverconsoleextension/wlsext_home.jsp
As i tried to deploy "performance monitor" web app to the WL server at
"Performance
Monitor > Installation Instructions " screen. I just saw the error msg
weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException:
[J2EE:160029]I/O error while reading deployment - java.io.FileNotFoundException:
No such path: null\java\FenwayWL.war. java.io.FileNotFoundException:
No such path:
null\java\FenwayWL.war at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:191)
at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155) at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:452)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
Therefore, i used workaround to manually copy "PerformanceMonitor.war"
and "FenwayWL.war"
to <Domain Home>/applications directory for manual deployment. However,
it seems
of no use. I still failed to carry out any operations through "performance
monitor"
node at left panel of admin console. For e.g, i failed to enable "resources"
and
"statistics" monitoring option at "Performance Monitor > Agent Configuration
screen. Very thankful somebody can help me to sort out my problem. My
platform
is win2000 + WL 8.1 sp1
thanks u very much in advance.
dso -
Are there any mp3 players that CANT record and runs by replacable batteri
hello,
like the topics says, are there any mp3 players that DOES NOT have the recording function and runs by replacable alkaline batteries?
i really need one as i am working in a place that requires stay in and i cant charge players, what makes it worst is that there are like top secret information there and they forbits any recording devices, which most mp3 players have XD
Some help please? thanks! =DYou can check out the MuVo Sport C00 and MuVo Mix player. They are both operating using AAA battery and without voice recorder.
Jason
Maybe you are looking for
-
How do I combine folders into one pdf, preserving subfolders as bookmarks?
So far I've had to go into each folder, convert its contents and name the file the same name as the folder name, and combine all of these folders. I'd like it if there were an easier way.
-
How can I check an object is an instance of any type within an array of related types?
In LabVIEW, it's possible to check the runtime type of an object using To More Specific Class.vi. One usage of this would be to perform a safety check if some kind of class uses instances of another kind of class but is only able to handle a subset o
-
Long Text Printing in TEXT ELEMENTS of a Script
Hi, I am printing the amount in words using Subroutine pool program. This amount is populationg fine in the program(in out_table structure ITCSY). I assigned those symbol for printing in text elements. While printing the last words are not print
-
After the recent software update my calendar entries synch and present two entries on the Droid while there is only one on the Google Calendar.
-
Can we have a transaction propagated to two ejb's in different machines if we have database interaction in both? I tested it out with Account beans (examples) deployed on two different(remote) servers both servers having