I am having the same problem,

was5:serverStatus  gives me an exception

    [serverStatus] ADMU0111E: Program exiting with error:
java.lang.NoClassDefFoundError:
    [serverStatus]            com/ibm/jsse/IBMJSSEProvider

was5:installApplication

    [wasInstallApp] java.lang.reflect.InvocationTargetException
    [wasInstallApp]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wasInstallApp]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wasInstallApp]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wasInstallApp]     at java.lang.reflect.Method.invoke(Method.java:324)
    [wasInstallApp]     at
com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    [wasInstallApp] Caused by: java.lang.NoClassDefFoundError:
com/ibm/jsse/IBMJSSEProvider
    [wasInstallApp]     at java.lang.Class.forName0(Native Method)
    [wasInstallApp]     at java.lang.Class.forName(Class.java:141)
    [wasInstallApp]     at
com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:273)
    [wasInstallApp]     at
com.ibm.ws.scripting.CommonScriptingObject.connectToAdminService(CommonScriptingObject.java:117)
    [wasInstallApp]     at
com.ibm.ws.scripting.CommonScriptingObject.<init>(CommonScriptingObject.java:99)
    [wasInstallApp]     at
com.ibm.ws.scripting.AdminControlClient.<init>(AdminControlClient.java:152)
    [wasInstallApp]     at
com.ibm.ws.scripting.AbstractShell.createControlClient(AbstractShell.java:865)
    [wasInstallApp]     at
com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1522)
    [wasInstallApp]     at
com.ibm.ws.scripting.WasxShell.main(WasxShell.java:805)
    [wasInstallApp]     ... 5 more

This class is IBM specific and normally loaded in the ext directory of the
internal IBM JDK ..... so it looks like that we need to run those tasks the
IBM JDK .... and here it comes the problems at least mine. How ? It does
not seem that the plugin allows to fork and passing a different JDK. On the
other side I do not want to start Maven using a different JDK .


 ... Or there is an easier approach that I am missing ?

Regards

Michele






|---------+---------------------------->
|         |           "Richard         |
|         |           Lewis-Shell"     |
|         |           <[EMAIL PROTECTED]|
|         |           com>             |
|         |                            |
|         |                            |
|         |           23/03/2004 23:15 |
|         |           Please respond to|
|         |           "Maven Users     |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |        To:                                         "Maven Users List" <[EMAIL 
PROTECTED]>                               |
  |        cc:                                         (bcc: Michele Forte/SwissRe)    
                                          |
  |        bcc:                                        Michele Forte/SwissRe           
                                          |
  |        Subject:                                    Re: Anyone working on WebSphere 
AppServer 5.0 Plugin?                     |
  
>------------------------------------------------------------------------------------------------------------------------------|




Have you set the maven.was5.home property?  (It shouldn't be necessary if
you have set WAS_HOME environment variable, but I haven't tested that)

Are you using the IBM JDK?  I've found that necessary for some of the goals
(sorry, can't remember which ones).

Richard

----- Original Message -----
From: "DeGraff, Adam" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 6:33 AM
Subject: RE: Anyone working on WebSphere AppServer 5.0 Plugin?


> Hi Dion,
>
> We are trying to use the was5:ejbDeploy goal and are running into this
> NoClassDefFoundError: com/ibm/etools/ejbdeploy/EJBDeploy
>
> We have batch.jar in our dependency list, which has this class.  Any
> suggestions as to why we get this error?
>
> [wasEjbDeploy] java.lang.NoClassDefFoundError:
> com/ibm/etools/ejbdeploy/EJBDeploy
>
> [wasEjbDeploy] Exception in thread "main"
> [wasEjbDeploy] [ERROR] Java Result: 1
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 10, 2004 1:17 PM
> To: Maven Users List
> Subject: Re: Anyone working on WebSphere AppServer 5.0 Plugin?
>
> There's now a working was50 plugin as part of
> http://maven-plugins.sourceforge.net.
>
> If you need a built version let me know.
> --
> dIon Gillard, Multitask Consulting
>
>
>
> [EMAIL PROTECTED] wrote on 11/03/2004 05:03:25 AM:
>
> >
> >
> >
> >
> >
> > I have one working with wsadmin.  It can start/stop server,
> > application, deploy and undeploy ear, list, and status.  Basically,
> > anything
> supported
> > by wsadmin can be added easily.  It works for a local or remote
> instance.
> >
> > Now the kicker...  Waiting to working out our corporate open source
> policy
> > before I can make it available outside.  Its basic structure is on the
> > WAS4, just changing the "executable" and command line options.  If you
> take
> > a look at WAS5's documentation of migrating from the old wscp to
> wsadmin,
> > it's not too difficult, with some minor tricks you need to know, such
> > as using $$ when you have to pass a string into the command line with
> > $ and such.
> >
> > Jun Ying
> >
> >
> >
> > |---------+---------------------------->
> > |         |           [EMAIL PROTECTED]|
> > |         |           m.au             |
> > |         |                            |
> > |         |           03/04/2004 06:32 |
> > |         |           PM               |
> > |         |           Please respond to|
> > |         |           "Maven Users     |
> > |         |           List"            |
> > |---------+---------------------------->
> >
> >
> >-----------------------------------------------------------------------
> >-----------------------------------------
> > |
> >   |    |
> >   |       To:       "Maven Users List" <[EMAIL PROTECTED]>    |
> >   |       cc:    |
> >   |       Subject:  Re: Anyone working on WebSphere AppServer 5.0
> > Plugin?                                          |
> >
> >
> >-----------------------------------------------------------------------
> >-----------------------------------------
> > |
> >
> >
> >
> >
> > Not AFAIK,
> >
> > [EMAIL PROTECTED] wrote on 05/03/2004 12:48:58 AM:
> >
> > >
> > > Is anyone working on a WebSphere AppServer 5.0 plugin?
> > >
> > > - Tom
> >
> > But if you wanted to start one, come over and join the AppServer 4.0
> > plugin team on http://maven-plugins.sf.net.
> > --
> > dIon Gillard, Multitask Consulting
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to