on 01-03-2007 9:41 AM
Hi,
Can anyone tell me how do i deploy .war file on J2EE engine. While searchin for the solution, i learnt that i need to convert .war file to .ear file, is that right?. Can anyone tell me how do i do that. what tool to use and the procedure. I dnt want to do the conversion from .war to .ear and deployment through NWDS.
Regards,
naveen
hello naveen,
the easiest way is to use the deploytool.
create a new EAR file and include your WAR file into it. then connect to your
J2EE server and deploy.
WAR file is not literally converted to EAR file. rather, it is being included into
the package. and EAR file may contain several WAR files...
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the reply. I was able to convert the .war file to .ear file using the deploy tool as suggested by you. But i'm having problem connecting to the J2EE engine.Our portal is active at port 50000 and hence wanted to
deploy the EAR on the port 50000.While tryin to connect to port
50000 we get the followin error,but connection to other port (50004) does not
throw any error. I tried resetting the user 'Administrator' and the port to 50000 using config tool, but still the same error is being displayed. I also restarted the J2EE engine after makin the changes.
ERROR: Cannot connect to Host: [localhost] with user name: [Administrator]
Check your login info.
Exception is:
com.asap.engine.services.jndi.persistent.exceptions.NamingException:
Exception while trying to get InitialContext. [Root exception is
com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
create new RemoteLoginContext instance.]
Please assist in solving the above issue.
I tried to open my web application by typing in http://<myhost>:5xxxx/Myapp after deployin my ear file using Deploy tool. But nothing appears on the screen(just a blank screen without any error message).
Can somebody help me as any configuration needs to be done.
Thanks,
Naveen
Hi Naveen,
U have to convert .war to .ear if u want to deploy on J2EE engine.
Use Ant tool in which u need to specify where to deploy and where the source is available.
Simple xml tags.Go through the Ant tutorial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.