users@glassfish.java.net

Re: Migrating From jboss-4.2.1 to GlassFish

From: Sonia_08 <simrans.in.08_at_gmail.com>
Date: Wed, 30 Jul 2008 05:42:24 -0700 (PDT)

Thanks for the reply.
I am facing this issue now

|Exception occured in J2EEC Phase
java.lang.NoSuchMethodError:
com.sun.tools.apt.Main.process(Lcom/sun/mirror/apt/AnnotationProcessorFactory;[Ljava/lang/String;)I

i am not able to deploy any web services. I tried browsing the net and found
that the exception might be because of the tools.jar. I tried version jdk5,
jdk 5_06, jdk5_16 tools.jar resp. But in vain, can someone help me out with
this?

Thanks



glassfish wrote:
>
> .wsr file is a Web Services Archive file. It is a standard jar file with a
> META-INF/web-services.xml (a Axis standard descriptor). A .wsr file can't
> be deployed directly in GlassFish. I thought that .wsr file was supported
> in JBoss.NET (included in JBoss 3.x) and has entered in end of life. It
> has been replaced with JBossWS (included in JBoss 4.x) and supports
> portable J2EE/Java EE web services (JAX-RPC/JAX-WS). If so, then the
> migration path appears to be migrate to JAX-RPC or JAX-WS depending upon
> your application. Let me know your comments.
>
> As for .sar files. While the prefix is the same, the .sar files are
> completely different in SailFin and JBoss. A .sar file in SailFin is used
> to package SIP applications but a .sar file in JBoss is a service archive
> ( a jar file with META-INF/jboss-service.xml) deployed using SARDeployer
> MBean. If have a service developed using a custom MBean on JBoss, then I
> suggest you look at the custom MBeans are developed and deployed on
> GlassFish (it does not use .sar archive files) - see
> http://docs.sun.com/app/docs/doc/819-3672/gbdzi?a=view . If your custom
> MBean is tied to JBoss appserver, then you will need to remove that
> dependency.
> [Message sent by forum member 'sekhar' (sekhar)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290193
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/Migrating-From-jboss-4.2.1-to-GlassFish-tp18629992p18732364.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.