• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WSAD Websphere without WSAD??!?!

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to use the websphere installations that come with WSAD5.0 WITHOUT actually using WSAD ?

I've managed to get the server up and running but haven't had much luck deploying a sample ear - will I end up having to handcraft a load of ibm-application-ext.xmi etc etc files..

should I just give up the fight and leave lovely eclipse for the blackbox of wsad
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
or can someone show me where I can download a developer version of WAS5 on the labyrinth that is the IBM website...
 
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try it here:http://www-130.ibm.com/developerworks/websphere/
I think that trial means only trial support for 60 days, but you will see
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
James,
WSAD 5 and above come with a full (single server, limited) WAS instance. So you can access it from the command line or admin console. You still have to have some mechanism for creating the ear. And you have to configure things yourself if you don't want to use the IBM xmi files. In WSAD 4, I wouldn't attempt it.

What is the reason you don't want to use WSAD? If it is because you already have a process for creating the ear, you should be fine.
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well tbh, I find WSAD extremely slow and complicated. I like the speed and flexibility of eclipse in conjunction with MyEclipse. I like the fact that I can keep more upto date with eclipse and jdk releases, that I can deploy to multiple types of servers. Mainly that I feel I'm more in control of whats going on, using wizards etc is great but when things go wrong... anyway I didn't mean to go on a WSAD rant, I'm sure loads of ppl love it.

I can create vendor independent ear files using eclipse/MyEclipse, and I managed to start-up the WSAD embedded WAS4 server, but I couldn't actually deploy my simple ear file.

I started down the path of hacking server-config.xml and copying/amending the xmi-files from the sampleApp, when I realised that this would be a complete chore on a daily basis.

Could you point me in the right direction of getting started with using the commandline tools, presumably I need to use something to a) IBM-ify my ear file or b) generate an IBM friendly ear file from my constituent parts..

Forget about WAS4, WAS5 is where I should be concentrating..
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to start up the console and doing deployments is what I need to know.. cheers
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
okay, so I amended

C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\bin\setupCmdLine.bat so that the WAS_HOME and JAVA_HOME pointed at the embedded websphere instance

then I ran

firstSteps.bat

seemed to work and fired up the gui. But attempts to start the server fail



why is it using c:\Program Files\WebSphere\AppServer still?
[ August 10, 2005: Message edited by: james render ]
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, so I ran

startServer server1 -trace

and this seems to be the problem:



why is it picking up an incorrect path?
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok found this link

http://groups.google.co.uk/group/ibm.software.websphere.studio.application-site-developer/browse_thread/thread/d97207b15fb6f98c/f5019817e956f109?lnk=st&q=LaunchCommand+WebSphere&rnum=10&hl=en#f5019817e956f109

so I amended

C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\config\cells\localhost\nodes\localhost\variables.xml

changing:
"WAS_INSTALL_ROOT" value="C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5"
"JAVA_HOME" value="C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java"

server now seems to start up..

see if I can deploy something to it..
[ August 10, 2005: Message edited by: james render ]
 
james render
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yep can deploy, wicked!

omg how horrible is it deploying to WAS compared to JBoss!
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic