[JBoss-user] [Security & JAAS/JBoss] - Re: Troubles when mben invokes method of a secured local ejb
Thank you. I did a Jaas login before invoking the bean and was able to successfully invoke it. Thanks a lot for the prompt reply View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885124#3885124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885124 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: NullPointerException deploying MDB with dependency
Thanks for the quick reply; indeed, i'm not calling create() before start(). I'll fix this when I get back work on Monday and hopefully it works :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885123#3885123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885123 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Help needed to deploy .ear file in jboss4.0.3RC1.
How to deploy ear file in jboss4.0.3RC1 After copying .ear file in deploy dir of jboss4.0.3RC1 the J2EE server is starting("11:47:23,344 INFO [EARDeployer] Started J2EE application: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear") and whenever i add suffix .ejb3 to name of the .ear file, JBoss thows the following exception, 11:47:23,344 INFO [EARDeployer] Started J2EE application: file:/C:/Program File s/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear 11:52:39,684 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil e:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear 11:52:39,684 WARN [DeploymentInfo] Could not delete file:/C:/Program Files/jbos s-4.0.3RC1/server/default/tmp/deploy/tmp14313EJB 3.0egs.ear restart will delete it 11:52:39,793 WARN [verifier] EJB spec violation: Bean : HelloWorld Section: 7.10.2 Warning: A Session bean must implement, directly or indirectly, the javax.ejb.Se ssionBean interface. 11:52:39,793 WARN [verifier] EJB spec violation: Bean : HelloWorld Section: 7.10.3 Warning: A Session bean must define at least one ejbCreate method. 11:52:39,793 WARN [verifier] EJB spec violation: Bean : HelloWorld Section: 7.10.1 Warning: The session bean must implement either a remote home and remote, or a l ocal home and a local interface. 11:52:39,793 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp14314EJB 3.0egs.ear.ejb3-conte nts/EJB 3.0egs-ejb.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile d, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:564) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:127) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor .java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy32.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:919) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:909) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:773) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:325) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:501) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:215) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:194) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885121#3885121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po
[JBoss-user] [JBossCache] - Re: EvictionPolicyConfig throwing null pointer exceptions in
The source can be obtained from here: http://wiki.jboss.org/wiki/Wiki.jsp?page=CVSRepository. For JBossCache 1.2.3, committer access checkout would be (anonymous is similar): cvs -d:ext:[EMAIL PROTECTED]:/cvsroot/jboss co -r JBCACHE_1_2_3 JBossCache We will release src on top of binary versions in the future, so people don't have to checkout the src from the repo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885119#3885119 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885119 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Timeout problem in TreeCache
i am using hibernate 2.1.6. I cannot shift to hibernate 3 presently. Is there any patch available for this problem for hibernate 2.1. Also can you please point me to the hibernate bug tracking list where this bug has been reported. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885118#3885118 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885118 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Is it possible to enumerate ALL of the object in the cac
Yes, you have to walk the tree yourself View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885117#3885117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885117 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - no Application.xml found exception
sir, when i deployed my ear file in jboss 4.0 i got the exception as no meta-inf/Application.xml found so i give the below command and i got the out put as follows is this out wrong? needed any changes...give the solution D:\jboss-scl13_7\scl\SCL>jar -tf scl.ear META-INF/ META-INF/MANIFEST.MF scl.war scl.jar src/META-INF/application.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885116#3885116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885116 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - jboss 4.0.2 build error with security patch - jbas-1875-patc
Hello all, Summary : I have got a problem in JBoss 4.0.2 build with jbas-1875 patch. I have made a workaround and need a verification. Jboss 4.0.2 builds was successful without applying the security patch. but while building with security patch jbas-1875-patch.zip it throws the following error. I appiled patch with following steps : === 1. cd to directory where Jboss source directoy 2. Renamed the Jboss source directory #mv jboss-4.0.2-src src 3. Extracted the patch file jbas-1875-patch.zip #jar -xvf jbas-1875-patch.zip which overwrites the Jboss source files and I ignored the server and client directory Build error details : [javac] Compiling 21 source files to /disk1/release5/jboss/4.0.2/Source/src/connector/output/classes /disk1/release5/jboss/4.0.2/Source/src/connector/src/main/org/jboss/resource/security/CallerIdentityLoginModule.java:146: cannot resolve symbol symbol : method peekRunAsIdentity () location: class org.jboss.resource.security.GetPrincipalInfoAction RunAsIdentity runAs = GetPrincipalInfoAction.peekRunAsIdentity(); ^ 1 error Reason : The class GetPrincipalInfoAction does not have a static member function by the name peekRunAsIdentity Possible workaround : peekRunAsIdentity is the member of the class SecurityAssociation. So I made the following changes and successfully built Jboss successfully File : jboss-4.0.2-src/connector/src/main/org/jboss/resource/security/CallerIdentityLoginModule.java Step 1 : Import the class import org.jboss.security.SecurityAssociation; Step 2 : Line 148 Before : RunAsIdentity runAs = GetPrincipalInfoAction.peekRunAsIdentity(); After : RunAsIdentity runAs = SecurityAssociation.peekRunAsIdentity(); Is the above change correct or is there any other alternative solution available. Any help is greatly appreciated. Thanks, Kalimuthu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885115#3885115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885115 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - EvictionPolicyConfig throwing null pointer exceptions in 1.2
I''ve seen people asking about similar problems in this other forum posts, and it usually seems to be due to them using the wrong attribute names. As far as I can tell, I am using the right attribute names and my config is complete. I am running jboss-1.2.3. I'd like look in the source and see what exactly is causing this, but oddly I can't find the source for this open source software online anywhere. Here is my config: attribute name="EvictionPolicyClass" org.jboss.cache.eviction.LRUPolicy /attribute attribute name="EvictionPolicyConfig" config attribute name="wakeUpIntervalSeconds" 60 /attribute region name="/Bad" attribute name="maxNodes" 5000 /attribute attribute name="timeToLiveSeconds" 60 /attribute /region /config /attribute And here is my error: Caused by: java.lang.NullPointerException at org.jboss.cache.eviction.LRUPolicy.nodeAdded(LRUPolicy.java:55) at org.jboss.cache.eviction.LRUPolicy.nodeCreated(LRUPolicy.java:93) at org.jboss.cache.TreeCache.notifyNodeCreated(TreeCache.java:3167) at org.jboss.cache.interceptors.LockInterceptor.lock(LockInterceptor.java:221) at org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:153) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:104) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:120) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:35) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:54) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3116) I also see this in the log: 2005-07-15 19:13:37,197 INFO [main] org.jboss.cache.TreeCache setEvictionPolicyConfig (TreeCache.java:633) - setEvictionPolicyConfig(): [config: null] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885114#3885114 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885114 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Parse error: From JBoss SimpleDeserializer ???
Parse error: From JBoss SimpleDeserializer ??? log4j:WARN No appenders could be found for logger (org.jboss.axis.i18n.ProjectResourceBundle). log4j:WARN Please initialize the log4j system properly. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. faultActor: faultNode: faultDetail: org.jboss.axis.AxisFault: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. at org.jboss.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:303) at org.jboss.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:142) at org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257) at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684) at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428) at org.jboss.axis.client.Call.invokeEngine(Call.java:3077) at org.jboss.axis.client.Call.invoke(Call.java:3039) at org.jboss.axis.client.Call.invoke(Call.java:2629) at org.jboss.axis.client.Call.invoke(Call.java:2538) at org.jboss.axis.client.Call.invokeInternal(Call.java:1976) at org.jboss.axis.client.Call.invoke(Call.java:1914) at com.csi.wsclients.wssample.HelloEndpointSoapBindingStub.helloCDMessageArrayReturnCDMessage(HelloEndpointSoapBindingStub.java:282) at StubTester.main(StubTester.java:52) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885110#3885110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885110 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Decorator Pattern
Friends, Can someone explain me with an example what Decorator Pattern is?. Thanks for your time. Chicagoram. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885109#3885109 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885109 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Login Filter
I created a war file structure for my portal, and applied the filter in the web.xml. Basically, the structure is like this: myportal.war/WEB-INF/myportal-portal.xml myportal.war/WEB-INF/jboss-app.xml myportal.war/WEB-INF/jboss-web.xml myportal.war/WEB-INF/web.xml myportal.war/WEB-INF/classes/com/xxx/LoginFilter.class View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885105#3885105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885105 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Troubles when mben invokes method of a secured local ejb
"jaikiran" wrote : Hi, | I have a same scenario where i would like to invoke a secure session bean from MBean. Is it NECESSARY to do a Jass login? | | Thank you. I had to login, otherwise I received a lot of errors. According to me, this is correct. Otherwise, imagine you can invoke a method of some secured ejb from MBean without login, this would be some kind of "back door". What I did was to follow the instructions in the link: In the MBean, I wrote: -- CallbackHandler handler = new AppCallbackHandler( scannerData.getUser(), scannerData.getPasssword().toCharArray()); LoginContext loginContext = new LoginContext( "client-login", handler ); loginContext.login(); (AppCallbackHandler just implements CallbackHandler) You have to be sure you have the following code in your login-config.xml: Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885104#3885104 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885104 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Can I call a session bean from an entity bean?
I want to call methods in a stateless session bean from an entity bean, but it doesn't work. Doesn't the EJB3 spec allow this? I use JBoss AS 4.0.3RC1. Thanks, Patrik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885103#3885103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885103 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Can't DatabaseServerLoginModule and SSO to work with web
Well, I thought that I had this problem resolved, but I really don't. It seems that the databaseserverloginmodule is logging me in and getting my roles | 2005-07-15 15:20:22,750 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] User 'jbrosan' authenticated, loginOk=true | 2005-07-15 15:20:22,750 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] commit, loginOk=true | 2005-07-15 15:20:22,765 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role DEV | 2005-07-15 15:20:22,765 TRACE [org.jboss.security.auth.spi.DatabaseServerLoginModule] Assign user to role MIS | It seems that the web container is not getting the roles. if I do | <%= request.getUserPrincipal().getName() %> | I get the correct principal. But If I try the following: | <%out.println(request.isUserInRole("DEV")); %> | I get false. Here is my most recent login-config.xml | | http://www.jboss.org/j2ee/dtd/security_config.dtd";> | | | | | | | | | | | | | | | | | guest | java:/DefaultDS | SELECT PASSWD FROM JMS_USERS WHERE USERID=? | SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? | | | | | | | | | | | sa | sa | | jboss.jca:service=LocalTxCM,name=DefaultDS | | | | | | | | guest | guest | guest | jboss.jca:service=TxCM,name=JmsXA | | | | | | | | |props/jmx-console-users.properties |props/jmx-console-roles.properties | | | | | | | | | web-console-users.properties | web-console-roles.properties | | | | | | | | | anonymous | | | | | | | | | | | | | | | | | guest | java:/TuraPortalDS | SELECT sec_user_password,sec_vendor_id_nbr FROM SEC_TURA_USERS WHERE sec_user_id=? | | SELECT Role, RoleGroup as 'Roles' FROM SEC_TURA_USER_ROLES WHERE sec_user_id=? | | | | | | I'm using SQLServer and everything seems to work. The web container just doesnt get the roles. Any assistance would be GREATLY appreciated. Thanks John View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885101#3885101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885101 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop getKeys returns null for filled cache
Interestingly enough I was trying to resolve my getKeys() issue with regular old TreeCache and figured I'd swap back to TreeCacheAop again. The following works without returning me null. | public static void main( String[] args ) | { | BasicConfigurator.configure(); | | try | { | TreeCacheAop cache = new TreeCacheAop(); | cache.createService(); | cache.startService(); | | cache.put("/foo", "foo", new Rectangle() ); | cache.put("/foo", "bar", "Something Else" ); | cache.put("/foo/bar", "barchild", "Child of bar"); | | | Set children = cache.getChildrenNames("/"); | Set keys = cache.getKeys("/foo"); | | | logger.debug("Cache contains ["+ cache.getNumberOfNodes() + "] nodes"); | logger.debug("Children of / are " + children.size() + "[" + children + "]" ); | logger.debug("Cache members are " + cache.getMembers().size() ); | | logger.debug("" + keys.size() ); | } | catch( Exception e ) | { | logger.error("Something bad happened", e); | } | } | The issue turns out to be with what I'm passing to getKeys(). There doesn't seem to be a way to actually get the keys of the entire tree so passing "/" returns back a null (as opposed to an empty set) so unless you actually know what you want to get out of the cache - you will have to rig some way to talk the tree to figure out what is actually in it :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885100#3885100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885100 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Why doesn't @PersistenceContext work for me?
Please forget my previous post! I am supposed to use @EJB instead!!! Sorry about that. /Patrik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885098#3885098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885098 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Out of memory error running on PA-RISC
I'm seeing the same thing on Windows XP. How do I increase the process thread limit on Windows XP? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885097#3885097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885097 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Admin CMS Portlet, upload file error
You're probably trying to edit a binary file, so it makes you upload a new one. You can't "edit" a binary thru the web browser. Do you possibly have another app deployed using a different version of commons fileupload that can be clashing? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885096#3885096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885096 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Is JBP2 recommended for use in production systems?
Yes. Walk over to IBM, Oracle, and BEA... then come back 6 months later (or whenever your contract shackles are torn off) and tell us how many people you had to lay off just to pay the support and consultant contracts when most OS Portals can do much of the same functions. 0_0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885094#3885094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885094 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Is it possible to enumerate ALL of the object in the cache?
Experimentation with TreeCache shows that the only thing getKeys returns is the object/objects at that level in the tree. So if I have objects at /foo/[objectA] /foo/[objectB] /foo/bar/[objectC] and ask for path /foo I will get two objects. If I ask for "/" or "" I get no objects at all. Is there no way to get the keys for everything in the cache so that I can iterate over all of it? | public static void main( String[] args ) | { | BasicConfigurator.configure(); | | try | { | TreeCache cache = new TreeCache(); | cache.createService(); | cache.startService(); | | cache.put("/foo", "foo", new Rectangle() ); | cache.put("/foo", "bar", "Something Else" ); | cache.put("/foo/bar", "barchild", "Child of bar"); | | | Set children = cache.getChildrenNames("/"); | Set keys = cache.getKeys("/"); | | | logger.debug("Cache contains ["+ cache.getNumberOfNodes() + "] nodes"); | logger.debug("Children of / are " + children.size() + "[" + children + "]" ); | logger.debug("Cache members are " + cache.getMembers().size() ); | | logger.debug("" + keys.size() ); | } | catch( Exception e ) | { | logger.error("Something bad happened", e); | } | } | Is there nothing I can do except attempt to walk the cache tree myself? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885095#3885095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885095 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound error
Forget my last post. I used by mistake jboss 4.0.2 which has a bug that causes the problem in my first post. Version 4.0.3 RC1 fixes the problem of just being able to use new InitialContext and not generating the JNDI error... [JBAS-1892] - hajndi-jms-ds.xml uses the wrong connection factory binding Thanks for looking anyway, Reggie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885090#3885090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885090 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop getKeys returns null for filled cache
Yeah I just swapped everything over to using regular TreeCache and now I can move my serialized objects around. While being able to move less data by virtue of using AOP to replicate only the values that changed is ideal, having to aspect every object in my framework is definitely not reasonable for me at this time. This is something that needs to be hidden away somehow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885088#3885088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885088 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Transaction Timeout setting on a BMT
How can we set the timeout of a UserTransaction in a BMT. Is there any way to specify indefinite time for a transaction(a transaction that wont timeout) Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885084#3885084 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885084 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Why doesn't @PersistenceContext work for me?
I use JBoss AS 4.0.3RC1 and I have two session beans with the following classes: @Local public interface MyManager @Stateless public class MyManagerBean implements MyManager @Remote public interface Tester @Stateless public class TesterBean implements Tester The first session bean just have one business method that returns a string. The second session bean also have one business method that calls the method on the first bean. My question is: In the Tester bean, why doesn't @PersistenceContext private static MyManager myManager; work for me? I get the following exception: Exception in thread "main" java.lang.RuntimeException: Failed in setting EntityManager on setter field: private static mytest.bean.MyManager mytest.bean.TesterBean.myManager However, the following construct works: private static MyManager myManager; | static | { | try | { | InitialContext ctx = new InitialContext(); | myManager = (MyManager) ctx.lookup(MyManager.class.getName()); | } | catch (NamingException e) | { | e.printStackTrace(); | } | } Anybody knows? /Patrik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885085#3885085 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885085 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: NullPointerException deploying MDB with dependency
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:171) | at com.securepaytech.narthex.util.AppStartupServlet.applicationReady(AppStartupServlet.java: | 153) | You should do | mymbean.create(); // <--- You are not doing this | mymbean.start(); | Bug report to do this automatically to avoid problems when user code does not control the lifecycle properly. http://jira.jboss.com/jira/browse/JBAS-2022 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885081#3885081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885081 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss 4.0.2 response time
that perfectly makes sense. Thank you very much. Thanks Srikrishna Kalavacharla View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885080#3885080 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885080 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss 4.0.2 response time
A third option is to redirect stdout and stderr to a disk file. The hangup usually occurs when the log attempts to write something to stdout but the console window is in selct mode. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885078#3885078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885078 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Troubles when mben invokes method of a secured local ejb
Hi, I have a same scenario where i would like to invoke a secure session bean from MBean. Is it NECESSARY to do a Jass login? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885077#3885077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885077 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Lookup of Session Bean from MBean at server startup
Do i need to do a Jaas Login in order to invoke a secured session bean from MBean. I am getting a SecurityException whenever i try to invoke the bean. Is there any way where i can specify a security domain? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885076#3885076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885076 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBOSS 4.0.2 Final and Tomcat 5.5 Issue
I am reviewing the JBOSS docs including the Admin Guide for additional configuration settings but would like to hear from anyone that has an idea what might be causing the lockup. The URL Connection error that I alluded to is just a symptom of shutting the server down after the client locks up. I mistakenly assumed that it was related to the lockup issue. Regards, J.D. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885075#3885075 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885075 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss 4.0.2 response time
This is a feature of the command console that Microsoft have provided, when text is selected in the command prompt window the process is supended until you unselect it by pressing a key. If you look when it is fozen the title bar probably contains the word SELECT. The first option is to look at the properties for the command prompt and disable "QuickEdit Mode" The second option is to install JBoss as a Windows service so that there is no command prompt window. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885070#3885070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885070 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Setting up a my-yahoo kind of layout
You could try to look at the JBoss Labs project - we designed our portal layout, so we can access any portlet from any other portlet and created a Navigation menu that lists the available portlets to the user - the positioning of the different windows can be defined in a style sheet by defining regions that will later be used when defining the portlets. I am not exactly sure how helpful that is, but consider the Forge project as an example. (www.labs.jboss.com) - we tried to document as much as we can in the Wiki there. cheers, Rali View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885068#3885068 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885068 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Lookup of Session Bean from MBean at server startup
Thanks a lot for the link. It worked. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885066#3885066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885066 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBoss 4.0.2 breaks my web app
I'm having a similar situation: the app ran in Jboss 4.0.1sp1 but won't in Jboss 4.0.2. The jar file containing the class: org.apache.cactus.server.runner.ServletTestRunner (cactus-1.7.jar) is in the server/default/lib directory. Can someone point us to a solution? The error message: 10:17:03,730 INFO [[/LightSpeedXmlWeb]] Marking servlet ServletTestRunner as unavailable 10:17:03,735 ERROR [[/LightSpeedXmlWeb]] Error loading WebappClassLoader^M delegate: false^M repositories:^M /WEB-INF/classes/^M --> Parent Classloader:^M [EMAIL PROTECTED] org.apache.cactus.server.runner.ServletTestRunner java.lang.ClassNotFoundException: org.apache.cactus.server.runner.ServletTestRunner at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1027) "adrianwilford" wrote : Hi all, | I am trying to upgrade my JBoss installation to 4.0.2, and I am having a problem because my app deploys fine on JBoss 4.0.2RC1, but when I try to deploy the same .ear file in the release version 4.0.2, I get the following Exception: | | 12:20:10,200 INFO [EARDeployer] Init J2EE application: file:/usr/local/bin/jboss-4.0.2/server/default/deploy/Gtor.ear | 12:20:17,658 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/local/bin/jboss-4.0.2/server/default/tmp/deploy/tmp39045Gtor.ear-contents/Gtor.war/ | 12:20:18,502 INFO [[/]] Marking servlet Gtor as unavailable | 12:20:18,503 ERROR [[/]] Error loading WebappClassLoader | delegate: false | repositories: | --> Parent Classloader: | [EMAIL PROTECTED] | ui.servlets.GtorActionServlet | java.lang.ClassNotFoundException: ui.servlets.GtorActionServlet | | The app is just a servlet based web app, but I am bundling it with a web service each in separate .war files inside the .ear file. | I am also putting the jar files that the app is dependent on (this includes a jar file containing the servlet that JBoss can't find) into the root of the ear. | I am specifying all these dependent jar files in the META-INF/MANIFEST.MF file | my MANIFEST.MF file looks like this: | | Manifest-Version: 1.0 | Ant-Version: Apache Ant 1.5.4 | Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) | Class-Path: Gtor.jar activation.jar axis.jar cryptix32.jar jce.jar junit.jar mail.jar standard.jar struts.jar xercesImpl.jar xml-apis.jar xmlParserAPIs.jar xstream-1.1.jar | | The jar file containing the servlet is Gtor.jar. | | Does anyone have any idea why this works in 4.0.2RC1, but not in the release version 4.0.2? | | Any help appreciated! | | Thanks, | Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885065#3885065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885065 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop getKeys returns null for filled cache
Interesting. I would have expected the API to throw a warning or error in this case as I can actually put things in the cache and remove them from the cache without issue. Right now all I want to do is put things in it and get the list of things that are in it. I wasn't expecting to have to either annotate or specify things in the XML file since the object is introspectable and serializable. But if that's how it works, I'll give it a shot and see if I get keys back. The expected behavior would have been that if it couldn't get the keys back due to API use, it shouldn't have inserted the object in the cache at all. No point having everything else work except getKeys(). Somewhat counter-intuitive. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885063#3885063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885063 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Jboss client hang in QueueConnection.start() - IOExcepti
"genman" wrote : | It looks the "wait" are for messages to arrive off the receive queue. Perhaps the server isn't seeing the client response message? Do you know if your client is active. These are client stack traces. The client is hung in the main thread calling start(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885062#3885062 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885062 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss 4.0.2 response time
Hi, I'm running jboss4.0.2 + jdk1.5.0_03. sometimes when I hot deploy, it does not deploy and I've to go to the console and hit spacebar to activate the server and then it deploys the stuff. why is this? I've also noticed the same thing happening with some of my applications deployed to the server which is very severe. When users complain that the website is not working, I go to the console and hit spacebar and it starts working again. How can I solve this issue? Thanks Srikrishna Kalavacharla View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885061#3885061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885061 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Jboss generates a non valid Query in findByPrimaryKeyMethod
I'm writting a very simple CMP EJB. The query of the method findByPrimaryKey that Jboss is generating is wrong. 11:19:31,093 DEBUG [Usuarios#findByPrimaryKey] Executing SQL: SELECT FROM Usuarios t0_Usuarios WHERE 11:19:31,093 ERROR [Usuarios#findByPrimaryKey] Find failed java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Incorrect syntax near the keyword 'FROM'. Where may be the problem?? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885059#3885059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885059 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Duplicate (ghost) forms
Hello, Has anyone come across mysterious ghost forms: sometimes after hot re-deploy forms that are the only content in a jsp page are duplicated. That is, if a jsp page only contains a form, this form is printed twice. It does not happen all the time, but quite often. I'm using Struts 1.2.4 and JBoss 4.0.1RS1. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885058#3885058 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885058 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jboss.xml seems to be ignored in EJB 3?
It's definitely being ignored. The logs are producing: 09:02:49,646 INFO [ProxyDeployer] no declared remote bindings 09:02:49,646 INFO [ProxyDeployer] there is remote interfaces 09:02:49,646 INFO [ProxyDeployer] default remote binding has jndiName of com.mycompany.util.Proxy So I'm left with the question: is this a bug or user error? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885057#3885057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885057 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop getKeys returns null for filled cache
You are not using the CacheAop correctly. If you want fine grain replication, you don't need Serializable for your Rectangle object. Instead, use either annotation or declare it in jboss-aop.xml. Please theck the TreeCacheAop doco for how to. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885056#3885056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885056 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - log4j and JMS appender
I'm trying to use the JMS appender for log4j. I get an error when starting the log4j: log4j error: Error while activating options for appender named [JMS]. javax.naming.NameNotFoundException: ConnectionFactory not bound After startup all appenders work except the JMS appender. If I change the log4j.xml and hot deploy the JMS appender works. I suspect that its trying to start up the topic but since that part of JBoss hasn't been started yet, its throwing an error. After a little googling I found a recommendation to make the log4j service dependent on other services so that it loads last, after the required services have started. My question is if this is a good solution and if so, how to implement it. I'm not familiar with making services dependent on others so actual code would be helpful and appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885055#3885055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885055 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Timeout problem in TreeCache
What is the hibernate version that you are running? You will need the latest Hibernate 3 that has a fix to this problem. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885054#3885054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885054 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Different behaviour of TreeCache when using DummyTM and
Skipy, Can you turn on the logging to see if the transaction is rolled back in the JOTM case. BTW, if it works, would you like to contribute the Lookup class for JOTM? -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885053#3885053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885053 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Login Filter
where did you apply the filter ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885051#3885051 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885051 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Setting up a my-yahoo kind of layout
I am also trying to create a horizontal tab menu. Is there an API to find out what is the current page name? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885050#3885050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885050 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Oracle DDL for JBossMQ Jms Tables
I seem to getting the same problem with using Oracle with JMS. My execption is MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.ejb:persistencePolicy=database,service=EJBTimerService jboss:service=Ebxmlrr jboss:service=KeyGeneratorFactory,type=HiLo which seems most likely because of the table HILO. Could somebody tell me how to work around this? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885049#3885049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885049 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Login Filter
Thanks a lot for the information. I will certainly take a look of Tomcat valve. Just out of curiosity, do you have any ideas why the doFilter() is never called in my experimental case? I may need to use filter someday, not necessary for SSO. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885048#3885048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885048 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farm deployment
Thanks. Will try 4.0.3rc1. Test case is pretty simple, since - if you repeat it long enough - you can reproduce this bug with ordinary datasource xml files in farm/ directory. Sometimes xml ds file is removed on second server instead of redeployed - so it's probably a different case than fixed one (Farm deployment shouldn't read entire archive file into memory). Will try 4.0.3rc1 and report a bug if it's not fixed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885047#3885047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885047 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Remote messaging fails with EXCEPTION_ACCESS_VIOLATION
I have two JBosses running on two machines. They are configured in way one uses messaging on other machine (no application is running there). After some time of running at least one of JBosses fails. This failure also happens nearly every time I stop JBoss with runnnig application by pressing CTR+C. | An unexpected exception has been detected in native code outside the VM. | Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at PC=0x77F | 85C41 | Function=RtlpWaitForCriticalSection+0x60 | Library=C:\WINNT\System32\ntdll.dll | | Current Java thread: | at java.net.SocketInputStream.socketRead0(Native Method) | at java.net.SocketInputStream.read(SocketInputStream.java:129) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) | at java.io.BufferedInputStream.read(BufferedInputStream.java:201) | - locked <0x11c341d8> (a org.jboss.util.stream.NotifyingBufferedInputStr | eam) | at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBuff | eredInputStream.java:67) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java | :2133) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object | InputStream.java:2313) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre | am.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream | .java:2452) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt | ream.java:2601) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:28 | 1) | at java.lang.Thread.run(Thread.java:534) | | Dynamic libraries: | 0x0040 - 0x00406000 c:\win32app\java\j2sdk1.4.2\bin\java.exe | 0x77F8 - 0x77FFB000 C:\WINNT\System32\ntdll.dll | 0x77DB - 0x77E0D000 C:\WINNT\system32\ADVAPI32.dll | 0x77E8 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL | 0x77D3 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL | 0x7800 - 0x78046000 C:\WINNT\system32\MSVCRT.dll | 0x002D - 0x002F1000 C:\Program Files\Webroot\Spy Sweeper\sis.dll | 0x77E1 - 0x77E75000 C:\WINNT\system32\user32.dll | 0x77F4 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL | 0x779B - 0x77A4B000 C:\WINNT\system32\oleaut32.dll | 0x77A5 - 0x77B45000 C:\WINNT\system32\ole32.dll | 0x0800 - 0x08136000 c:\win32app\java\j2sdk1.4.2\jre\bin\client\jvm.d | ll | 0x7757 - 0x775A C:\WINNT\System32\WINMM.dll | 0x6BD0 - 0x6BD0D000 C:\WINNT\System32\SYNCOR11.DLL | 0x1000 - 0x10007000 c:\win32app\java\j2sdk1.4.2\jre\bin\hpi.dll | 0x00D5 - 0x00D5E000 c:\win32app\java\j2sdk1.4.2\jre\bin\verify.dll | 0x00D6 - 0x00D78000 c:\win32app\java\j2sdk1.4.2\jre\bin\java.dll | 0x00D8 - 0x00D8D000 c:\win32app\java\j2sdk1.4.2\jre\bin\zip.dll | 0x184B - 0x184BF000 C:\win32app\java\j2sdk1.4.2\jre\bin\net.dll | 0x7503 - 0x75043000 C:\WINNT\System32\WS2_32.dll | 0x7502 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL | 0x782C - 0x782CC000 C:\WINNT\System32\rnr20.dll | 0x7798 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL | 0x7505 - 0x75058000 C:\WINNT\System32\WSOCK32.DLL | 0x7734 - 0x77353000 C:\WINNT\System32\iphlpapi.dll | 0x7752 - 0x77525000 C:\WINNT\System32\ICMP.DLL | 0x7732 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL | 0x7515 - 0x7516 C:\WINNT\System32\SAMLIB.DLL | 0x7517 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL | 0x77BE - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL | 0x751C - 0x751C6000 C:\WINNT\System32\NETRAP.DLL | 0x7795 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL | 0x773B - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL | 0x7738 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL | 0x7783 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL | 0x7788 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL | 0x77C1 - 0x77C6E000 C:\WINNT\System32\USERENV.DLL | 0x774E - 0x77512000 C:\WINNT\System32\RASAPI32.DLL | 0x774C - 0x774D1000 C:\WINNT\System32\RASMAN.DLL | 0x7753 - 0x77552000 C:\WINNT\System32\TAPI32.DLL | 0x7171 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL | 0x70BD - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL | 0x7736 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL | 0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll | 0x777F - 0x777F5000 C:\WINNT\System32\rasadhlp.dll | 0x20B0 - 0x20B3F000
[JBoss-user] [HTTPD, Servlets & JSP] - Getting the Port number from a web app...
Hi All! I need to get the http port on which Tomcat is listening from within my web application. I cannot use the calling URL because I'm behind a load balancer and I can't relay on the URL information. How can I get the port number? Thank you Federico View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885044#3885044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885044 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - maintenance of a web site
Hi; I would like to realize a procedure of rebuilding of a web site (J2ee application) at the time of phase of maintenance (updated of the database). Have you any idea for that ? I must to use a filter servlet for locking all pages, two database in clustering for the update, etc ... How the official site realize this maintenance processus (for example Sun site). Regards; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885042#3885042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885042 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Static deployment
Thank you, I am aware of this guide. But my task is to deploy my application statically. I put my jar-s into lib folder and I am looking for a way to register my beans withing server configuration. So my application will be loaded togeter with a server without using a deployer at all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885041#3885041 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885041 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - WARN [org.jboss.jbossweb] WARNING: No thread for Socket
We have a setup with tomcat as web server and jboss as appserver. We are facing with problem of "low threads" at jboss end. All this is backed by pool of jboss and tomcat servers supported by loadbalancer. Going through jboss logs we get following messages - 2005-06-09 08:36:28,379 WARN [org.jboss.jbossweb] WARNING: No thread for Socket[addr=/122.128.12.20,port=11204,localport=8081] 2005-06-09 08:37:06,049 WARN [org.jboss.jbossweb] WARNING: No thread for Socket[addr=/122.128.12.21,port=37367,localport=8081] Consequently we are getting following message in tomcat logs. I believe its due to unavailabilty of jboss for taking more requests from tomcat. 2005-06-09 09:01:19 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.NullPointerException at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:164) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) It would be great help if someone can provide us with details to get out of this problem. Is it due to some application erros or some problem with jboss/tomcat? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885037#3885037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885037 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: UDP WARN Messages
I am new to JBoss, I am getting a similar error, I was getting this all of a sudden, surprisingly I get this behind a firewall. Is this a security risk? I checked the domain address of the computers and none seem to be matching this IP. I am using jboss401 sp1. I need help. thanks Suresh 9:48:45,726 WARN [UDP] packet from /172.25.22.67:45566 has different version ( 220) from ours (0227). This may cause problems 9:48:45,726 WARN [UDP] discarded message from different group (). Sender was W TCHDOG-SERVER:2103 9:48:46,618 WARN [UDP] packet from /172.25.22.67:45566 has different version ( 220) from ours (0227). This may cause problems 9:48:46,618 WARN [UDP] discarded message from different group (). Sender was W TCHDOG-SERVER:2111 (additional data: 17 bytes) 9:48:47,739 WARN [UDP] packet from /172.25.22.67:45566 has different version ( 220) from ours (0227). This may cause problems 9:48:47,749 WARN [UDP] discarded message from different group (). Sender was W TCHDOG-SERVER:2084 (additional data: 17 bytes) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885036#3885036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885036 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farm deployment
Could you download JBoss 4.0.3rc1 from http://www.jboss.org/products/jbossas/downloads and try to recreate the problem? If the problem is solved with the farm deployment changes in 4.0.3, great! If not, write back and let me know. The next step would be to create a bug report (using JIRA Issue Tracking) and supply a test case so we can reproduce it. If we move fast enough, perhaps we can have a fix in 4.0.3 (will lock down soon). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885035#3885035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885035 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - jboss 3.2.4 conversion
hi yes I know this is an old version - I'm trying to update this company to 4.0.X. I have a war file containing jsp pages, ths deploys and runs perfectly under 3.2.3 (embedded Tomcat 4.1) . When I deploy it under 3.2.4 (embedded Tomcat 5.0) the banner pages are mangled by Tomcat (it repeats the banner twice then aborts the splash page). I have similar issues getting Webdav wars that work fine under 3.2.3 to work under 3.2.4 - (I had similar probems with running them in 4.0 and 3.2.6 so started walking up the version tree instead) I have found some references in web articles to the server.xml being different between these two versions of Tomcat but cant find a server.xml in 3.2.3 and so suspect that this article refers to the stnadalong version of Tomcat rather than the embedded version. Does anyone have any guidance or useful links to converting 3.2.3 apps to 3.2.4 ? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885032#3885032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885032 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: jboss 3.2.4 conversion
"stnadalong" shold say "stand-alone". Doh. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885034#3885034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885034 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Different behaviour of TreeCache when using DummyTM and Obje
I have a problem with TreeCache on the following use case: 1. Starting transaction on two cluster nodes 2. Putting the same value(s) into cache on both nodes 3. Trying to commit on one node - having exception (that should be so) So, the problem is the following. * When I use DummyTransactionManager, inserted values are removed from the cache because of exception. Thus, commit on the second node is successfull. * When I use Transaction managed from JOTM (2.0.10), inserted values are NOT removed from the cache. Thus, commit on the second node fails. How I use JOTM: 1. I use TM as a local, not bound to JNDI, I've create singleton TMService holder. 2. I've create TransactionManagerLookup implementation, which return TM from singleton TMService holder. This is required for TreeCache, as far as I understand. I've place TransactionManagerLookupClass attribute into config file with my implementation class' name as a value. 3. I use singleton TMService holder to obtain UserTransaction from TMService. I use this UserTransaction to work with transactions. If I miss some steps on TreeCache registration with transaction manager? Regards, Eugene aka Skipy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885033#3885033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885033 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - navigation - links to home page
Once inside a portlet, for eg, Admin or any custom portlet, there seems be no Menu/link to go to other portlets or the home page. This makes us use the browser back many times... Can we have the Menu box (which has links to diff portlets) always in or atleast a link to the home page. which source is to be changed for that ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885030#3885030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885030 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Problem in web.xml file
Doh ! i meant you forgot the tag but this one is stripped on the forum View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885027#3885027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885027 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Problem in web.xml file
You forgot the tag around | ListenerTester | com.example.ListenerTester | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885026#3885026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885026 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Acessing a JSP from another JSP
use the portlet to create render or action URLs that point back to this portlet. (renderResponse.createActionURL()). The URL can accomodate a parameter that indicates what jsp to delegate to (renderURL.setParameter("jsp", "jsp1") You can then set the stringified version of these URLs as request attributes, and request dispatch to a jsp . the jsp in turn can get the URLs back from the request attribute(s) and fill them in as the form action or a href View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885024#3885024 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885024 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow
Yes, everything was in an ear. I did as you suggested and it works fine. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885023#3885023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885023 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Static deployment
I am unaware of a guide that shows how to add EJB support to the minimal configuration. The following however covers removing the services that you do not require in the default configuration: - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming Also you could look at using the installer with JBoss 4.0.3 to select the services you want installed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885022#3885022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885022 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Problem in web.xml file
Which version of JBoss are you trying this with? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885021#3885021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885021 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: 4.0.2 + Hibernate Startup Problem
The Hibernate 3 migration guide can be found at: - http://www.hibernate.org/250.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885020#3885020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885020 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss
"apinto" wrote : "acardeiradias" wrote : Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? | | | | Thanks in advance. | | http://www.huihoo.com/jboss/online_manual/3.0/ch13s58.html | | - implement the Schedulable interface; | - create jboss-service.xml; | - deploy. | | Arménio Pinto I saw that link before write this post. The problem is that this Link don't work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885019#3885019 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885019 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Lookup of Session Bean from MBean at server startup
The naming service is started when JBoss is started, not when a bean is deployed. http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanAnMBeanDependOnASessionBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885018#3885018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885018 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Problem in deployment
Can you execute the command: - jar -tf EarName.ear The purpose of this is to check that your META-INF folder name is in upper case and to make sure it contains the expected file. And then take your question with the output from above to the Beginners Corner forum. This forum is for discussing the Advanced JBoss documentation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885017#3885017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885017 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: 4.0.2 + Hibernate Startup Problem
Hi. I guess you've probably sorted this for now, but for other viewers: I was having a similar problem, and found that changing this: net.sf.hibernate.dialect.MySQLDialect to this: org.hibernate.dialect.MySQLDialect --> worked. took me 3 damn days... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885016#3885016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885016 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Problem in deployment
Sir, Actually we developed the application in Oracle 9i Jdeveloper and after that we migrated to jboss for deployment , i build the application using ant...and created , jar,war and ear but when i deployed the ear File it is throwing the exception as follows. I have my Application.xml in META-INF Folder only Pls anybody give me the solution org.jboss.deployment.DeploymentException: No META-INF/application.xml found at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:728) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:663) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:168) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:303) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:477) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A bstractDeploymentScanner.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 92) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:168) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:828) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:360) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:168) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620) 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:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:74) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:168) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) at org.jboss.Main.boot(
[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow
Sorry, forgot to mention the contents of application.xml in the previous post: Make an entry as follows: | MyBeans_ejb.jar | | And create a jar file MyBeans.jar containing the interfaces and beans View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885011#3885011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885011 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow
Have you packaged the jar and war together in an ear? Just don't add the interfaces jar to the web application. If the beans are deployed within the ear of the war the interfaces will be available at runtime anyway. The section in the tutorial that shows how to do this probably needs to be removed now. The problem is when they are packaged twice is that they get loaded by two different classloaders which makes them look as if they are different. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885009#3885009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885009 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Starting failed jboss:service=Naming java.lang.ClassCast
Hi Bruno, I am having a similar problem. Have you found the solution yet? If so, would you mind sharing it?... Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885008#3885008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885008 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow
Place the beans in a jar file, say MyBeans_ejb.jar, and mention this in the application.xml file as follows: MyBeans_ejb.jar I think this should work View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885007#3885007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885007 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Lookup of Session Bean from MBean at server startup
Hi, I need a startup class, in Jboss 3.2.3, in which i would be invoking a session bean. For this i have created a MBean which gets called at server startup. In this MBean, i do a session bean lookup, which FAILS because the bean isnt yet bound. I tried specifying the depends attribute in the MBean declaration, stating the my MBean depends on NamingService. Even this did not work. Is there any way, i can do invocation of a session bean from MBean at server startup? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885005#3885005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885005 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow
Thanks for responding. I'm using JBoss 4.0.2. Yes, the interfaces are in the war file, in a jar under WEB-INF/lib. This was the suggested way to do it in the JBossIDE tutorial. How would you suggest I package them? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885004#3885004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885004 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: sh build.sh deploy
you obviously have a problem with encoding, try to get the files from the CVS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885003#3885003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885003 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Deploying webapps outside jboss deploy/ dir
You can have your custom jboss server deployment completely outside jboss server. The configuration described here works for JBoss 4.0.1SP1 Try to set following parameter in start script in java command to start jboss Copy your jboss-service.xml to some folder say c:/foo and have complete server deployment directory structure underneath it e.g. c:/foo/config/jboss-service.xml | |_ deploy | |_... Edit jboss-service.xml and search for Modify URL attribute as follow deploy/, file:/${custom.deploy.folder}/deploy Now in start script run.bat /run.sh in java command for org.jboss.Main, 1. Give program argument as full path to jboss-service.xml file -Djboss.server.root.deployment.filename=c:/foo/config/jboss-service.xml 2. Define your custom.deploy.folder as VM argument -Dcustom.deploy.folder="" I hope this helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885002#3885002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885002 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: sh build.sh deploy
Hi , i have resolved above errors ; now there are another errors : [EMAIL PROTECTED] build]# sh build.sh deploy : command not foundss-portal-2.0-src/tools/bin/build.sh: line 7: : command not foundss-portal-2.0-src/tools/bin/build.sh: line 9: /Projects/jboss/jboss-portal-2.0-src/tools/bin/build.sh: /Projects/jboss/jboss-p ortal-2.0-src/tools/bin/common.shlib: line 11: syntax error near unexpected toke ' `{ /Projects/jboss/jboss-portal-2.0-src/tools/bin/build.sh: /Projects/jboss/jboss-p 'rtal-2.0-src/tools/bin/common.shlib: line 11: `{ xset: unknown option JVM_MS=32m usage: xset [-display host:dpy] option ... To turn bell off: -bb off b 0 To set bell volume, pitch and duration: b [vol [pitch [dur]]] b on To disable bug compatibility mode: -bc To enable bug compatibility mode: bc To turn keyclick off: -cc off c 0 To set keyclick volume: c [0-100]c on To control Energy Star (DPMS) features: -dpms Energy Star features off +dpms Energy Star features on dpms [standby [suspend [off]]] force standby force suspend force off force on (also implicitly enables DPMS features) a timeout value of zero disables the mode To control font cache: fc [hi-mark [low-mark [balance]]] both mark values spcecified in KB balance value spcecified in percent (10 - 90) Show font cache statistics: fc s To set the font path: fp= path[,path...] To restore the default font path: fp default To have the server reread font databases: fp rehash To remove elements from font path: -fp path[,path...] fp- path[,path...] To prepend or append elements to font path: +fp path[,path...] fp+ path[,path...] To set LED states off or on: -led [1-32] led off led [1-32] led on To set mouse acceleration and threshold: m [acc_mult[/acc_div] [thr]]m default To set pixel colors: p pixel_value color_name To turn auto-repeat off or on: -r [keycode]r off r [keycode]r on r rate [delay [rate]] For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For status information: q xset: unknown option JVM_MX=640m usage: xset [-display host:dpy] option ... To turn bell off: -bb off b 0 To set bell volume, pitch and duration: b [vol [pitch [dur]]] b on To disable bug compatibility mode: -bc To enable bug compatibility mode: bc To turn keyclick off: -cc off c 0 To set keyclick volume: c [0-100]c on To control Energy Star (DPMS) features: -dpms Energy Star features off +dpms Energy Star features on dpms [standby [suspend [off]]] force standby force suspend force off force on (also implicitly enables DPMS features) a timeout value of zero disables the mode To control font cache: fc [hi-mark [low-mark [balance]]] both mark values spcecified in KB balance value spcecified in percent (10 - 90) Show font cache statistics: fc s To set the font path: fp= path[,path...] To restore the default font path: fp default To have the server reread font databases: fp rehash To remove elements from font path: -fp path[,path...] fp- path[,path...] To prepend or append elements to font path: +fp path[,path...] fp+ path[,path...] To set LED states off or on: -led [1-32] led off led [1-32] led on To set mouse acceleration and threshold: m [acc_mult[/acc_div] [thr]]m default To set pixel colors: p pixel_value color_name To turn auto-repeat off or on: -r [keycode]r off r [keycode]r on r rate [delay [rate]] For screen-saver control: s [timeout [cycle]] s defaults on s blank s noblanks off s expose s noexpose s activate s reset For status information: q /Projects/jboss/jboss-portal-2.0-src/tools/bin/build.sh: line 38: check_os: comm and not found /Projects/jboss/jboss-portal-2.0-src/tools/bin/build.sh: line 1: convertpath: co mmand not found /Projects/jboss/jboss-portal-2.0-src/tools/bin/build.sh: line 1: convertpath: co mmand not found /Projects/jboss/jboss-portal-2
[JBoss-user] [Installation & Configuration] - Re: My Project is not a J2EE Structure but i want to run wit
Do not cross post, I have answered you in the beginners corner. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884999#3884999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884999 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss
"acardeiradias" wrote : Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? | | Thanks in advance. http://www.huihoo.com/jboss/online_manual/3.0/ch13s58.html - implement the Schedulable interface; - create jboss-service.xml; - deploy. Arménio Pinto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885000#3885000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885000 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Who know about it Please Answer Me
Do not cross post, I have answered you in the beginners corner. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884998#3884998 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884998 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please Answer me
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossInstallation After starting JBoss (assuming you pass no arguments to the run script) put the war file in {jboss.home}/server/default/deploy. JBoss will deploy the archive automatically. If the was is called 'MyWebApp.war' your web app will be available to http://localhost:8080/MyWebApp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884997#3884997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884997 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Problem in web.xml file
Hi all, I was trying to deploy my webapp. I am getting this error: Parser Error at line 5 col 16 Document root element "web-app", must match DOCTYPE root "null" My web.xml file is as follows: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> ListenerTester com.example.ListenerTester ListenerTester /ListenTest.do breed Great Buddy com.example.MyServletContextListener I am not sure what is the error with this. Can somebody help me out. Thanks Balaji View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884996#3884996 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884996 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - sh build.sh deploy
Hi , i build jboss portal from source code on fedora2.6.1 ; there are some errors below : [EMAIL PROTECTED] build]# sh build.sh deploy build.sh: line 1: cd: ./../tools: No such file or directory build.sh: *ERROR* The target executable does not exist: build.sh: build.sh:/bin/build.sh build.sh: build.sh: Please make sure you have checked out the 'tools' module build.sh: and make sure it is up to date. please help me to resolve these errors Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884995#3884995 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884995 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get ssl redirection to work properly
No I don´t have a form login in this webapp. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884992#3884992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884992 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - ClassCastException on redeployment of Jar files
My situation is as follows : I use an MBean service which contains a HashTable (which is bound to a specific JNDI Name) to hold a bunch of Objects inside JBoss , in order for them to be persistent, i.e. to exist inside the JVM as long as JBoss is running. I then manipulate the objects and execute methods on the server using a simple EJB wrapper around all the methods, and then calling them from a client. This is a rapic protoyping scenario, hence I am constantly redeploying the classes (using a Jar file), the objects of which I hold in the Hashtable. I usually delete the reference of any object of a class that i am redeploying from the Hashtable. But sometimes when I redeploy the classes(as a jar file) and try to instantiate an object, I get a ClassCastException. Please explain to me what the problem could be and how I can go about solving this issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884990#3884990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884990 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: examples
Hi guys, I'm just giving you some news of my HelloWorldPortlet: I succeeded in calling the servlet file from my portlet, but the problem was that the redirection to my jsp didn't work, i didn't know why... I have resolved this problem in putting into the portlet file the parameters of my servlet that i want to see through the jsp page. Now, it's my portlet that is calling the jsp file and that is giving to it the parameters that i need. Now i's time to try something harder than the HelloWorldPortlet. I thank everyone for the assistance and advice. Flo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884989#3884989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884989 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Failed portal service Hibernate error
Hi, U just stop the application server.And start ur SQLServer.Then again restart the application server.It may work.Bcoz, even I faced the same problem but once I did as above.My portal was working fine.Even if it dint work then restart your system. bye... brp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884987#3884987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884987 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Scheduler Jboss
Hello, I have a problem with the scheduler. I saw some examples but nothing to much clear. I have a stateless session bean. And i want to call one business method of this session bean every five minutes. How could i do that? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884986#3884986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884986 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - My Project is not a J2EE Structure but i want to run with JB
My Project is not a J2EE Structure but i want to run with JBoss. My Project is a Web Mobule(.war) that include jsp + java bean + servlet Please Tell me how to run my project with JBoss.Please Help Me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884985#3884985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884985 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Who know about it Please Answer Me
My Project is not a J2EE Structure but i want to run with JBoss. My Project is a Web Mobule(.war) that include jsp + java bean + servlet Please Tell me how to run my project with JBoss.Please Help Me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884984#3884984 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884984 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Please Answer me
My Project is not a J2EE Structure but i want to run with JBoss. My Project is a Web Mobule(.war) that include jsp + java bean + servlet Please Tell me how to run my project with JBoss.Please Help Me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884983#3884983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884983 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farm deployment
Seems to be a bug. We also encountered this behavior in the past and disabled farming within the production environment. With farming - although convenient - you 'loose' much control during deployment, which is essential for a production plattform (especially if there are some unexpected problems during the deployment of a new component) Regards Ulf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884982#3884982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884982 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - farm deployment
We have a JBoss cluster running on two machines with all configuration (only partition name was modified). We have one EJB jar (with multiple stateless EJB inside) deployed in farm/ directory and everything is working fine except for farm deployment: sometimes if we copy the ejb jar to farm directory on server one, instead of redeploying this jar to server two, server two receives only (from log): doUndeployment(), File: farm/MobilePackage.jar and the (old) jar file on server two is deleted. This happens probably in 20% of deployments, other times farmDeployment() is received and ejb is redeployed to both servers. Any ideas why this is happening? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884981#3884981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884981 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source
Hi Got the Duke Bank up and running okay! My problem was editing correctly the hsqldb-ds.xml following the guide in section 4.1.7.1. The text is okay, but read it carefully and do what it says. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884980#3884980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884980 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Array wrapping a MUST when using rpc/lit ?
I think I found out by myself: If you use (unwrapped!) String[], Object[], ... as parameters or return values in the ws-methods of your SEI, and use wscompile to generate the wsdl, the following happens: new complextypes ("StringArray", "NameofObjectArray") with special namespaces (e.g. "http://arrays/java/lang";) are defined in the wsdl, and the corresponding messages use these types. In the generated jaxrpc-mapping.xml, these new namespaces are mapped to java-package-names (e.g. ._arrays.java.lang). These packages don't exist, and the wrapper classes (StringArray.java) also don't exist, their names were simply added to the wsdl - you get a warning when starting the server: [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://arrays/java/lang}StringArray Now, it looks like if these "invented" array-wrappers can't be found at runtime, jboss takes the rpc/enc-style to (de)serialize the arrays. If you use jboss on server & client side: no problem, because both sides do the same and understand each other ;-) But the SOAP-message of course is not strict rpc/lit, because the arrays are rpc/enc. Dirty solution: You can retrieve the wrappers by using wscompile. Then create the right packages / directory-structure looking at the wsdl & jaxrpc-mapping.xml for them. (I did not have insert type-mappings in the jaxrpc-mapping by hand to get everything running, but if you want to be on the safe side...). Better solution: Right from the start, define a wrapper-class for every bare array you want to use, and use this wrapper class as input or return parameter instead of the original array. Hoping not to cause too much confusion... Florian Pitschi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884978#3884978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884978 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user