It's not a secret anymore!*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes server and WSDP installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "server and WSDP installation" Watch "server and WSDP installation" New topic
Author

server and WSDP installation

Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
I have installed the server 8.2 and WSDP2.0 some time back,

but i havent yet opened any dialog box of the sever/wsdp pack.

does wsdp have a screen, which shows up whn started, .

also on my c:, there is a folder created C:\sun, i hitnk the server is in here. how do i start the admin console etc..???


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Niranjan Deshpande:
does wsdp have a screen, which shows up whn started


No, the JWSDP is simply an expansion package to the application server.

The startup command is



asadmin is simply a script in the "bin" directory of your server installation. So if you haven't set you path to point to the "bin" directory, you'll have to change your current working directory to it. Once the server has started point your browser to http://localhost:4848 to open the Admin Console. Now you should be able to log in as the "admin" user (the default password is "adminadmin" or whatever you specified when you installed it).

When you are done go back to the command line prompt and issue:


to shutdown the server.

HOWTO: Install Sun Java System Application Server PE 8.2
J2EE� 1.4 Application Server: Chapter1 Getting Started
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
Any paths/classpaths to set for the server/wsdp?

what i did was, just executed the exes for both of them.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
When we write java code, we think of a JVM/JDK.

Is WSDP analogous, i.e. for writing WS code we need the WSDP. correct?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Niranjan Deshpande:
Is WSDP analogous, i.e. for writing WS code we need the WSDP. correct?


No. Web Service functionality (JAX-WS) is included in Sun's Java EE 5 and Java SE 6 platforms. You can implement JAX-WS web services with Java SE 5 if you install JAX-WS 2.x - it includes the com.sun.net.httpserver.HttpServer to host the web service without an additional servlet container.

I suspect that Sun kept the JWSDP separate from the J2EE 1.4 server because web service technology was developing much quicker than the rest of the platform; that way they could update it faster. It went from 1.0 to 1.6 and then 2.0 (which included the first JAX-WS).
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
I was able to start the server, and move around the localhost:4848 link,
mine is 9.1_10 server. is that fine?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Niranjan Deshpande:
I was able to start the server, and move around the localhost:4848 link,
mine is 9.1_10 server. is that fine?


Sun Java System Application Server Platform Edition 9.0 Update 1 is a Java EE 5 application server. I don't know if the JWSDP will work correctly with that.
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
then should i use 8.2? can I have the link to install it?
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
i am confused a bit. when i start the server i see 9.1_01 as the title of the admin console browser.

This means i have 9.1 on my machine. but as said by peer when i should have 8.2. so when i try to uninstall the server, the uninstall utility asks me 'should i uninstall the 8.2 server'. Isnt it strange?

The folder that is there on my machine is C:\Sun\AppServer\bin

How do i check the version of the server that is installed?
Suryakumar Surendran
Ranch Hand

Joined: Jan 30, 2008
Posts: 38
SJSAS 8.2


SCJP 1.4 | SCWCD 1.4 | now preparing for SCDJWS
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
I downloaded the 8.2 server.
But when I start the server, it still shows 9.1_01 in the title bar.
 
 
subject: server and WSDP installation