[jboss-user] [JBoss Tools (users)] - Re: How does -test project reference dependent libraries?
I think that Eclipse knows about more stuff than what is in META-INF. I think it has some metadata elsewhere that tells it about dependencies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138461#4138461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi
Hello, i just ran into this with jdk1.5.0_14 but i am using JBoss Tools 2.0.0GA right now. The only way to solve this, was to specify -vm C:\Programme\Java\jdk1.5.0_14\bin when starting eclipse:-( The problem is not very obvious because the popped up dialog box only says IBM437 Is there a solution for this, now? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138466#4138466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi
Just tried 2.0.1GA If eclipse is not started with a jdk(default under windows) this error is shown. An internal error occurred during: Build Archive Node. IBM437 The solution is to use an jdk when starting eclipse. Can the error messages tweaked to something obvious? E.g. Char set not found, please try to start eclipse with an JDK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138467#4138467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ServiceLifecycle troubles
It may sounds a bit late now, but that was really usefull mate ! Thanks for posting your solution. J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138471#4138471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: access deployed sun portlet on jboss portal
I did a small how-to using Java Studio Creator and posted it on the Java Studio Creator forums: http://forum.java.sun.com/thread.jspa?forumID=881threadID=5214100 which may help a bit as it took me a while to figure out the XML configs. Bear in mind, I've only made it work with v2.4 not v2.6. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138472#4138472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss5 and Portal
gt4431b wrote : | 1. (More relevant to the problem at hand) How much pain and suffering would I be in for if I were to try installing the latest Portal onto JBoss 5? I can find no information one way or the other. I realize I could try to beat my head against this for a while to find out for sure, but I'd love a short answer. | It wouldn't work right now as many of the services Portal depends on are based on JBoss AS 4 JMX microkernel. Many if not all of these services work in a different way in AS 5 and a significant amount of work will be necessary to migrate Portal to work on AS 5's microcontainer. This work is currently planned as part of our initiative to make Portal application server agnostic but it will be some time before it's done. gt4431b wrote : | 2. (More rhetorical) Why doesn't JBoss use codenames for various releases? Go google Jboss5 portal and you will see everything in the world about page 5, chapter 5, subchapter 5, MySql 5, 5 o'clock, everything about JBoss portal except information about JBoss5. Ubuntu uses a great naming model -- Gutsy Gibbon for example eliminates all googlambiguity. | We do have code names (Portal 2.6 is called Ninja, JBoss AS 4.2 is called Trinity) but we don't use them publicly that much... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138473#4138473 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Hi Brian. Good question. Especially as statics and static initializers are routinely used in this project. So, I had to do some digging to answer this question. Turns out that ThinUserProxy only has 4 properties; int java.lang.String PrimaryKey (with two properties, both java.lang.String) javax.ejb.Handle (extends java.io.Serializable) I'm going to lean towards something happening with Classloaders during rollback, as after the first exception, can't even load the Node (that's what is goinig on in; com.hrnexus.web.SessionCache.getSession(SessionCache.java:133) I don't have the other stack traces handy right now, but any attempt to access anything, including java.lang. objects stored, all fail once this starts happening. I am not sure that this is a Jetty issue for the following reasons; 1) ThinUserProxy itself is in a library jar that all the other EJBs and Servlets depend on. It has full application visibility 2) Jetty is not directly access JCache -- only through hrnexus. Although, it is highly probably that JCache is accessing the Jetty Classloaders, if I understand your response correctly. I have never needed to sign up to the Jetty Support list before, so signing up there now. They might be able to provide additional insight. Some questions; - What's getting done to/in the classloader that is causing it to fail this spectacularly? Its almost like its been told to clear itself of all classes, and clear the parent classloaders as well. - How do you get a ClassCastException on a ClassNotFoundException? (Seeing this one quite a bit) Regards, Steve View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138474#4138474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ava.lang.ClassCastException: java.lang.ClassNotFoundExce
Greetings. Forgot a question; What can I do to make these errors stop happening? -Steve View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138475#4138475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal - Application Server, Specifications, Key featu
Hi all, I'm new to Portal/Portlets and currently preparing a quick (30 min) presentation of JBoss Portal. Therefore I've got a few general questions: Application Server Does JBoss Portal support any other Application Server than JBoss AS? Specifications and standards A full J2EE 1.4 compliance when used with JBoss AS is quoted in the documentation - but which JEE5 standards are supported with JBoss Portal? What about: - EJB 3.0? - JPA? - JSP 2.1/Servlet 2.5? - JSF 1.2? Key features There's a really big list of features in the documentation - but what are (in your opinion) the key features of JBoss Portal? Live demo I'm thinking about a short live demo (5 - 10 min) during my presentation. Do you know any cool feature of JBoss Portal to show within 5 - 10 minutes? Thanks a lot!! altes-kind View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138476#4138476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployng war file: Using InvokerServlet in JBoss 4.2.2
If I were to change the web.xml to map each servlet individually, I would have to change the deployment process and design a new implementation strategy for my team. Hence, we will probaly use the invoker for the time being. I am upgrading an internal application to benefit from the new version of JBoss. Would you consider it a lesser evil setting the privileged attribute in a context.xml in the WEB-INF folder of the web application rather than in the context of tomcat? Would this not restrict the privileged setting to the context fo the wed applicaiton? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138477#4138477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB2's and EJB3's in the same container
Hi ya'll. I was wondering if anybody could answer me if it's possible to run jboss with EJB2's and EJB3's at the same time? Thanks in advance - Eivind Hognestad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138478#4138478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Calling methods in a children class from a parent class
I have a jboss installation with EJB2 where I have many different connections to telecom operators. All the connections have in common a method that have to be run to update a generic database table with some information. To run these methods from a generic/core place today, I have a session bean that ends with a generic name like ModulControllerServiceEJB in each of these projects or telcom operator connections. So I run a core method called i.e. processOperatorUpdate(Integer someVariable), and all the projects that have beans that ends with the name ModulControllerServiceEJB is checked for having this method, and if they do it is being called. This way I don't have to put a scheduler in each and every project to do the same core task. This processOperatorUpdate is put in a class that implements this core class, to force this method to exist in all projects like this. My question is, if this is the best way to solve a task like this, or if there is a more clever way to call a method in a children class. Also if anyone feels this is the wrong forum to ask this question, pleace advice. Thanks in advance - Eivind Hognestad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138479#4138479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Datasource not bound doing JPA outside of container
U can use ejb3unit framework or other good one for testing. No JNDI can be accessed uness u have a container. U can try set everything in persistence properties instead of providing JNDI data source name for creating EMF. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138480#4138480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Hudson on JBoss5 beta4
Duh, I should have mentioned -- the server root context, jmx console etc. all comes up okay. There is no hudson war deployed, or findable. This is definitely a broken configuration somehow. I tried your suggestion, with removing all hudson paraphenalia, stopping, starting, and redeploying hudson.war into the deploy of the running server, with the same results as yesterday. It looks a little different from the one I posted yesterday, but the difference is because I posted a warfile rather than an unexploded war today. I will post the trace at the bottom. The message for deploying the war file itself is similar to the one I posted yesterday, but the severity is actually WARN (and yes, from server.log). See below for the exact trace I got when trying to deploy to an already running server. Also, given the error message Error opening jar file on the main hudson war (or jar, if I'm deploying the exploded version), this is not a minor read-and-ignore type error. Trace: 2008-03-23 22:08:06,359 DEBUG [org.jboss.virtual.plugins.context.file.FileSystemContext] Error opening jar file: file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war reason=Error opening jar file: jar:file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war!/WEB-INF/lib/hudson-core-1.200.jar reason=error in opening zip file 2008-03-23 22:08:06,372 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] Add deployment: vfsfile:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war 2008-03-23 22:08:06,374 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] Scan failed org.jboss.deployers.spi.DeploymentException: Error determining structure: hudson.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.vfs.plugins.structure.jar.JARStructure.determineStructure(JARStructure.java:152) at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:65) at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:194) at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:218) at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77) at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:743) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:280) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:237) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.IllegalStateException: File cannot contain children: [EMAIL PROTECTED] context=file:/opt/jboss-5.0.0.Beta4/server/default/deploy/ real=file:/opt/jboss-5.0.0.Beta4/server/default/deploy/hudson.war] at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:361) at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.addChildren(AbstractStructureDeployer.java:217) at org.jboss.deployers.vfs.spi.structure.helpers.AbstractStructureDeployer.addAllChildren(AbstractStructureDeployer.java:198) at org.jboss.deployers.vfs.plugins.structure.jar.JARStructure.determineStructure(JARStructure.java:143) ... 18 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138483#4138483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss + Hibernate + Datasource
Hi, I have set JBoss, bound a datasource for MySql. I have create the .har file and put all my stuff in the .ear. I got the Unable to find a JTA... error, and I found through this forum that I need to use the CMTTransactionFactory since I am in a Container Managed Transaction configuration. By default JBoss uses the JTA... but what I can't find is where this default setting can be modified, and is it possible to do it only for my .ear? Since there is no use of the hibernate.cfg.xml file, how can I do? Thanks. My configuration: jschr.har/META-INF/jboss-service.xml mbean code=org.jboss.hibernate.jmx.Hibernate | name=jboss.har:service=Hibernate | dependsjboss:service=TransactionManager/depends | attribute name=DatasourceNamejava:/JSCHRMySqlDS/attribute | attribute name=SessionFactoryNameSessionFactory/attribute | attribute name=Dialect | org.hibernate.dialect.MySQLInnoDBDialect | /attribute | attribute name=CacheProviderClass | org.hibernate.cache.HashtableCacheProvider | /attribute | /mbean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138485#4138485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Channel id map for node 21000 already contains binding for q
Hi, I am trying to start three different JBoss nodes in three different clusters. I have started first node successfully with the default value of the ServerPeerID=0. when i tried to start the second node, it failed because there was already one node with the ServerPeerID=0. With one of the discussions, i got the solution that, i need to change the ServerPeerID value to '${jboss.messaging.serverpeerid}' Same solution is not working when i start the third server. I have tried with the different integer values to the ServerPeerID, i have tried some 10-20 values. for each values its giving me the same error. 2008-03-24 10:47:22,663 DEBUG [org.jboss.jms.server.destination.QueueService] Starting jboss.messaging.destination:service=Queu e,name=testDistributedQueue 2008-03-24 10:47:22,668 ERROR [org.jboss.messaging.util.ExceptionUtil] Queue[null, name=testDistributedQueue] startService java.lang.IllegalStateException: Channel id map for node 21000 already contains binding for queue 16 at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBindingInMemory(MessagingPostOffice.java:2375) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.internalAddBinding(MessagingPostOffice.java:1863) at org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.addBinding(MessagingPostOffice.java:444) at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:110) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Do i need to change any other configuration values? Please help me. thanks in advance. Regards, Ambika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138487#4138487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user