[JBoss-user] [Clustering/JBoss] - jboss4.0.2 with jdk1.5
Hi , I have compiled jboss4.0.2 with jdk1.5.When starting the site i get following error. can you please help 2005-10-03 22:45:11,726 INFO - Using RMI server codebase: http://dev33.maa.collab.net:40466/ [org.jboss.web.WebService] [29312] [main] 2005-10-03 22:45:11,876 INFO - Started jndi bootstrap jnpPort=40566, rmiPort=40666, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] [org.jboss.naming.NamingService] [29462] [main] 2005-10-03 22:45:11,888 WARN - Context.PROVIDER_URL in server jndi.properties, url=localhost:40566 [org.jboss.naming.NamingService] [29474] [main] 2005-10-03 22:45:16,094 ERROR - Error reading descriptors [org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource] [33680] [main] java.lang.NullPointerException at org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:348) at org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:128) at org.apache.commons.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:121) at org.apache.commons.modeler.Registry.load(Registry.java:819) at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:719) at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047) at org.apache.commons.modeler.BaseModelMBean.initModelInfo(BaseModelMBean.java:1304) at org.apache.commons.modeler.BaseModelMBean.setModeledType(BaseModelMBean.java:1277) at org.apache.commons.modeler.BaseModelMBean.(BaseModelMBean.java:204) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1218) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:239) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:301) at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:337) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898864#3898864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898864 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JCA compliance to JCA Specification (1.5) Clarified
Greetings, This is just to clarify the situation. With the deploy of the JCA adapter JBoss is looking for the method [settemporaryWorkingDirectory] and not the normal [setTemporaryWorkingDirectory] It seems that JBoss is not looking for the correct method as per JavaBean specification but is useing the configuration name directly, as is. Kind Regards Jacques Buitendag View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898865#3898865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898865 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
Ok. So I'll start and post when I encounter difficulties. Best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898866#3898866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898866 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JBoss JMS status in JBossAS5.0: wrt out of memory problem
Hi, While testing Jboss mq performance without receiver in JBoss 4.0.0, the message throughput keeps detiriorating till I get out od memory exception. So I checked out the latest from cvs(jboss 5 alpha)and did a build. I have been testing the same sender and I did not yet encounter the problem of out of memory exception. But the message throughput still goes down with time. The performance is acceptable to my client if there is no exception. But I am not able to confirm if this is a fix. I tried the going through the AS project site but could not find anything that says about fixing this problem. Can someone confirm if the problem has been fixed. If this information is available on the JBoss site please let me know how to find it. Also I am not able to find the release schedule of Jboss as5.0 final. Regards Saurabh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898869#3898869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898869 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: null after lookup in jboss4.0.2
Hi, We also had encountered the same error as mentioned below. [Hibernate] Starting failed jboss.har:service=Hibernate java.lang.NullPointerException at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:595) at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:578) The error went away when we we did the following: 1. The har was put in jarred form( not in exploded form) 2. The meta-inf in the .har was put in all CAPS. It should be META-INF and not meta-inf Regards Manu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898876#3898876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898876 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - multiple WEB-INF directories in a .war file?
Hi, I need to know if its possible to have multiple WEB-INF directories, each with its own web.xml as part of a .war package? i.e a setup something like this: example.war: | | | example | | | |-WEB-INF/web.xml (empty) | | - classes | | - lib | | | |- dirA | | - WEB-INF/web.xml (with details) | | - jsps, gifs etc | |- dirB | | - WEB-INF/web.xml (with details) | | - jsps, gifs etc | |- dirC | | - WEB-INF/web.xml (with details) | | - jsps, gifs etc | |- dirD | | - WEB-INF/web.xml (with details) | | - jsps, gifs etc This way I don't need to combine all the web.xmls into a common one. 1) Is this a possibility? 2) Do I need to make any changes to any JBoss files to be able to read the individual web.xml files? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898880#3898880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898880 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Custom 404 page problems
Try request.getAttribute(javax.servlet.error.request_uri) Also look at all request attributes on 404 page, it is worth. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898882#3898882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898882 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Remote Notification Listener
I am trying to implement a remote notification listener. My MBean works ok, and i can access it remotely, but i want to add a listener to be notified on state changes. The code i have for the remote side is | MBeanServerConnection settingsServer = (MBeanServerConnection) ctx.lookup(jmx/invoker/RMIAdaptor); | ObjectName sServer = new ObjectName(flytxt:service=settings); | if (settingsServer.isRegistered(sServer)) { | String server = InetAddress.getLocalHost().getHostName(); | settings = (Document) settingsServer.invoke(sServer, getSettings, | new Object[] { ROOT/TRANSPORT/SERVER=+ server }, | new String[] { java.lang.String }); | ((RMIAdaptor)settingsServer).addNotificationListener(sServer, this, | new AllNotificationFilter(ROOT/TRANSPORT/SERVER), this); | The MBean itself is an EJB3 MBean, here is a snippit of the code | @Service(objectName = flytxt:service=settings) | public class Settings implements SettingsMBean , NotificationBroadcaster{ | private NotificationBroadcasterSupport broadcaster = new NotificationBroadcasterSupport(); | | public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) | throws IllegalArgumentException { | broadcaster.addNotificationListener(listener, filter, handback); | } | | public void removeNotificationListener(NotificationListener listener) | throws ListenerNotFoundException { | broadcaster.removeNotificationListener(listener); | } | | public MBeanNotificationInfo[] getNotificationInfo() { | return new MBeanNotificationInfo[] { new MBeanNotificationInfo( |new String[] { settings.server }, Notification.class |.getName(), Settings Notification) }; | } | | public void broadcast() { | broadcaster.sendNotification(new Notification(ROOT/TRANSPORT/SERVER, this, | notificationSequence++, settings updated)); | broadcaster.sendNotification(new Notification(STOP, this, | notificationSequence++, settings updated)); | } | } | when i run the code on the client side i get the following error | 08:25:10,189 INFO [STDOUT] javax.management.RuntimeOperationsException | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.addNotificationListener(MBeanServerImpl.java:724) | 08:25:10,189 INFO [STDOUT] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.addNotificationListener(InvokerAdaptorService.java:288) | 08:25:10,189 INFO [STDOUT] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:236) | 08:25:10,189 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 08:25:10,189 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 08:25:10,189 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 08:25:10,189 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | 08:25:10,189 INFO [STDOUT] at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:87) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | 08:25:10,189 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | 08:25:10,189 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164) | 08:25:10,189 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 08:25:10,189 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 08:25:10,189 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 08:25:10,189 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) | 08:25:10,189 INFO [STDOUT] at
[JBoss-user] [JBossCache] - Re: Refactoring out jgroups
We have a number of transports already which are part of different framworks. We are also contrained to use transports/frameworks in some projects which aren't ours and it's simply not possible to use JGroups (sorry) This is the reason why I originally started this topic, otherwise we would be quite happy to use JGroups. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898883#3898883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898883 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB and exceptions
Have a look at this thread: http://www.jboss.com/index.html?module=bbop=viewtopict=66700 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=389#389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=389 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to recover from rolled back transaction?
jaap wrote : but is there a way to tell the MDB it should not be resubmitted to the queue? You can set the redelivery limit on the queue. Have a look at: http://www.jboss.com/index.html?module=bbop=viewtopict=66700 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898890#3898890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898890 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Apache MyFaces 1.1.0 and 2.2.0-ALPHA don't work any more
Hi, I've just found the answer to the issue with a portlet name being appended to the friendly url. It turned out that the last URL part referencing a portlet should have been the name of a portlet instance rather than a portlet name itself. When I think about the change it seems very reasonable since there can be several instances of a portlet on a page and using the portlet name would not point to the portlet instance to render. I'm still having troubles with MyFaces and the latest 2.2.0-ALPHA, and no form input parameters are passed on. 10:35:09,756 WARN [HtmlRendererUtils] There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898892#3898892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898892 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB and exceptions
What is your message driven bean actually doing? The reason an exception from the message driven bean causes the message to be redelivered is because it causes the transaction to roll back. Are you calling other EJBs? If you are calling other EJBs in the same transaction any one of them could be rolling back the transaction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898894#3898894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898894 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: OpenCRX
Are there any errors further up the log? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898895#3898895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898895 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt
do you call context.setRollbackOnly() in case of a processing error ? this is the 'normal' way to force redelivery as acknowledgment is handled by the MDB container as part of the transaction handling. regards ulf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898898#3898898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898898 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to specify the number of messsages I need?
JMS message processing is message oriented, not batch oriented. Also do not expect a fixed message order, as this is not specified by the JMS specification. If you want to handle message batches than you have to implement the logic by yourself. regards ulf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898899#3898899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898899 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Microsoft?
Is partnering with Microsoft a good idea? There is a lot of negative press at the moment and I have to beg the question why Microsoft wants to partner with JBoss?? Microsoft is pushing .NET as their standard for enterprise level application servers yet they want to bolster a J2EE implementation which is in direct competition to .NET ... this sounds dubious and I think that you are treading on thin ice in taking this route ... All you had to do with the IBM issue is stick to what you know best and move with your product not bring in other big guns to try and bolster your position. I will be looking at other alternatives to JBoss because of the problems I can see coming your way!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898900#3898900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898900 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Fleury Article on Slashdot!
Hobbyist and professional opensource...get real! Alot of people used JBoss because it is a good J2EE server and because it was built with open source and people like that but calling people amateur when it was those 'amateur' people who wrote alot of the Jboss code shows arrogance and disrespect and it isn't going to do JBoss the company any favours! As soon as geronimo is released you are going to see alot of errosion in your profits unless this un-professional attitute towards professional developers is stopped. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898904#3898904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898904 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Will you continue to ignore my questions???
Because out of about 10 posts I think I have had one reply and one of my posts was deleted My problem is that I am using the Jboss Cache but I am setting it up in code and not using an xml config file directly...this is so I can dynamically create caches as and when needed. Now the problem I have is that when I shutdown a cache by stopping the service some resources are still left open in memory. When deleting a cache what methods should I call against the cache to completely free the resources??? Will I get a response to this question or do I have to pay someone a shit load of money for an answer??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898905#3898905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898905 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Hypersonic:Manual Database Table Creation:CreateException
Hi Guys, Sorry if this sounds a stupid question, but I am having problems with manual database table creation with Hypersonic and entity beans. I have a simple entity bean. I can ask Jboss to automatically create a table when the bean is deployed by defining this in my jbosscmp-jdbc.xml file: | jbosscmp-jdbc |defaults | datasourcejava:/DefaultDS/datasource | datasource-mappingHypersonic SQL/datasource-mapping | create-tabletrue/create-table |/defaults |enterprise-beans | entity | ejb-nameEntity1Bean/ejb-name | table-namePERSON/table-name | cmp-field | | And then I run my client to create a bean, all works fine and the entity is created in the database (checked using DatabaseManager). If I drop the table and create it using SQL (actually from ant) using the following sql code: | create text table person | ( | pid varchar not null primary key, | name varchar, | age integer | ); | commit; | | and change the jbosscmp-jdbc.xml entry: | | create-tablefalse/create-table | | | Then redeploy the app, all seems fine until I run the client. When the client calls the create() method, I get this: CreateException:Could not create entity:java.sql.SQLException: The table's data source for has not been defined in statement [INSERT INTO PERSON (pid, name, age) VALUES (?, ?, ?)] I have examined the table schema created by the sql file compared to that generated by jboss and they seem identical. Am I missing something here or do I need to configure something else ? Any help would be appreciated! Thanks, Clive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898906#3898906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898906 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Hypersonic:Manual Database Table Creation:CreateExceptio
Have you double checked if the case of the table name is having any affect on this? In the descriptor you have the table name as 'PERSON' but in your create statement it is 'person'. It is a while since I have used Hypersonic but this is the first thing that jumps out at me from your post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898907#3898907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898907 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Will you continue to ignore my questions???
There is no guarantee for an answer here as it is a user group list...and nobody will waste his own time for problems of unkind peoples... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898908#3898908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898908 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??
Your principals query and the role query use wrong column name? Your table has Username column isnt it? Also your application policy name in login-config is defauth but you are using megs in jboss.xml?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898910#3898910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898910 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Getting an IllegalArgumentException with RMIAdaptor in 3.2
Hi, I'm trying to write a simple client to access the MBean for a JMS destination. Whenver I try and invoke a method on the RMIAdaptor I get an IllegalArgumentException claiming I've used the wrong number of arguements Can anyone help !? Here's the code :- Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.setProperty(Context.PROVIDER_URL, jnp://ifdevdoc2:6999); InitialContext ctx = new InitialContext(props); RMIAdaptor server = (RMIAdaptor) ctx.lookup(jmx/invoker/RMIAdaptor); ObjectName name = new ObjectName(jboss.mq.destination :name=THRequest); //error happens here.. System.out.println(server.getAttribute(name, JNDIName)); Thanks, Steve. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898909#3898909 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898909 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
Why is there space in jboss.mq.destination :name=THRequest , remove that and check the results ? Vicky View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898911#3898911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898911 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Will you continue to ignore my questions???
Call stopService(), followed by destroyService() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898912#3898912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898912 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
Still getting the same error :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898913#3898913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898913 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Will you continue to ignore my questions???
Hi ccsaxton. I noticed a bunch of your posts going to our STAGING focum server - I have no idea how you got a link to this, but this explains why no one was notified of the entry. I would suggest bookmarking http://www.jboss.com/index.html?module=bbop=viewforumf=157 as the JBossCache forum page! :-) Anyway, this question was one that I did actually spot on the staging server, and even respond to (but again, on the staging server) and hence my request to you to re-post on this server. My original response: anonymous wrote : | Hi there, | | destroying the service will not help you. Resources are all released when you call stopService(). | | Do you assign the cache variable to null when you are done with it? | | Cheers, | Manik | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898914#3898914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898914 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Will you continue to ignore my questions???
Oh, and JBoss engineers respond to this list too; not just users! ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898915#3898915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898915 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Deserializer error on ArrayOfstring
Hi! I have the same problem!Did anybobysolve it? I have a web service, that takes an array of strings as an input and I have the same mistake when calling web service!=( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898917#3898917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898917 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
There is a bit missing from your name, the following works fine on 4.0.2 | Properties props = new Properties(); | | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | props.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); | InitialContext ctx = new InitialContext(props); | | RMIAdaptor server = (RMIAdaptor) ctx.lookup(jmx/invoker/RMIAdaptor); | ObjectName name = new ObjectName(jboss.mq.destination:name=A,service=Queue); | // error happens here.. | System.out.println(server.getAttribute(name, JNDIName)); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898916#3898916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898916 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
Properties props = new Properties(); | | props.setProperty( | Context.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | props.setProperty(Context.PROVIDER_URL, jnp://ifdevdoc2:6999); | InitialContext ctx = new InitialContext(props); | | RMIAdaptor server = (RMIAdaptor) ctx.lookup(jmx/invoker/RMIAdaptor); | ObjectName name = new ObjectName(jboss.mq.destination:name=THRequest,service=Queue); | | | //error here | System.out.println(server.getAttribute(name, JNDIName)); I still get the same error. We're using JBoss 3.2.3 here, it may also be of note that if I try a method with no parameters e.g. getDefaultDomain it works fine. Using reflection determines that getAttribute has two parameters as well... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898918#3898918 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898918 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
try using public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, IOException; Vicky View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898919#3898919 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898919 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
Could you tell me if there is a well known method of converting Weblogic (or at least Struts) applications into JBoss Portal? After a real tought searching I have found only one example of such conversion at [1]. But it's quite simple and it's author admits that his solution isn't suiteable for every Struts application. Should you recomend some other starting point? Or simply advice how to start... Best regards. [1] http://jboss.org/index.html?module=bbop=viewtopicp=3876429 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898920#3898920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898920 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Simple BMP method throws TransactionRolledbackException
Hi darranl, When I first read your reply I thought it was spot on. I still think so but perhaps I am doing something wrong. Yes what I want to do is the thing you wrote in the 2nd option. I want to do some calls and operations on my BMP entity beans without using a session bean. Here is my new code after your suggestion and the stack trace follows. Thanks a lot. | UserHome userHome = null; | InitialContext ctx = new InitialContext(); | Object objref = ctx.lookup(ejb/test/MyTestBmpBean); | userHome = (UserHome) PortableRemoteObject.narrow(objref, | UserHome.class); | *** | UserTransaction transaction = (UserTransaction) |ctx.lookup(java:comp/UserTransaction); | try{ | User beanRemote = null; | transaction.begin(); | beanRemote = userHome.create(erbora01, x, x, x, x); | transaction.commit(); // LINE 74 | catch () { | // rollback etc | transaction.rollBack();// LINE 83 | } | 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 30 old interval: 9223372036854775807 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1128426074421, new next: 1128426074421 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 15 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Checking driver for URL: jdbc:mysql://localhost:3306/webdb 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:mysql://localhost:3306/webdb 2005-10-04 14:38:44,421 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver already registered for url: jdbc:mysql://localhost:3306/webdb 2005-10-04 14:38:44,671 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-04 14:38:44,703 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-04 14:38:44,718 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-04 14:38:44,750 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-04 14:38:44,765 INFO [STDOUT] java.lang.IllegalStateException: No transaction. 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.tm.TxManager.rollback(TxManager.java:331) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134) 2005-10-04 14:38:44,765 INFO [STDOUT] at com.client.BmpEntityTestServlet.doGet(BmpEntityTestServlet.java:83) 2005-10-04 14:38:44,765 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 2005-10-04 14:38:44,765 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2005-10-04 14:38:44,765 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2005-10-04
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
Hi there Have you had a chance to give this a go yet? I'd be keen to know what people think of Optimistic Locking, both in terms of what it does, performance, and stability. Thanks, Manik DashV wrote : Heya does the Optimistic Locking stuff work when using JBossCache as an MBean within JBoss 4.0.2. | | I tried dropping jboss-cache.jar into my lib directory (overwriting the old one) and adding the attribute: | | attribute name=NodeLockingSchemeOPTIMISTIC/attribute | | to my caches service.xml. Now I get the following exception: | | org.jboss.deployment.DeploymentException: No Attribute found with name: NodeLockingScheme | | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:263) | | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164) | | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118) | | at org.jboss.system.ServiceController.install(ServiceController.java:202) | | at sun.reflect.GeneratedMethodAccessor15.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:141) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | | at $Proxy4.install(Unknown Source) | | I was hoping to test and re-bench our JBoss 4.0.2 cluster configuration here as it uses 4 seperate jboss caches (three of them replicate across the cluster and one of those three is ASYNC.) So its a pretty good test of most of the the jboss cache fuctionality. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898922#3898922 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898922 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - java.lang.OutOfMemoryError: unable to create new native thre
Hi, When im sending 300 messages to the queue it process 200 files successfully and after that it gives the following error. Im using jboss-4.0.0 and JDK5.0. I have also setup JVM options -Xms128m -Xmx512m -XX:MaxPermSize=128m 2005-10-04 21:02:11,873 ERROR Unexpected Error in method: public abstract void com.parcelhouse.rnrconnect.service.interfaces.ShipmentServiceLocal.createShipment(java.lang.String,java.lang.String): java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) any ideas would be greatly appriciated! BR, Pradeep View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898923#3898923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898923 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
| getAttribute | Object getAttribute(ObjectName name, | String attribute) | throws MBeanException, |AttributeNotFoundException, |InstanceNotFoundException, |ReflectionException, |IOExceptionGets the value of a specific attribute of a named MBean. The MBean is identified by its object name. | | Parameters: | name - The object name of the MBean from which the attribute is to be retrieved. | attribute - A String specifying the name of the attribute to be retrieved. | Returns: | The value of the retrieved attribute. | Throws: | AttributeNotFoundException - The attribute specified is not accessible in the MBean. | MBeanException - Wraps an exception thrown by the MBean's getter. | InstanceNotFoundException - The MBean specified is not registered in the MBean server. | ReflectionException - Wraps a java.lang.Exception thrown when trying to invoke the setter. | | RuntimeOperationsException - Wraps a java.lang.IllegalArgumentException: The object name in parameter is null or the attribute in parameter is null. | | IOException - A communication problem occurred when talking to the MBean server. | See Also: | setAttribute(javax.management.ObjectName, javax.management.Attribute) | Emphasis on the underlined part to get the actual cause of the error you are getting . Vicky View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898924#3898924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898924 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
for struts look at the struts bridge which is implement in jboss portal http://portals.apache.org/bridges/. for the weblogic part, I don't know much of it, so I think it is up to you do find out what's need to be done. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898925#3898925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898925 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - RMI-IIOP over SSL
Hi, Could you please help me with advice on how to set an RMI-IIO over SSL connection between a Java client and JBoss. I am afraid that the standard RMI-IIOP connection is not secure enough I hope that SSL is the solution since the application works in Internet. I?d really appreciate your help! Best Regards, Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898926#3898926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898926 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
Thanks for all your help ! Using that last suggestion I got an error that enabled me to find out it was due to having the wrong version of the javax.management classes on my client side. many thanks, Steve. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898927#3898927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898927 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Getting an
I have just tested the code I posted and it also works fine against 3.2.3. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898929#3898929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898929 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security Bug
Hi All, I am also getting same problem . When i was using JBOSS4.0.1 then following code at client side was working: EJBHandle handle = myBeanRequest.getBeanHandle(); MYBean mybean = (MYBean) handle.getEJBObject(); But same code is not working in JBOSS 4.0.2 Am i missing some configuration of JAAS? Please help. Thanks and regards Chetan View the original post : http://staging.jboss.com/index.html?module=bbop=viewtopicp=3890736#3890736 Reply to the post : http://staging.jboss.com/index.html?module=bbop=postingmode=replyp=3890736 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Simple BMP method throws TransactionRolledbackException
Could you also post the code of your entity bean, I think something is happening there - I will see if I can reproduce your problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898931#3898931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898931 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: HTTPS/SSL with commercial certificate, no common encrypt
Ok, problem solved. It all boiled down to not properly handling the keystore. The thing that I missed is that keystores contain 2 types of entries, trusted certs and keys. I was just importing the cert from GeoTrust to a new keystore, which created a trusted cert entry. Instead, I need to import to the original keystore that was used for the CSR, so that the GeoTrust cert would attach to my key pair. So if you're having this kind of trouble, study up on keytool! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898934#3898934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898934 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB and exceptions
You are right, I am trying to remove a CMP entity bean and it causing me a lot of problems (check my other posting http://www.jboss.org/index.html?module=bbop=viewtopict=70310) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898935#3898935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898935 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to specify the number of messsages I need?
I have a similar situation and I resolved it as follows: - the MDB is able to process single messages (encapsulated in ObjectMessage) - the MDB is able to process linked list of messages Note. To preserve the ordering you have to adjust your MDB to be singelton (tradeoff with performance, it's you call in this case) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898937#3898937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898937 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
this feature exist from 2.2 that will be released current november. I will talk about it in the webinar that is given tomorrow, so you should try to attend it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898939#3898939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898939 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
zibi101 wrote : As far as I can gather you have to fire events (and set connectionHandle property) to inform container that you want to free managedConnection from client connection and enable the container to put it into pool. Earlier get an listener through addConnectionEventListener method of course. Thanks for taking the time to respond. I have implemented the listener interface and do send out the close notifications. This causes the connection to be released back in to the pool. However, what I want is something different. If I have created one managed connection, and lets assume it is not in the Container's pool. I have two concurrent getConnection() requests from two clients. I want to share this single ManagedConnection with both those clients - i.e. have two Connection instances reference the same ManagedConnection instance. JBoss only allows me to use a ManagedConnection if there is no active logical connections associated with it. I want the oposite. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898941#3898941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898941 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: matchManagedConnections() does not get called
sorry that should have read ...and lets assume it is NOW in the Container's pool... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898942#3898942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898942 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
Ok. I have now a basic idea. Could you tell me one more thing. How can I interact with other portlets? For example, I have menu in one portlet and I wish to pass some message to other portlets when one of the buttons is pressed. How, in general, it can be done using JBoss Portal along with Struts Bridge? Best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898938#3898938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898938 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Weird. I thought that you could simply treat objects in the cache as if they were not stored. Anyway, now I do get this error message: java.lang.RuntimeException: InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null at: /feeds/12346/missions/0/scs/0/units/0 I can't figure out what could cause this. Any insights? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898952#3898952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898952 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Certain servlets accessible despite security constraints
Hi, I have a Struts application which is not being protected as I expected. What happens is that my Struts actions can be accessed directly, no matter what my role is, as long as I am logged in. For example, I have a JSP menu that does the following: if (userRole == 'admin') { [Show URL to delete elements from database] } else { [Show URL to display information only] } When I log in as an admin, I se the [Delete] link and when I log in as a user I see the [Display] link only. However, when I type the URL to delete a database element in the URL bar, elements are deleted even if I am not an admin. So, I can enter: http://localhost/webContext/DeleteAction?uniqueId=foo and element 'foo' will be deleted from the database. I expected a Permission denied exception. Here are the relevant portions of my configuration: Web.xml: | security-constraint | web-resource-collection | web-resource-namesecure-web-component-names/web-resource-name | url-pattern/PlanTypeComponentSelectAction.do/url-pattern | url-pattern/PlanTypeComponentCreateAction.do/url-pattern | url-pattern/PlanTypeComponentRetrieveAction.do/url-pattern | url-pattern/PlanTypeComponentUpdateAction.do/url-pattern | url-pattern/PlanTypeComponentDeleteAction.do/url-pattern | /web-resource-collection | auth-constraint | role-nameadmin/role-name | /auth-constraint | /security-constraint | login-config.xml: | application-policy name = tme_security_realm | authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = dsJndiNamejava:/DefaultDS/module-option | module-option name = principalsQuerySELECT SEC_USER_PASSWORD FROM sec_user WHERE SEC_USER_USERID=?/module-option | module-option name = rolesQuery | SELECT sec_role_Name,'Roles' FROM sec_Role, sec_user, sec_userrole | WHERE sec_user_USERID=? | and sec_role.sec_role_uuid=sec_userrole_role_uuid | and sec_user.sec_user_uuid=sec_userrole_role_uuid | /module-option | /login-module | login-module code=org.jboss.security.ClientLoginModule flag=required / | /authentication | /application-policy | | tomcat's server.xml: | Valve className=org.apache.catalina.authenticator.SingleSignOn |debug=0/ | and debugging output: | DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Security checking request GET /webContext/PlanTypeComponentDeleteAction.do | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Standard-Struts-Administrative-Actions]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[AlturaForceContainerLogin]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure-Main-Menu]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- true | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[secure-web-component-names]' against GET /PlanTypeComponentDeleteAction.do -- false | DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling hasUserDataPermission() | DEBUG [org.apache.catalina.realm.RealmBase] User data constraint has no restrictions | DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling authenticate() | DEBUG [org.apache.catalina.authenticator.FormAuthenticator] SSO Id E110D62A46E07BE6CD6E0D69E491A975 set;
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Blank JSP page
Never mind, I figured out. The error message is in the serverlet filter, which I forgot to check. Looks like Tomcat does not support JDK 5's Long/long auto-boxing and unboxing. After I fixed that, the page shows fine. Thanks, SQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898959#3898959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898959 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Certain servlets accessible despite security constraints
Oh I forgot: I'm using 3.2.5. L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898965#3898965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898965 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
I understand. But the thing is that I have to convert this application now. :-\ Do you know other free Portal suppriting this option? I know that my question is somewhat silly but my boss told me to convert this application to a free Portal. And I have to do it. Best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898971#3898971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898971 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
Are the portlet jsr168 compliant? Are they tied to weblogic proprietary apis? This will make it more complicated, if so. Otherwise, you should be able to just change the deployment descriptors and drop them in. I don't know of any OS portal that allows for easy migration, simply because of the proprietary api issues. One option, and you can tell your boss I said this, is to take the cost savings from BEA licensing and hire a consulting group to help with the migration. It will still most likely be cheaper than having to pay yearly dues. You can contact me directly, if this is an option you're considering, as we have partner companies that do this regularly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898979#3898979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898979 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: help needed...Unable to redeploy ejb jar in jboss 3.2.4,
guys i figured out! it was problem with Xml Parser which was specified in web.xml! -- santhosh r View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898980#3898980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898980 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portlet initialization problem
Could the extra carriage returns in your portlet.xml be the problem? Remove them from the init-param names and make sure there are no empty spaces. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898982#3898982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898982 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - No ClassLoaders found for: org.jboss.naming.NamingService
Hello, I'd like to test/run the jboss. After installation I get a dump and the server is not starting correctly. Then I shuts down, see the logdump below, with the key message: No ClassLoaders found for: org.jboss.naming.NamingService Googling the message-subject doesn't help, so I'm here. Has anyone have an idea what is wrong. Can you give a helpul hint? Thanks for the support With kind regards Othmar C:\prog83\jboss-4.0.2\binrun === . JBoss Bootstrap Environment . JBOSS_HOME: C:\prog83\jboss-4.0.2\bin\\.. . JAVA: C:\Programme\Java\jdk1.5.0_04\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\Programme\Java\jdk1.5.0_04\lib\tools.jar;C:\prog83\jboss-4.0.2\bin\\run.jar . === . 17:01:40,589 INFO [Server] Starting JBoss (MX MicroKernel)... 17:01:40,599 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) 17:01:40,599 INFO [Server] Home Dir: C:\prog83\jboss-4.0.2 17:01:40,599 INFO [Server] Home URL: file:/C:/prog83/jboss-4.0.2/ 17:01:40,599 INFO [Server] Library URL: file:/C:/prog83/jboss-4.0.2/lib/ 17:01:40,599 INFO [Server] Patch URL: null 17:01:40,599 INFO [Server] Server Name: default 17:01:40,599 INFO [Server] Server Home Dir: C:\prog83\jboss-4.0.2\server\default 17:01:40,599 INFO [Server] Server Home URL: file:/C:/prog83/jboss-4.0.2/server/default/ 17:01:40,599 INFO [Server] Server Data Dir: C:\prog83\jboss-4.0.2\server\default\data 17:01:40,619 INFO [Server] Server Temp Dir: C:\prog83\jboss-4.0.2\server\default\tmp 17:01:40,619 INFO [Server] Server Config URL: file:/C:/prog83/jboss-4.0.2/server/default/conf/ 17:01:40,619 INFO [Server] Server Library URL: file:/C:/prog83/jboss-4.0.2/server/default/lib/ 17:01:40,619 INFO [Server] Root Deployment Filename: jboss-service.xml 17:01:40,619 INFO [Server] Starting General Purpose Architecture (GPA)... 17:01:41,360 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc. 17:01:41,360 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05,Sun Microsystems Inc. 17:01:41,360 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 17:01:41,880 INFO [Server] Core system initialized 17:01:42,051 ERROR [MainDeployer] could not create deployment: file:/C:/prog83/jboss-4.0.2/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.naming.NamingService; - nested throwable: (java.lang. ClassNotFoundException: No ClassLoaders found for: org.jboss.naming.NamingService) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceController.install(ServiceController.java:202) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:104) ... 33 more Failed to boot JBoss: org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.naming.NamingService; - nested throwable: (java.lang. ClassNotFoundException: No ClassLoaders found for: org.jboss.naming.NamingService) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:104) ... 33 more 17:01:42,071 INFO [Server] JBoss SHUTDOWN: Undeploying all packages Shutting down 17:01:42,211 INFO [Server] Shutdown complete Shutdown complete Halting VM View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898986#3898986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898986 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Remove CMP bean fail if called within MDB
After more reading, I reliazed that I am getting myself into dist transaction domain so I did the following: - Implemented SessionSynchronization in my stateful session bean. - Modified my business methods to cache the JMS messages in a member of the session bean. - in afterCompletion() I am submitting the JMS messages to the queue (changed it back to XConnFactory instead of JmsXA) - On the MDB side, I can read attributes from my entity beans but when I try to remove it , it thows ClassCastException on the PK class My PK class is basically an Integer generated by xdoclet Anybody help ... PLEASE. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898997#3898997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898997 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Setting default security-constraint in conf/web.xml disables
If you place a default security setting in conf/web.xml, for instance this one... security-constraint web-resource-collection web-resource-name Protected Context/web-resource-name url-pattern /*/url-pattern /web-resource-collection user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint auth-constraint role-nameuser/role-name /auth-constraint /security-constraint !-- Define the login configuration for this application -- login-config auth-methodBASIC/auth-method realm-nameGeneral Web domain/realm-name /login-config !-- Security roles referenced by this web application -- security-role The role that is required to log into the web system. role-nameuser/role-name /security-role Then it works correctly. If you then want to tighten security on another area, like this !-- A security constraint that restricts access to the HTML JMX console to users with the role JBossAdmin. Edit the roles to what you want and uncomment the WEB-INF/jboss-web.xml/security-domain element to enable secured access to the HTML JMX console. -- security-constraint web-resource-collection web-resource-nameProtected Context/web-resource-name An example security config that only allows users with the role JBossAdmin to access the HTML JMX console web application url-pattern/*/url-pattern /web-resource-collection auth-constraint role-nameml_backoff-dev/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameJBoss JMX Console/realm-name /login-config security-role role-nameml_backoff-dev/role-name /security-role and correctly setup the jboss-web.xml file, like so... !-- Uncomment the security-domain to enable security. You will need to edit the htmladaptor login configuration to setup the login modules used to authentication users. -- security-domainjava:/jaas/highbridge/security-domain Nothing happens. If however, you use a different security domain (not the one used in the default configuration), then it also works properly, like so... !-- Uncomment the security-domain to enable security. You will need to edit the htmladaptor login configuration to setup the login modules used to authentication users. -- security-domainjava:/jaas/jmx-console/security-domain How do I fix this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898998#3898998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898998 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - commit-option B read-only without cache
Hi! Im currently working with a system dependant upon jboss-3.0.4. Entity beans are using commit-option B and getters are declared read-only to avoid unneccesary locking. The problem is that the instance cache is then being used for those getters (actually the case even with commit-option C). Getters using cached data are unwanted so a workaround has been constructed using a different cache policy than the ordinary LRU policy. This cache policy passivates the entity as soon as the entity is added to the cache! Code looks like public void insert(Object key, Object object) { | //m_cache instanceof AbstractInstanceCache | m_cache.release((EnterpriseContext)object); |} | To me this seems odd. There must be a smarter way to turn off the cache and still have the read-only non locking behaviour for getters. Comment anyone? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899002#3899002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899002 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: how to deactivate logging
Hey, thanks for the print_local_addr tip, that worked just like I wanted. I still get the rest of the STDERR messages however, and I have changed my log4j.xml to : appender name=ConsoleAppender class=org.apache.log4j.ConsoleAppender | layout class=org.apache.log4j.SimpleLayout/ | /appender | | logger name=org.jboss.cache.* | level value=FATAL/ | /logger | | logger name=org.jgroups.* | level value=FATAL/ | /logger | | | root | priority value=FATAL / | appender-ref ref=ConsoleAppender/ | /root results in : 0 [main] WARN cache.TreeCache - No transaction manager lookup class has been defined. Transactions cannot be used 0 [main] INFO cache.TreeCache - interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 0 [main] INFO cache.TreeCache - cache mode is REPL_SYNC 297 [DownHandler (UDP)] INFO protocols.UDP - sockets will use interface 192.168.5.102 313 [DownHandler (UDP)] INFO protocols.UDP - socket information: local_addr=192.168.5.102:2387, mcast_addr=230.0.0.1:2932, bind_addr=/192.168.5.102, ttl=64 sock: bound to 192.168.5.102:2387, receive buffer size=8, send buffer size=15 mcast_recv_sock: bound to 192.168.5.102:2932, send buffer size=15, receive buffer size=8 mcast_send_sock: bound to 192.168.5.102:2388, send buffer size=15, receive buffer size=8 2329 [Thread-20] INFO cache.TreeCache - viewAccepted(): new members: [192.168.5.102:2387] 2329 [main] INFO cache.TreeCache - state could not be retrieved (must be first member in group) 2329 [main] WARN cache.TreeCache - No transaction manager lookup class has been defined. Transactions cannot be used 2329 [main] INFO cache.TreeCache - interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor 2329 [main] INFO cache.TreeCache - cache mode is local, will not create the channel 2344 [Thread-20] INFO cache.TreeCache - new cache is null (maybe first member in cluster) - So, even if I use log4j, I still can't get rid of these messages. Is there something wrong with my log4j configuration? Also, I don't want to assume that end users for this application will have log4j installed. I'd still like to go in the direction of making a custom NO-OP logger if this is possible. I just didn't see any way to extend a JBossCache logger interface or a method/constructor that sets the logger for me. -Do I have to use Log4j? -Is a custom logger possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899000#3899000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899000 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss wont start Linux
i have the same problem, any comments? please? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899019#3899019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899019 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??
Yeah , I did notice that :) and rectify that , changed the query as well as the application policy name. Now here is the problem I am facing. In jboss.xml , the security-domain is sepcified as : security-domain java:/jaas/megs /security-domain I guess this makes jboss look for login modules when you attempt to login to a site. I get the following exception : java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=Region, method=create, interface=HOME, requiredRoles=[ManageUsers], principalRoles=[] My auto-generated ejb-jar.xml file looks like this ejb-jar .. . [CDATA[This is the Region session bean.]] display-nameRegion Session Bean/display-name ejb-nameRegion/ejb-name {my home interface} {my remote interface} ejb-class{my ejb-class}/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type security-role-ref role-nameManageUsers/role-name role-linkManageUsers/role-link /security-role-ref ... .. . !-- Assembly Descriptor -- assembly-descriptor security-role role-nameManageUsers/role-name /security-role security-role role-nameScadaUser/role-name /security-role method-permission role-nameManageUsers/role-name ejb-nameRegion/ejb-name method-namecreate/method-name /method-permission /assembly-descriptor . ... /ejb-jar * I am not sure what exactly is wrong, I tried changing the value of the method-name tag to * instead of create, even that doesnt work though. throws the same exception. Can you please tell me what am I doing wrong :( . Also , I noticed , it doesnt matter if I have auth.conf at all configured. Is this because of an upgrade in the version , because tutorials on several previous versions tell us to configure both client side and server side auth .conf files. Please guide me with respect to that as well. Waiting for your replies. Thank YOu, ur help is really appreciated :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899022#3899022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899022 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Parallell requests fails with message
I have an application that calls a stateless session bean than in turn calls other stateless session beans, which operates on entity beans. This works fine when one thread calls the first session bean a number of times in serial, but it fails when I do the call with several threads in parallell. What do I have to think about in this scenario? Is it a transaction configuration maybe? Or is it something with the use of the EntityManager? The exception I get is the following: | java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=putte/632, BranchQual=, localId=632] status=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.cache.CacheException: org.jboss.cache.lock.UpgradeException: acquireWriteLock(): lock upgrade failed for /com/portwise/genua/user/User/com.portwise.genua.user.User#pabry1 (caller=putte:1144:547); - nested throwable: (org.jboss.cache.lock.UpgradeException: upgradeLockAttempt(): more than one reader trying to simultaneously upgrade to write lock)) | at org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:185) | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:167) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:74) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:181) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:239) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:69) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:566) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:436) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:239) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:291) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:168) | Caused by: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=putte/632, BranchQual=, localId=632] status=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.cache.CacheException: org.jboss.cache.lock.UpgradeException: acquireWriteLock(): lock upgrade failed for /com/portwise/genua/user/User/com.portwise.genua.user.User#pabry1 (caller=putte:1144:547); - nested throwable: (org.jboss.cache.lock.UpgradeException: upgradeLockAttempt(): more than one reader trying to simultaneously upgrade to write lock)) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:354) | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:162) | ... 19 more | Caused by: org.hibernate.cache.CacheException: org.jboss.cache.lock.UpgradeException: acquireWriteLock(): lock upgrade failed for /com/portwise/genua/user/User/com.portwise.genua.user.User#pabry1 (caller=putte:1144:547); - nested throwable: (org.jboss.cache.lock.UpgradeException: upgradeLockAttempt(): more than one reader trying to simultaneously upgrade to write lock) | at org.hibernate.cache.TreeCache.update(TreeCache.java:66) | at org.hibernate.cache.TransactionalCache.update(TransactionalCache.java:71) | at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:143) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:877) | at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:185) | at
[JBoss-user] [JBossWS] - Classes in different War files clashing
Hi all, i have 2 different war files deployed in Jboss and theres' a class(with small changes ) which is there in both the war files The problem is in some cases, one war is referring to another war's class. How can i avoid this? how does the webappClassLoader loads the classes? Please let me know. Thanks Smi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899026#3899026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899026 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
anonymous wrote : Weird. I thought that you could simply treat objects in the cache as if they were not stored. For every rule there is an exception ;-) In this case, we treat Map, List and Set specially; when such a collection is put into the cache the cache creates a proxy that implements the relevant interface. In the case of a collection that is an internal member of an object that is put in the cache, this is transparent to the user, but if you are storing the Map directly you need to get a reference to the proxy before you start operating on it. Not sure about your REF_COUNT issue; can you post more details (i.e. more of the stack trace, what your code was doing when it happened), or even better send me an e-mail with a small test case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899027#3899027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899027 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: how to deactivate logging
Re: log4j.xml, try the following: appender name=ConsoleAppender class=org.apache.log4j.ConsoleAppender | param name=Threshold value=FATAL/ | layout class=org.apache.log4j.SimpleLayout/ | /appender | | category name=org.jboss.cache | priority value=FATAL/ | /logger | | category name=org.jgroups | priority value=FATAL/ | /logger | | | root | appender-ref ref=ConsoleAppender/ | /root | I didn't test this, but it's the basic idea. I'm sure the log4j site has some docs on the proper syntax. In the JBossCache dist under the /etc directory there is a log4j.xml that you can look at as well. Re: using other loggers: JBossCache uses commons-logging for all logging operations. Unfortunately, in one place an import dependency on log4j snuck into the code. But the effect of this is just that log4j.jar has to be on the classpath. Otherwise you can tell commons-logging to use whatever logging framework you want, including NoOpLogger, either by putting a commons-logging.properties file on the classpath or by setting a system property. The import dependency on log4j will be fixed in the final version of 1.2.4 (it's still there in the beta). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899034#3899034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899034 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Can call or dploy JMS on Tomcat ?????-Urgent-help
Can I call jms Queue/sender receiver from tomcat ?? if so please send me link or smallexemple how to. Does jms-queue/sender/reciever have to run under application server wiht ejb container ? server like jboss ? not tomcat ? I want to use jms but i am suing tomcat, I will probably need jboss to do it ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899038#3899038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899038 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Hypersonic:Manual Database Table Creation:CreateExceptio
Hi darranl Thank you for your suggestion. I tried making everything the same case unfortunately it made no difference. :-(( Clive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899043#3899043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899043 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: pictures are not loaded every time
Hi Aaron. Thank you for your answer. IE is not using any proxy. No caching is not a solution. I have tried your header but I think the problem is not coming from the cache of the navigator. When I am setting internet explorer cache to automatically or never, the problem seems to be resolved. But some times, on the first loading (with this setting), a picture can be missing. I have looked your links. It is the contrary. However, the cache could be a solution, I won't know the setting of Internet explorer of the users. That's why I was working in the worst case (setting of cache Every visit to the page). I wanted to force the navigator to cache the picture and I have tried that too: % response.setHeader(Pragma, cache); response.setHeader(Cache-Control, public); long expireTime = System.currentTimeMillis() + (7 * 24 * 3600 * 1000); response.setDateHeader(Expires, expireTime); % It was the same problem, pictures are randomly missing but less often. The solution that I have found is completely different. I changed the structure of my web application and put the pictures in an uncompressed war file in the deploy directory. The remaining application stayed in the ear file... It seems to solve my problem. But it is not very beautiful O_o. I will let you know if I'm finding something better and thank you again for your quick answer ^^. Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899041#3899041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899041 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Remove CMP bean fail if called within MDB
Yet another LOW point in my career as software designer. I found what was the problem and it has nothing to do with transactions I was doing remoteHome.remove(remoteInterface) which is failing becuase it expects a PrimaryKey (that's explain the Cast error). I don't know which transaction model should I follow - use JmsXA and enlist the JMS in the transaction [ I noticed sometimes the following message 18:56:47,578 WARN [TxConnectionManager] Prepare called on a local tx. Use of local | transactions on a jta transaction with more than one branch may result in inconsistent | data in some cases of failure. - use afterCompletion(true) to send my JMS Thanks for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899048#3899048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899048 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Some remote clients not receiving messages
I figured it out!!!. Apparently the time on the client machine was ahead of the time on the server machine. When this happens, JMS thinks the message has expires and drops it. Any recommendations on how to prevent this from happening? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899053#3899053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899053 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss wont start Linux
Did you set JBOSS_HOME before running the script? Did you set JAVAPTH? Did you try echoing both of those settings just after the echo of JBOSS_START? Did you even look at the shell script to see what it was doing and what kind of extra debugging intformation you could add to it to solve your problem? When JBOSS_START was echoed, what text did it echo? By replacing the actual echoed text with three dots, you essentially left out the most important information that would help in solving your problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899055#3899055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899055 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Bean within a Bean in Document/Literal WS Causing Deserializ
Using JBoss 4.0.2: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. wsdl: | ?xml version=1.0 encoding=UTF-8? | | definitions name=OrganizationService | targetNamespace=http://webservice.test.jboss.org; | xmlns:tns=http://webservice.test.jboss.org; | xmlns=http://schemas.xmlsoap.org/wsdl/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; | types | xsd:schema targetNamespace=http://webservice.test.jboss.org; | xmlns:tns=http://webservice.test.jboss.org; | xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; | xmlns=http://www.w3.org/2001/XMLSchema; | elementFormDefault=unqualified | attributeFormDefault=unqualified | | !-- Define general elements -- | xsd:element name=Help | xsd:complexType | xsd:sequence | xsd:element name=subscriptionId type=xsd:string/ | xsd:element name=associateTag type=xsd:string/ | xsd:element name=validate type=xsd:string/ | xsd:element name=person type=tns:Person/ | /xsd:sequence | /xsd:complexType | /xsd:element | | xsd:complexType name=Person | xsd:sequence | xsd:element name=firstName type=xsd:string/ | xsd:element name=lastName type=xsd:string/ | /xsd:sequence | /xsd:complexType | | | /xsd:schema | /types | | message name=SimpleRequestMsg | part name=request element=tns:Help/ | /message | message name=SimpleResponseMsg | part name=reply element=tns:Help/ | /message | | portType name=Organization | operation name=simpleOperation | input message=tns:SimpleRequestMsg/ | output message=tns:SimpleResponseMsg/ | /operation | /portType | | binding name=OrganizationBinding type=tns:Organization | soap:binding transport=http://schemas.xmlsoap.org/soap/http; style=document/ | operation name=simpleOperation | soap:operation soapAction=http://soap.sandvine.com/ | input | soap:body use=literal/ | /input | output | soap:body use=literal/ | /output | /operation | /binding | | service name=OrganizationService | port name=OrganizationPort binding=tns:OrganizationBinding | soap:address location=REPLACE_WITH_ACTUAL_URL/ | /port | /service | | /definitions | ws4ee-deployment.xml | deployment | xmlns='http://xml.apache.org/axis/wsdd/' | xmlns:java='http://xml.apache.org/axis/wsdd/providers/java' | xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/' | xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | xmlns:xsd='http://www.w3.org/2001/XMLSchema' | | | typeMapping | qname='ns1:Help' xmlns:ns1='http://webservice.test.jboss.org' | type='java:org.jboss.test.webservice.Help' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle='' | typeDesc | elementDesc fieldName='subscriptionId' xmlName='subscriptionId'/ | elementDesc fieldName='associateTag' xmlName='associateTag'/ | elementDesc fieldName='validate' xmlName='validate'/ | elementDesc fieldName='person' xmlName='person' xmlType=ns1:Person/ | elementOrder | element name='subscriptionId'/ | element name='associateTag'/ | element
[JBoss-user] [JBoss Portal] - error in class
2005-10-04 13:08:28,312 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServlet]] Servlet.service() for servlet PortalServlet threw exception java.lang.NullPointerException at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:157) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source) i can solved this problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899062#3899062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899062 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - 1 Jboss listening on 2 ports
I have a situation where we use wirless devices to connect to our server. Some are connecting on one port ex:1234 and other on different port:34567 I have 2 instances of jboss running to accommodate this. I was wondering if you could make 1 instance of jboss listen on two ports. And if so, what I might need to configure to make that happen. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899068#3899068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899068 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Certain servlets accessible despite security constraints
Aha! Found it! It was an typo in the roles query. Now it works as expected. L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899071#3899071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899071 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Weblogic - JBoss
anonymous wrote : Are the portlet jsr168 compliant? Are they tied to weblogic proprietary apis? Truly, I'm not sure. First of all I got the task to do some research. I looked this application thought, implement an additional feature. Now we have to think is it cost-effective to convert it to some OS Portal or maybe it will be better to write it from scratch. Could you tell me breathly how to distinguish between jsr168 compliant and not or between proprietary functions and not? Best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899076#3899076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899076 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: No ClassLoaders found for: org.jboss.naming.NamingServic
Hey I could solve the problem on my own. I was just reluctant about the installation and counted the files and directories. Then I erased all files and again did an new unzip of jboss-4.0.2.zip (on win-XP prof) Now the whole file is fully unzipped (979 files in 233 dirs). C:\prog83\jboss-4.0.2\bin\run.bat brings the server now up an running. The errormessages dont help a lot. You need to have the right idea to solve the problem. Maybe this may help others in similar situations. Gruss OL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899075#3899075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899075 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal and MyFacesGenericPortlet
As a work around I simpliy extended MyFacesGenericPortlet and overrode the processAction method like this... /** | * Called by the portlet container to allow the portlet to process an action request. | */ | public void processAction(ActionRequest request, ActionResponse response) | throws PortletException, IOException | { | if (log.isTraceEnabled()) log.trace(called processAction); | | if (sessionTimedOut(request)) return; | | setPortletRequestFlag(request); | | FacesContext facesContext = facesContext(request, response); | | | try | { | lifecycle.execute(facesContext); | //check to see if id is null is so set default view as id | if(facesContext.getViewRoot().getViewId()==null) | { | facesContext.getViewRoot().setViewId(this.defaultView); | } | if (!facesContext.getResponseComplete()) | { | response.setRenderParameter(VIEW_ID, facesContext.getViewRoot().getViewId()); | } | | request.getPortletSession().setAttribute(CURRENT_FACES_CONTEXT, facesContext); | } | catch (Throwable e) | { | facesContext.release(); | handleExceptionFromLifecycle(e); | } | } I don't have enough experience with the portal yet to know if this fix will have adverse effects yet but it seems ok so far. If anyone has any information on this issue I would appreciate it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899079#3899079 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899079 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - 4.0.2 anonymous ports
I have set every anonymous port I can find in my jboss-service.xml and cluster-service.xml files and I still keep getting a random port assigned to my clients. I'm running behind a firewall and I've opened all of the following ports 1102/upd 1161/udp 1162/udp 1098/tcp 1099/tcp 1100/tcp 3528/tcp 4442/tcp 4443/tcp /tcp 4445/tcp 4446/tcp 4447/tcp 4448/tcp 5400/tcp 8009/tcp 8080/tcp 8083/tcp 8093/tcp 4450/tcp I still can't get in. So I took the following steps 1. Start Jboss without firewall. 2. Pipe netstats into a file without any clients connected to my EJB: filename = withoutFirewallwithoutClient 3. Connect a client. 4. Pipe netstats into a different file filename: filename = withoutFirewallWithClient 5. Compare the differences between the two files: diff withoutFirewallwithoutClient withoutFirewallwithClient 6. find all unrecognized ports. tcp00MyServer.:40620MyClient:3211 ESTABLISHEDClient 1 tcp00MyServer.:40620MyClient:3215 ESTABLISHEDClient 2 tcp00MyServer.:40620MyClient:3212 ESTABLISHEDClient 3 If I reboot my server the prot 40620 changes, but the same one is used for each client. I cannot find anywhere in the documentation where it indicates that there are any other anonymous ports used. here are my two service.xml files jboss-service.xml ?xml version=1.0 encoding=UTF-8? !-- $Id: jboss-service.xml,v 1.1 2005/09/26 08:18:02 grantr Exp $ -- !-- = -- !-- JBoss Server Configuration -- !-- = -- !-- Load all jars from the JBOSS_DIST/server//lib directory. This can be restricted to specific jars by specifying them in the archives attribute. -- !-- -- !-- JSR-77 Single JBoss Server Management Domain -- !-- -- jboss.system:service=MainDeployer jboss.system:service=ServiceDeployer jboss.j2ee:service=EARDeployer jboss.ejb:service=EJBDeployer jboss.jca:service=RARDeployer jboss.jca:service=ConnectionFactoryDeployer jboss.web:service=WebServer jboss:service=Mail jboss.mq:service=DestinationManager jboss:service=Naming jboss:service=TransactionManager jboss:service=ClientUserTransaction !-- jboss:service=CorbaORB -- !-- -- !-- XMBean Persistence -- !-- -- mbean code=org.jboss.system.pm.AttributePersistenceService name=jboss:service=AttributePersistenceService xmbean-dd=resource:xmdesc/AttributePersistenceService-xmbean.xml !-- the AttributePersistenceService is persistent, itself -- !-- org.jboss.system.pm.XMLAttributePersistenceManager data-directorydata/xmbean-attrs/data-directory false -- !-- A Thread pool service -- JBoss System Threads System Threads !-- How long a thread will live without any tasks in MS -- 6 !-- The max number of threads in the pool -- 10 !-- The max number of tasks before the queue is full -- 1000 !-- The behavior of the pool when a task is added and the queue is full. abort - a RuntimeException is thrown run - the calling thread executes the task wait - the calling thread blocks until the queue has room discard - the task is silently discarded without being run discardOldest - check to see if a task is about to complete and enque the new task if possible, else run the task in the calling thread -- run !-- Preload all custom editors for VMs that don't use the thread context class loader when searching for PropertyEditors. Uncomment if your JDK 1.3.0 VM fails to find JBoss PropertyEditors. java.math.BigDecimal=org.jboss.util.propertyeditor.BigDecimalEditor java.lang.Boolean=org.jboss.util.propertyeditor.BooleanEditor java.lang.Class=org.jboss.util.propertyeditor.ClassEditor java.util.Date=org.jboss.util.propertyeditor.DateEditor java.io.File=org.jboss.util.propertyeditor.FileEditor java.net.InetAddress=org.jboss.util.propertyeditor.InetAddressEditor java.lang.Integer=org.jboss.util.propertyeditor.IntegerEditor javax.management.ObjectName=org.jboss.mx.util.propertyeditor.ObjectNameEditor java.util.Properties=org.jboss.util.propertyeditor.PropertiesEditor [Ljava.lang.String;=org.jboss.util.propertyeditor.StringArrayEditor
[JBoss-user] [JBoss.NET] - Connecting to WSS-enabled services via JBoss
I am working on a mission-critical project where my application needs to connect to WSS-enabled services that utilize XML signature and encryption. The services are hosted by a third party company and the third party requires all web services requests to be signed using a WSS 1.0 XML security signature. Can anyone provide some guidance as to how this can be done under JBoss 3.2.x? We are not in a position to upgrade to a newer version of JBoss, but we need to figure out how to sign these requests ASAP. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899088#3899088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899088 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: 1 Jboss listening on 2 ports
Are these devices connecting via HTTP? If so, then add another connector to deploy/jbossweb-tomcat55.sar/server.xml: | Connector port=34567 address=${jboss.bind.address} | maxThreads=250 strategy=ms maxHttpHeaderSize=8192 | emptySessionPath=true | enableLookups=false acceptCount=100 | connectionTimeout=2 disableUploadTimeout=true/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899092#3899092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899092 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Some remote clients not receiving messages
Set time to live to 0 and this fixed it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899093#3899093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899093 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - mysql connection to portal
I'm getting the following error: -- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- bjectName: jboss.jca:service=DataSourceBinding,name=PortalDS State: NOTYETINSTALLED Depends On Me: portal:service=CMS portal:service=Hibernate Both services show as state:configured. I'm using the default jboss 4.0.2 install and mysql 5.0 on win xp pro. It's preventing the portal from deploying. Where do I start looking to fix this? Thanks in advance. Robert View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899091#3899091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899091 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Portlet initialization problem
You are right. That was the problem. It works perfectly now. Thank you very much! Alexxx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899100#3899100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899100 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed
i wasted a lot of time on this problem. apparently sun releases 3 versions of the tutorial(update 2, update 4, and update 6) - only update 2 worked for me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899104#3899104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899104 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - failed to load jboss.xml
I am getting the following error when I try to deploy the entity bean. rg.jboss.deployment.DeploymentException: Error in jboss.xml for Bean ScheduleSession: ejb-local-ref ejb/ScheduleItemLocal found in jboss.xml but not in ejb-jar.xml at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:764) at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:175) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) Need help to fix this problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899105#3899105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899105 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: failed to load jboss.xml
The problem is JBoss thinks you have have defined an ejb-local-ref in the jboss.xml that you have not defined in the ejb-jar.xml Can you post both descriptors wrapped with [ code ][ / code ] tags without the spaces and use the preview button to make sure it displays correctly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899107#3899107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899107 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt
Thanks. It works.. But could you please explain why it is needed to call setRollBackOnly() ? My application didnt start any transaction, so a roll-back was not necessary. Or, is it that JMS provider always invokes MDB onMessage() on a transactional context implicitely ? Anyway.. Thanks again. Atleast, it is getting redelivered now as intended View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899111#3899111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899111 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: failed to load jboss.xml
![CDATA[A session bean named ScheduleSession]] display-nameScheduleSession/display-name ejb-nameScheduleSession/ejb-name ejbs.ScheduleSessionHome ejbs.ScheduleSession local-homeejbs.ScheduleSessionLocalHome/local-home ejbs.ScheduleSessionLocal ejb-classejbs.ScheduleSessionSession/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type ejb-local-ref ejb-ref-nameejb/ScheduleItem/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homeejbs.ScheduleItemLocalHome/local-home ejbs.ScheduleItemLocal ejb-linkScheduleItem/ejb-link /ejb-local-ref ejb-nameScheduleSession/ejb-name jndi-nameScheduleSession/jndi-name local-jndi-nameScheduleSessionLocal/local-jndi-name ejb-local-ref ejb-ref-nameejb/ScheduleItemLocal/ejb-ref-name local-jndi-nameejb/ejbs/ScheduleItemLocalHome/local-jndi-name /ejb-local-ref method-attributes /method-attributes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899112#3899112 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899112 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: failed to load jboss.xml
| session | description![CDATA[A session bean named ScheduleSession]]/description | display-nameScheduleSession/display-name | ejb-nameScheduleSession/ejb-name | homeejbs.ScheduleSessionHome/home | remoteejbs.ScheduleSession/remote | local-homeejbs.ScheduleSessionLocalHome/local-home | localejbs.ScheduleSessionLocal/local | ejb-classejbs.ScheduleSessionSession/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | ejb-local-ref | ejb-ref-nameejb/ScheduleItem/ejb-ref-name | ejb-ref-typeEntity/ejb-ref-type | local-homeejbs.ScheduleItemLocalHome/local-home | localejbs.ScheduleItemLocal/local | ejb-linkScheduleItem/ejb-link | /ejb-local-ref | /session | | session | ejb-nameScheduleSession/ejb-name | jndi-nameScheduleSession/jndi-name | local-jndi-nameScheduleSessionLocal/local-jndi-name | ejb-local-ref | ejb-ref-nameejb/ScheduleItemLocal/ejb-ref-name | local-jndi-nameejb/ejbs/ScheduleItemLocalHome/local-jndi-name | /ejb-local-ref | method-attributes | /method-attributes | /session | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899115#3899115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899115 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: failed to load jboss.xml
| session | ejb-nameScheduleSession/ejb-name | jndi-nameScheduleSession/jndi-name | local-jndi-nameScheduleSessionLocal/local-jndi-name | ejb-local-ref | ejb-ref-nameejb/ScheduleItemLocal/ejb-ref-name | local-jndi-nameejb/ejbs/ScheduleItemLocalHome/local-jndi-name | /ejb-local-ref | method-attributes | /method-attributes | /session | | session | ejb-nameScheduleSession/ejb-name | jndi-nameScheduleSession/jndi-name | local-jndi-nameScheduleSessionLocal/local-jndi-name | ejb-local-ref | ejb-ref-nameejb/ScheduleItemLocal/ejb-ref-name | local-jndi-nameejb/ejbs/ScheduleItemLocalHome/local-jndi-name | /ejb-local-ref | method-attributes | /method-attributes | /session | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899114#3899114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899114 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - No data type for node: Error on a namedquery - Why ?
i get a No data type for node: on this namedquery @NamedQuery(name=getStoreTxnsTotal, queryString= | SELECT SUM(total) FROM TransactionCMP t, CustomerCMP c WHERE c.code = :code AND t.store = :store) total is defined as a double in the table/entity. Any pointers ? thanks Andrew 21:32:31,968 ERROR [Ejb3Module] Initialization failed jboss.j2ee:service=EJB3,module=entities.par | java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.AggregateNode | \-[AGGREGATE] AggregateNode: 'SUM' | \-[IDENT] IdentNode: 'total' {originalText=total} | | at org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:139) | at org.hibernate.hql.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:596) | at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:463) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:633) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:269) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:217) | at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:211) | at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:153) | at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:100) | at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:459) | at org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:420) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:323) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1033) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:439) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:272) | at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:476) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:219) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:275) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy16.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:178) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at
[JBoss-user] [Security JAAS/JBoss] - Drop cookie on successful authentication
What is the proper way to send the user a cookie once they successfully authenticate via org.jboss.security.auth.spi.LdapLoginModule? My application gets XML data from external servers that require this cookie. I understand JAAS is separate from the web container, but how do I setup a hook between them? Thanks, Ken View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899122#3899122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899122 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - how to deploy on real
Say, my servername is www.server.com Which conf files do I need to edit to make this work? Dave View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899128#3899128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899128 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - c-jdbc / clustered database
Guys, Has anyone come across c-jdbc? (http://c-jdbc.objectweb.org/) This provides a kind of RAID like service for databases. They like to refer to it as RAIDb. I was wondering if it would make sense to build it into JBoss to provide a database clustering capability. A controller sits between a special c-jdbc driver and the end database servers. Possibly a good candidate for a SAR which would start up and be managed as a jboss service. This with the cache on top would give a complete cluster solution. Any comments? Regards, Andy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899131#3899131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899131 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user