[JBossWS] - Error while using WSTools
by sidgod
Hi i was using JBOSS AS 4.0.4.GA for the J2EE application. Now i am trying to the soap interface also. Thus i downloaded zip for 4.0.4.GA and i am using following file to generate wsdl from my interface:
activation.jar, mail.jar, javassist.jar, jbossall-client.jar, jboss-backport-concurrent.jar, jbossretro-rt.jar, jbossws14-client.jar and xercesImpl.jar.
I was using jdk 1.4 06 earlier and i am still using the same. The command i am using to generate wsdl is :
org.jboss.ws.tools.WSTools -cp <all-my-jars> -config <config-file> -dest <some-dest>
Its failing with error java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 i believe this class is available only from jdk 1.5.x series onwards. But i think WS tools which are shipped with server binary zip file can be used with 1.4.x also.
So please tell me whats wrong and how can i counter it ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093422#4093422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093422
18Â years, 7Â months
[Installation, Configuration & DEPLOYMENT] - problem while shutdowning the JBOSS server 4.0.5 GA
by prakash.dumbre
hi all
I have JOBSS server 4.0.5 GA installed on the our server having the operating system as windows server 2003. Whenever i try to shutdown the jboss server with the ctrl+d, server doesn't shutdown easily.I need to press the ctrl+d so many times sometimes server shutdowns but sometimes server don't get shudown, so i tried the option shutdown -S but got the following exception
Stack Trace:
Exception in thread "main" javax.management.RuntimeMBeanException
at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
ns(ReflectedDispatcher.java:176)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerA
daptorService.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
please tell me what is the meaning of above exception and how to shutdown the JBOSS server cleanly. What is cause when server don't get shudown with ctrl+d.
regards
prakash
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093415#4093415
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093415
18Â years, 7Â months
[JBoss Seam] - Overriding the Identity component.. (like lacewiki does) fa
by gagool
For some reason seam wants an securityRules-setter on my inherited Identity component. I can't find any securityRules, any idea why?
this simeple case:
| @Name("org.jboss.seam.security.identity")
| @Scope(SESSION)
| @BypassInterceptors
| @Install(precedence = APPLICATION)
| @AutoCreate
| public class YSIdentity extends Identity {
|
| private static final long serialVersionUID = -1573888046524276986L;
| private UserAccount userAccount;
| private ContentProviderAccount contentProviderAccount;
|
| // We don't care if a user is logged in, just check it...
| @Override
| public void checkRestriction(String expr) {
| if (!evaluateExpression(expr)) {
| Events.instance().raiseEvent("org.jboss.seam.notAuthorized");
| throw new AuthorizationException(String.format("Authorization check failed for expression [%s]",
| expr));
| }
| }
|
| @Override
| public boolean hasPermission(String name, String action, Object... args) {
|
| userAccount = (UserAccount) Component.getInstance("contentProviderAccount");
| contentProviderAccount = (ContentProviderAccount) Component.getInstance("contentProviderAccount");
|
| if (args == null || args.length == 0) {
| // All the security checks currently need arguments...
| return false;
| }
|
|
| return false;
| }
|
| }
|
|
results in this:
| ...
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.IllegalArgumentException: no such setter method: com.yourstardom.middle.support.YSIdentity.securityRules
| at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:236)
| at org.jboss.seam.Component.initInitializers(Component.java:486)
| at org.jboss.seam.Component.<init>(Component.java:264)
| at org.jboss.seam.Component.<init>(Component.java:217)
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:949)
| ...
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093410#4093410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093410
18Â years, 7Â months