[JBoss-user] [Beginners Corner] - Re: jndi lookup of datasource: broken in jboss 4.x?
Hey what is the JBoss way? I am having the same problem. I do not care about portability at this point. I just want to get this database connection going so that I can start building an application. Please post any way that you know how to make a connection in JBoss to the datasource. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876865#3876865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876865 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: JNDI via a JDK 1.2 client - is JBoss JDK 1.4 dependent?
Hello Mr. John Stark, We actually met before, at LAJUG. I hope to see you there again. In fact, I tried to reach JBoss and invite them again, but I was not responded back to. Thank you for informing me that JDK 1.2 hasn't been supported for 3 years. To me, it makes perfect sense that JBoss AS requires a modern JDK. But it really would be nice if legacy systems could communicate to the JBoss AS as clients. I was so close to integrating a JDK 1.2 JMS solution from Dynix. Fortunately, JMS 1.2 is compatible even on JDK 1.1 systems, which lend it very well to legacy systems. JMS also plays a role in the pivitol SOA. I think that the only aspect of JBoss that prevented this legacy integration was JNP's dependence on JDK 1.4 libraries. I perfectly understand the need for core of JBoss to be dependent on a modern JDK, but the ability for a client to connect with an older JDK and utilize a JDK 1.1-1.3 compatible API is quite persuasive. Regardless, I am very thankful for the excellent work that JBoss has provided to the community. I guess my best alternative is to use Client/Server sockets, or an HTTP post for this JMS message. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876864#3876864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876864 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - how do you work around the Slide security framework?
How did you guys work around issues when dealing with Slide's security implementation? [apologies up front - this is probably a question for the slide users list, but since I'm integrating the JBoss Portal CMS and you've probably already came across things like this, I'll take alittle liberty here] For example, I have a JAAS login module configured - I go to a database to get authentication/authorization information (i.e. users and roles are obtained via JAAS). However, for some reason, Slide still wants me to put the role and user information in the Domain.xml configuration. | | | ... | | | | | [CDATA[/users/john]] | | | | If I comment out the "revision" element and below, I get a 403 "Forbidden" error (even though JAAS says I have the webdav role, it sees this in the DB). But if I uncomment that and configure it as above, it works fine. Slide wants me to confirm JAAS in this /roles/webdav "group-member-set" property! It also is forcing me to declare the /user/john user node - even though JAAS sees this user in the DB as well. I suppose I can add my user and the roles to Slide via WebDAV, but that's a bit of a pain having to maintain two security databases - the true database that JAAS looks at and the Slide "database" which is simply a CDATA string in the "group-member-set" property that contains the names of all the users in that role and the /user nodes as well. Seems to defeat JAAS to me - I was wondering how JBoss Portal handles role-based authorization and what it does wrt this Slide issue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876863#3876863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876863 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 4.X and jre 5(1.5)
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876860#3876860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876860 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 4.X and jre 5(1.5)
Yes?? But I am missing something... JBoss 4.0.0 runs fine when my JAVA_HOME is set to JDK1.4.2! But, when I point JAVA_HOME to JDK1.5.0, I get the following message... Can someone please help. I do appreciate it! 2005-05-06 22:19:26,492 ERROR [org.jboss.web.WebModule] Starting failed jboss.web.deployment:war=invoker.war,id=-1274651378 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:379) at org.jboss.web.WebModule.startModule(WebModule.java:62) at org.jboss.web.WebModule.startService(WebModule.java:40) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor2.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:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor5.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:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy26.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:362) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:339) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy24.addDeployer(Unknown Source) at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:108) at org.jboss.web.AbstractWebContainer.startService(AbstractWebContainer.java:568) at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:378) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor2.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:242)
[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876857#3876857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876857 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: JNDI via a JDK 1.2 client - is JBoss JDK 1.4 dependent?
JDK1.2 has not been supported for nearly 3 years. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876856#3876856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876856 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - How to dynamically change security role without logging out
Hi, I have a custom LoginModule derived from some sample code. There, I create a SimpleGroup, "Roles", to store security roles used by my web applications. This "Roles" is then set into the Subject's principal. I also have a group of Web applications that are hooked together with Single-Sign On with each web application requiring a different security role that can be found in the "Roles" group. Everything works as expected. Now, I am trying to allow a user to change the security roles within a web application session. I use SecurityAssociation.getSubject() to get back the current Subject. From the Subject, I retrieved back the Group, "Roles". Finally, from this "Roles" Group, I added additional security roles in the form of Principal. However, I notice that Tomcat returns status 403, forbidden, for resources that are protected by security roles that I newly added within a user session. It does not seem to look into what's in "Roles" Group anymore until I log out the current user, and log back in. Does Tomcat keep its own cache of user's security roles separate from what's stored in the Subject? Does this have anything to do with SSO? What am I missing? Thanks, -- Rick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876853#3876853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876853 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Design Help Wanted! Web App with data
I currently have the opportunity to lead the design and implementation of a web-based application that has some interesting requirements?and I would like to solicit ideas on solutions?. Here is some example background: -a standard web based application that allows a user to manage and navigate through various functionality based around a rental car. -The user can search based on various attributes of the car. -The web pages can retrieve information on a car?s availability, status and other attributes. -The user can change and save basic attributes on a car. -The system has to support an undetermined, but assumed to be very large, number of users 24-7, so the system will have to support clustering, load-balancing, failover, etc. ?fairly simple so far? This is the requirement I need ideas on? -The integration of a ?legacy? system which ?pushes? the real-time current location of moving cars. There is no way to query the legacy system for the car. The number of active car?s can easily reach into the thousands.The ?push? was originally designed and used for a thick client that could easily accept the ?push? of data and display on a screen.. I have significant experience with web applications and the J2EE framework, though limited exposure to JBoss and Hibernate. Most of my experience has been with WebLogic and ?classic? approaches with EJB?s, using entity EJB?s for persistence.Since I am starting with a clean slate with this company, I have all options open to me. I am looking at JBoss and Hibernate as components of this new framework, so I thought that I would start here. With all of this in mind?. I would like to know what other people think on integrating the ?pushed? location data into the web application. I obviously need a place to ?store? the location data so that user web requests coming in can find and incorporate the data in the response back to the user. If I didn?t have the real-time ?pushed? data to contend with, the ?Car? would be a simple entity/POJO that would be used in the EJB/Hibernate persistence framework. When I include the ?pushed? data into the equation, my first reaction is to make the ?location? (i.e. lat/long) simply an attribute of Car POJO and have a listener implemented on the CAR class or MDB update the POJO. I?m not sure if this would work or is the best solution. I?ve also thought about having the pushed data update a database, then retrieve the location in a traditional manner, but it seems like overkill for data that will grow stale very quickly. I?ve also thought about keeping the location data separate from the POJO in a cache of some sort that would be keyed on the unique id of the car?but this seems ugly to me. I?m struggling on finding similar experiences in a design like this and seem to be running in to mental obstacles when thinking about this running in a clustered, possibly distributed, environment. I?m guessing that a combination of a J2EE environment like JBoss and possible features unknown to me may be available in a framework like Hiberate. Thanks in advance for any ideas, links or direction?. Chuck View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876833#3876833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876833 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - session bean not working anymore on v 4.0.2
Since I upgrade to V 4.0.2I got this exception 17:47:50,531 INFO [STDOUT] EJB (ejb/AppSessionB) Connexion Exception : null 17:47:50,531 INFO [STDOUT] java.lang.ClassCastException 17:47:50,531 INFO [STDOUT] at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293) Was working fine on 4.0.1 and before Any idea ? Thanks Mik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876808#3876808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876808 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - is the JBoss close connection exception the root cause of ma
Hello folks, I have this command, a highly modified version of what is written in the JBoss docs. It seems to successfully publish messages. Note that transactions are not used in this example. However, the server console shows debug output, an exception in closing a connection. Below is my class. Even lower is a partial listing of the debug output. In my humble opinion, this close exception seems like an error. But I can be wrong. Is this exception, thrown within the server, intentional? I know that sometimes, exception handling is an actual part of business logic, and perhaps in this situation it is used to communicate state. I would truly appreciate help in this knowledge. I notice that many other post that they are having errors using JMS with transactions. This very well could be the root of the cause. Perhaps, nothing is wrong with the transaction, and the cause is that this close is causing a rollback. Who knows. This is mere speculation. | package infonet.jms; | | import javax.jms.JMSException; | import javax.jms.Topic; | import javax.jms.TopicConnection; | import javax.jms.TopicConnectionFactory; | import javax.jms.TopicPublisher; | import javax.jms.TopicSession; | import javax.jms.TextMessage; | import javax.naming.InitialContext; | import javax.naming.NamingException; | | | /** | * Publishes a text message to the given topic. | */ | public class PublisherCommand | { | /** topic JNDI Name */ | private String topicJndiName = null; | /** The message text */ | private String text = null; | /** | * Retrieves the message text that will be sent. | * @return the message. | */ | public String getText() | { | return text; | } | /** | * Sets the message to that will be sent. | * @param text The message text to send. | */ | public void setText(String text) | { | this.text = text; | } | /** | * Retrieves the topic JNDI name. | * @return the topic JNDI name. | */ | public String getTopicJndiName() | { | return topicJndiName; | } | /** | * Sets the topic JNDI name. | * @param topicJndiName the topic JNDI name. | */ | public void setTopicJndiName(String topicJndiName) | { | this.topicJndiName = topicJndiName; | } | | /** | * Publishes the text message to a topic. | */ | public void execute() throws JMSException,NamingException | { | if (topicJndiName==null || text==null) | throw new IllegalArgumentException("topic and text must be set"); | | TopicConnection con = null; | try | { | InitialContext ctx = new InitialContext(); | TopicConnectionFactory tcf = (TopicConnectionFactory) ctx.lookup("ConnectionFactory"); | con = tcf.createTopicConnection(); | Topic topic = (Topic) ctx.lookup(topicJndiName); | TopicSession session = con.createTopicSession(false,TopicSession.AUTO_ACKNOWLEDGE); | con.start(); | TopicPublisher publisher = session.createPublisher(topic); | TextMessage message = session.createTextMessage(text); | publisher.publish(message); | } | finally | { | if (con!=null) | con.close(); | } | } | | /** | * Runs this command for test purposes | * @param args none requred. | * @throws Exception | */ | public static void main(String args[]) throws Exception | { | System.out.println("Begin Publsher Command, now=" + System.currentTimeMillis()); | | PublisherCommand publisher = new PublisherCommand(); | publisher.setTopicJndiName("topic/tmipMQ"); | publisher.setText("A text msg, now=" + System.currentTimeMillis()); | | try | { | publisher.execute(); | } | catch (JMSException e) | { | e.printStackTrace(); | } | catch (NamingException e) | { | e.printStackTrace(); | } | | System.out.println("End Publisher Command"); | System.exit(0); | } | } | And then the log output: 2005-05-06 08:32:20,668 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run 2005-05-06 08:32:20,668 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run 2005-05-06 08:32:20,698 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutput
[JBoss-user] [JBoss Portal] - Look & Feel in JBoss Portal
Why does every module on JBoss.org use a different look&feel? I mean - the home page looks different than the blog which looks different than the forum which looks different than the Wiki. Is there no central template/skin/whatever mechanism that makes sure every page is rendered following certain set Design guidelines? Thanks Matt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876849#3876849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876849 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: No Internet Connection: Dom4J XML Parsing Error
The solution to this problem was to change the web.xml file's web-app_2_3.dtd DTD to a location on the server's file system, so that JBossWS, dom4j would not attempt to retrieve the dtd durring server startup. I used an absolute path to the file using the file:/// protocol. I hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876834#3876834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876834 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Available Portlets
I am currently considering JBoss Portal for a new portal project. To find out what that CMS offers me 'out of the box' - can someone tell me where I can find a list of available modules/portlets? I am especially looking for - Wiki - News - Blog I noticed that JBoss.org uses Wiki and Blog already so I assume those modules must exist somewhere. I noticed that a Forum portlet exists already and it seems as if it follows the Single-Sign-On Idea. Does that hold for all modules? Thanks Matt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876848#3876848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876848 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Redirect Default Page
I'm running an application on Jboss3.2.6 with Tomcat. Does anyone know how to redirect the default page. For example when I type the url app.app.com, I get the default JBoss Welcome Page. I would like for it to redirect to app.app.com/app/init.do. Any help would be greatly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876828#3876828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876828 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss won't come up at all - tons of error messages
I have the steps for anyone who needs them here I removed all J2 installed code from my Windows XP system via the standard mechanism within control panel. I stripped out the related environment variables after that. I downloaded J2_SDK_5_0_03 from http://java.sun.com/ and installed it. I reset environment variables to: JAVA_HOME=C:\Program Files\Java\jdk1.5.0_03 JBOSS_HOME=H:\Apps\jboss-4.0.2 JDK_HOME=C:\Program Files\Java\jdk1.5.0_03 I set my classpath environment variable to: (concatenate them) C:\Program Files\Java\jdk1.5.0_03\bin; C:\Program Files\Java\jdk1.5.0_03\jre\lib\rt.jar; C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar; H:\Apps\jboss-4.0.2\bin\run.jar; I included "C:\Program Files\Java\jdk1.5.0_03\bin;" in my path I then made sure that the J2EE.jar could not be seen by the JVM or JBoss by renaming my copy And then - BINGO. Start up the JBoss server and enter http://localhost:8080/jmx-console into a WEB browser URL line and you have it. This JBoss AS is a really slick product - incredibly capable. Gil Blais View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876822#3876822 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876822 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - JNDI via a JDK 1.2 client - is JBoss JDK 1.4 dependent?
Hello folks, My JBoss AS is running on JDK 1.4 I configured a JMS topic. I have a Dynix JDK 1.2 client that needs to send messages to the app server. I have the following jars in my client's classpath [set as Manfiest classpath attribute value pairs]: concurrent.jar javax.jms.jar (downloaded from Sun) jboss-common-client.jar jboss-system-client.jar jbossmq-client.jar jndi.jar (version 1.1.2) downloaded from Sun jnp-client.jar log4j-1.2.9.jar This is the output I get: Exception in thread "main" java.lang.NoClassDefFoundError: java/net/SocketAddress at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:40) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:771) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169) at javax.naming.InitialContext.(InitialContext.java:146) at infonet.jms.PublisherCommand.execute(PublisherCommand.java,CompiledCode) at infonet.jms.PublisherCommand.main(PublisherCommand.java:143) Does this mean, heaven's forbid, that JBoss clients, such as my legacy dynix system that wants to send a JMS message through it's 1.2 JDK can not do so, are required to be JDK 1.4 and above? Below is my class file that sent the JMS messages: | package infonet.jms; | | import javax.jms.JMSException; | import javax.jms.Topic; | import javax.jms.TopicConnection; | import javax.jms.TopicConnectionFactory; | import javax.jms.TopicPublisher; | import javax.jms.TopicSession; | import javax.jms.TextMessage; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.naming.Context; | import java.util.Hashtable; | | | /** | * Publishes a text message to the given topic. | */ | public class PublisherCommand | { | /** The initial context factory */ | private String ctxFactory = null; | /** The provider url */ | private String providerUrl = null; | /** topic JNDI Name */ | private String topicJndiName = null; | /** The message text */ | private String text = null; | /** | * Retrieves the initial context factory | * @return the initial context factory | */ | public String getCtxFactory() | { | return ctxFactory; | } | /** | * Sets the initial context factory | * @param ctxFactory the initial context factory. | */ | public void setCtxFactory(String ctxFactory) | { | this.ctxFactory = ctxFactory; | } | /** | * Retrieves the provider url. | * @return the provider url. | */ | public String getProviderUrl() | { | return providerUrl; | } | /** | * Sets the provider url. | * @param providerUrl The provider url. | */ | public void setProviderUrl(String providerUrl) | { | this.providerUrl = providerUrl; | } | | /** | * Retrieves the message text that will be sent. | * @return the message. | */ | public String getText() | { | return text; | } | /** | * Sets the message to that will be sent. | * @param text The message text to send. | */ | public void setText(String text) | { | this.text = text; | } | /** | * Retrieves the topic JNDI name. | * @return the topic JNDI name. | */ | public String getTopicJndiName() | { | return topicJndiName; | } | /** | * Sets the topic JNDI name. | * @param topicJndiName the topic JNDI name. | */ | public void setTopicJndiName(String topicJndiName) | { | this.topicJndiName = topicJndiName; | } | | /** | * Publishes the text message to a topic. | */ | public void execute() throws JMSException,NamingException | { | if (topicJndiName==null || text==null || ctxFactory==null || providerUrl==null) | throw new IllegalArgumentException("topic, text, ctxFactory, and providerUrl must be set"); | | TopicConnection con = null; | try | { | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY,ctxFactory); | env.put(Context.PROVIDER_URL,providerUrl); | InitialContext ctx = new InitialContext(env); | TopicConnectionFactory tcf = (TopicConnectionFactory) ctx.lookup("ConnectionFactory"); | con = tcf.createTopicConnection(); | Topic topic = (Topic) ctx.lookup(topicJndiName); | TopicSession session = con.createTopicSession(false,TopicSession.AUTO_ACKNOWLEDGE); | co
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: is the JBoss close connection exception the root cause o
As much as I would like his help, and believe me, I do want Adrian's help, I think WE developers have a legitimate point. Perhaps the debug code is showing an error. Then we are rightfully point it out. My question is EXTREMELY legitimate. I am asking, is that exception part of the closing logic, or is it an error? I think that if it was truly an expected exception, it would be handled properly, with a debug stating that exception was expected. THAT makes more sense to me. I did read that post. It states that us developers are laughable because we don't understand the severity levels in the log4j output. Now, I don't want to brag, I am sure the JBoss folks are higher caliber developers than I am. But seriously, spitting out exception messages would be alarming to anybody. If I am architechting a business solution on JBoss JMS, first I build a proof of concept. If THAT point fails, which this exception seems to indicate, then I need to find an alternative. I don't want an alternative though ;) I want JBoss to work properly. I am simply asking, IS THIS THE EXPECTED behaviour? Thank you again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876821#3876821 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876821 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss 4.0.2 and Hibernate 3.0.2 problem
Duh! I fixed it. Apparently my 4.0.1sp1's configuration was set up to support Hibernate 2.0 and 3.0. My xml configuration files for Hibernate had a 2.0 dtd specified. I.e. http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";> | The fix was to change this to a 3.0 reference and everything is working fine. http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876831#3876831 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876831 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: How to turn off DTD validation in 4.0.1sp1
Turns out the way I was redeploying the .ear or .war files caused some memory confusion. The thing that fixed this for me was to delete the .war from the deploy directory first (and give JBoss a few minutes to clean everything up) and then copy the new .war into the deploy directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876813#3876813 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876813 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: session bean not working anymore on v 4.0.2
Have you read the wiki on ClassLoader use cases? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases Cheers, Tyler Black View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876842#3876842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876842 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - JMS monitoring?
Hello, any how I can monitor JMS? The Topic? The Queue? thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876850#3876850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876850 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: is the JBoss close connection exception the root cause o
HAHA! :) Don't let Adrian get very angry about us developers. See my posting here, what Adrian told us: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63523 The same applies to you. Summary: Don't care about the DEBUG EOFException. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876818#3876818 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876818 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Verify failed ... NoClassDef ... trying to figure out strang
Hi. Jboss 3.2.7, open EAR deploy, open ejb inside it, in the ejb there is a reference to a class file inside a jar file wich is referenced in application.xml. as a java module. Whem this class is inside a .jar file, i get a no classdef, when it is outside it, on a open jar module, the application deploy normally. Is there any difference in using open jars and closed ones ? Maybe the order they are loaded ? There are other classes wich are still inside jar files that do not have the same problem. tks Muanis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876846#3876846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876846 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - CachedConnectionManager popMetaAwareObject is not being call
any idea why in some cases CachedConnectionManager popMetaAwareObject method is not being called which causes an exception in unregister method??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876816#3876816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876816 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Could not start a transaction with the transaction manager
JBoss 4.0.1, Oracle 9.2. I'm getting the following exception happening in my app randomly. The exception message says "could not start a transaction", but it's coming from a method called "endTX". It does look like it's trying to end the transaction, since I see a commit() call in the stack trace, so maybe the exception message is just wrong? The 2nd nested exception message reads "Unable to commit", but I'm not seeing any other informative messages about why it's unable to commit. Any ideas? org.jboss.mq.SpyJMSException: Could not start a transaction with the transaction manager.; - nested throwable: (org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=redback.hmsonline.com/3992, BranchQual=, localId=3992] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.transaction.xa.XAException)) at org.jboss.mq.pm.jdbc3.PersistenceManager$TransactionManagerStrategy.endTX(PersistenceManager.java:1780) at org.jboss.mq.pm.jdbc3.PersistenceManager.add(PersistenceManager.java:460) at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:38) at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:131) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:414) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:390) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) at org.jboss.mq.il.rmi.RMIServerIL.addMessage(RMIServerIL.java:134) at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at org.jboss.mq.il.rmi.RMIServerIL_Stub.addMessage(Unknown Source) at org.jboss.mq.Connection.sendToServer(Connection.java:1020) at org.jboss.mq.SpySession.sendMessage(SpySession.java:1005) at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265) at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:212) at com.hmsonline.drench.engine.FlowEngine.sendRemote(FlowEngine.java:1308) ... 5 more Caused by: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=redback.hmsonline.com/3992, BranchQual=, localId=3992] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.transaction.xa.XAException) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) at org.jboss.tm.TxManager.commit(TxManager.java:200) at org.jboss.mq.pm.jdbc3.PersistenceManager$TransactionManagerStrategy.endTX(PersistenceManager.java:1775) at org.jboss.mq.pm.jdbc3.PersistenceManager.add(PersistenceManager.java:460) at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:38) at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:131) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:414) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:390) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) at org.jboss.mq.il.rmi.RMIServerIL.addMessage(RMIServerIL.java:134) at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHa
[JBoss-user] [Persistence & CMP/JBoss] - How implement finder method with bean inheritance?
I have a ProductBean which is the super class of BookBean, ClothesBean and I want to create a find method like: [CODE] public ProductRemote findAllInCategory(Integer categoryID) throws FinderException, RemoteException; [/CODE] Since each bean is going to have its own table, what's the best way to do this? Is this even possible with CMP find methods? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876809#3876809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876809 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: xdoclet 1.2.3 support for load-group and left-join tags
I think xdoclet team dont support left-join tag. If u open up the jbosscmp-jdbc_xml.xdt file from the xdoclet jar file in lib directory, you will see read-ahead tag only supports strategy page-size and eager-load-group tags under it. I think it is complicated by the fact that left-join could be recursive, means any number of levels deep, which xdt tagging mechanism may have problem with. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876837#3876837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876837 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss won't come up at all - tons of error messages
I don't know what you had been doing wrong, I have been trying a few installations today to see if I could reproduce your problems but none of them failed. The only possibilty really is that you had conflicting jars with your JDK. The only required environment variable to get JBoss started is JAVA_HOME after the JDK has been installed. The other steps you mentioned are not required. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63608 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876838#3876838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876838 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: session bean not working anymore on v 4.0.2
"[EMAIL PROTECTED]" wrote : Read the release notes on the class loading changes. Hi Scott, I've read the wiki on: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration And I understand the needs for these changes but I've not found an example on how to configure my applications with this new classloading mechanism. Could you explain it with an example? Of course if I revert to: true | true everything works again. Thank you in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876820#3876820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876820 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB CMP and mySQL
hi .. i've posted a problem in another forum but but this one here may be more suitable .. perhaps you have a hint solving this problems http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63637 thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876835#3876835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876835 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source
I also have a similar problem. I am using default HSQL DB and deployed Duke's bank. When I restarted server, I am getting the following error. 11:08:10,963 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ebankCu stomer,service=EJB org.jboss.deployment.DeploymentException: Error: can't find data source: java:/D efaultDS; - nested throwable: (javax.naming.NameNotFoundException: DefaultDS not bound) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntit yBridge.java:139) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBC StoreManager.java:420) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage r.java:353) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag er.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) 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:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:144) 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:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy41.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch I went JMX console and list the jndi. There was no DefaultDS. Please advise. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876823#3876823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876823 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames
Thanks for fixing this bug. Because of this issue, I preload all my cache objects during the initialization and disabled the eviction. That way call to getChildrenNames will always match what is present in my backend store. In what version can I expect to get this fix? I am currently using JBossCache 1.1 that comes with JBoss 3.2.6. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876807#3876807 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876807 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Notes on Twiddle
I'm fairly new to JBoss and I was trying to figure out how to administer JBoss via scripting. One word: twiddle. I did not find a lot of documentation or examples posted and for some reason I could not get it through my fat head. Anyhow, here's my explanation and a couple of examples: twiddle is the command line/scripting way to do everything you do in the jmx-console GUI. All you have to know is the syntax to communicate with a particular MBean. With twiddle you can get information about your server, query the server for MBeans, get the attributes of a particular MBean, invoke operations on an MBean, etc. Until I got used the various functions, I used the jmx-console to SEE the various domains, Mbeans and operations and then write the corresponding twiddle command for what I wanted to do. Here's some examples: Stop and Start an application ./twiddle.sh invoke jboss.web.deployment:id=-###,war=your-app.war stop ./twiddle.sh invoke jboss.web.deployment:id=-###,war=your-app.war start Note: ### is unique to your environment Dump the JNDI NameSpace ./twiddle.sh invoke jboss:service=JNDIView list true Query the server for a list of MBeans matching service=invoker* ./twiddle.sh -s your-server-name query 'jboss:service=invoker,*' Grab the state (started, stopped) of the httpInvoker ./twiddle.sh get jboss:service=invoker,type=http StateString Thanks, Ryan Ruebusch View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876825#3876825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876825 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Invalid invocation, check your deployment packaging in JBoss
I've just downloaded a 4.0.2 distribution and all my applications doesn't work. I'm getting the errors below invoking the EJB layer from the Web layer. My applications work perfectly with 4.0.1sp1 and 3.2.x versions. What's happening | javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.acme.dayafter.interfaces.Test com.acme.dayafter.interfaces.TestHome.create() throws | javax.ejb.CreateException,java.rmi.RemoteException | Thank you in advance Andrea View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876805#3876805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876805 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - classpath issues
I have a mbean that will be making an external call. Everything works fine when I put the third party jar in my sar. The next need, is to allow users of this mbean to change some of the params before deploying. I want to use your same pattern of packing the code in a jar and the test-service.xml with a | | It sees the classes in myMBean.jar but not in thirdparty.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876806#3876806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876806 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???
I too use Eclipse (w/o JBossIDE version), but just create an external tool to fire up run.bat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876800#3876800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876800 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Websphere 5.1 and Jboss-Cache, does not work.
I'll try that out, in the meantime - I just unjar'd the xmlc.jar package, unsealed it, then stuck in back in the AppServer/lib directory.. In anothe rnote, I start up the TreeCache via a CustomService (similar to the weblogic example) - the only problem is one can't bind it to JNDI (WebSphere only allows Serializable Objects to be bound). Instead, I had to go with a singleton approach. I was wondering how others did it.. Thanks, G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876824#3876824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876824 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Invalid invocation, check your deployment packaging in J
I've just RTFM ;-)) on the classloading issues, I understood the concepts but I don't see any out-of-the-box example how to be servlet spec compliant and still running my existing applications. Bye Andrea View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876817#3876817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876817 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Problem with CacheLoader getChildrenNames
It is going to be in 1.2.3. I'll release 1.2.3 in the next 2-3 weeks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876815#3876815 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876815 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: client log4j
Sorry Adrian, didn't want to get you angry. I am a Jboss newbie and I don't know too much in detail about Jboss debugging and problems/or not. As to my try{...} catch(...) {} block. You are of course completely right. It is totally wrong. I should have used better try{ } catch () { } finally{ jmsPub.close(); jmsConn.close(); } Now that you say it, it got back into my mind :) Thanks for feedback. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876814#3876814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876814 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: session bean not working anymore on v 4.0.2
Read the release notes on the class loading changes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876810#3876810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876810 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JBoss 4.0.1 and Firebird Issue (Yes, I RTF/RTM/RTW)
Hey all, I've RTM, I've searched the forums and been directed into FAQs and WIKI's, but I'm still having the NOTYETDEPLOYED problem. I turned on debugging, and in the server.log, I find: | 2005-05-06 12:08:18,348 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/E:/jboss-4.0.1sp1/server/default/deploy/firebird-ds.xml | ... | 2005-05-06 12:08:18,609 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory dependents are: [ObjectName: jboss.jca:name=DefaultDS,service=ManagedConnectionPool | state: CONFIGURED | I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory | | Depends On Me: jboss.jca:name=DefaultDS,service=TxCM | ] | ... | 2005-05-06 12:08:18,609 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.jca:name=DefaultDS,service=ManagedConnectionPool dependents are: [ObjectName: jboss.jca:name=DefaultDS,service=TxCM | state: CONFIGURED | I Depend On: jboss.jca:name=DefaultDS,service=ManagedConnectionPool | jboss.jca:service=CachedConnectionManager | jboss:service=TransactionManager | | Depends On Me: jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding | ] | ... | 2005-05-06 12:08:18,609 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.jca:name=DefaultDS,service=TxCM dependents are: [ObjectName: jboss.jca:name=DefaultDS,service=ConnectionFactoryBinding | state: CONFIGURED | I Depend On: jboss.jca:name=DefaultDS,service=TxCM | | Depends On Me: ] | ... down to: | 2005-05-06 12:08:18,869 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: firebird-ds.xml | 2005-05-06 12:08:18,869 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/E:/jboss-4.0.1sp1/server/default/deploy/firebird-ds.xml | But in my console, it says this: | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding | state: NOTYETINSTALLED | I Depend On: | Depends On Me: jboss.ejb:persistencePolicy=database,service=EJBTimerService | jboss:service=KeyGeneratorFactory,type=HiLo | jboss.mq:service=StateManager | jboss.mq:service=PersistenceManager | >From the server log, it appears that the DefaultDS source is being started, >and everything says configured, but I still have the problem. As for what I've done (aside from reading all the articles I could find on this): a- Copied the example firebird-ds.xml from the examples directory into my default deploy directory. Changed it to reflect the datasource name DefaultDS and my database settings. b- Copied the firebirdsql.rar into my default deploy directory. c- Removed the hsql* xml documents in jms, and created firebird versions of them. d- Tried with and without copying the firebirdsql.jar files to the default/lib directory - no difference between them. As far as I can tell, I haven't missed anything... Can someone lend me a hand? Thanks, Marc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876804#3876804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876804 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Sanity check for non-jdbc connections
OK, I found that the listener for the connection is not being called because it is being overwritten(?) and when the CLOSE event is sent nothing happens. I think the problem is my way of getting a connection: final DefaultFSResourceAdapterConnectionFactory cf = (DefaultFSResourceAdapterConnectionFactory) ServiceLocator.getInstance().getFSAdapter("FSResourceAdapter"); conn = (DefaultFSResourceAdapterConnection)cf.getConnection(); PrintWriter log = new PrintWriter(new FileWriter("test.log", true)); conn.setManagedConnection(new FSResourceAdapterManagedConnection(log)); Is the conn.setManagedConnection call correct??? This appears to be where the listener is overwritten. Am I doing this incorrectly? Again, thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876802#3876802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876802 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???
I use JBoss Eclipse IDE as opposed to run.bat to start JBoss instancese on my box. This allows me to debug using the Eclipse debugger and also allows me to just start JBoss without having to go to a command line and type "run.bat" (7 characters to type is too much :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876799#3876799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876799 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: jdbc2 pm and dirty flags
Great, that option speeds it up a little more (about 20% in a real world test). Unfortunately though , I seem to occasionally have uniquness violations on the pk for the n:m link tables. I will investigate further to see if I can build a testcase for this. Thanks, Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876797#3876797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876797 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Single sign on options
Use the all configuration as described in the wiki. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876796#3876796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876796 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Config files replication
What you are looking for is like MBean replication. We don't do that now. But you can use, for example, the existing TreeCache mbean service to replicate and your application can act as a TreeCacheListener to listen for that events. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876794#3876794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876794 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Single sign on options
Ok, I'm trying to get this to work as explained in the wiki. But when I uncomment out the line to turn on that valve and restart the server it does not start properly. Looks like there's a class not found exception, but there are som many errors that fly by I can't see what started it. As a result I can get to the http://localhost:8080/ ok, but if I try to launch an application (i.e. launch JMX console) I get a message indicating the connection was refused. I tried this with a fresh install of 4.0.2 with no other changes that this just to be sure that it wasn't something in my previous config, but I still get the same problem. Do I have to get the ClusteredSingleSignOn class somewhere else? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876793#3876793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876793 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Thread Size Control?
These are jvm configuration issues that jboss has nothing to do with. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876792#3876792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876792 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.
http://www.jboss.org/docs/jbossj2ee-src.zip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876791#3876791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876791 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: MBeanTrustPermission Error
You need to fix your security policy. If your not explicitly setting up a security manager, I have heard that some weblogic components do this under the covers so find out how to disable it from weblogic. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876790#3876790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876790 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Twiddle giving StreamCorruptedException: null descriptor
Create a bug report in jira with an example service which illustrates the problem: http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876789#3876789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876789 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Jboss 4.0.2 and Hibernate 3.0.2 problem
I have a Hibernate har archive that worked on Jboss 4.0.1sp1. I upgraded to 4.0.2. Both of these have the EJB-3.0 preview 5 installed. I changed the install of EJB 3.0 for 4.0.2 according to the directions. The failure happens during deployment. Here's the deployment start: 09:51:08,971 INFO [Configuration] Searching for mapping documents in jar: admin.har | 09:51:08,972 INFO [Configuration] Found mapping documents in jar: org/centerstone/admin/CostCenter.hbm.xml Then a bit of time passes with the messages like this: 09:51:24,475 WARN [UDP] discarded message from different group (Tomcat-Cluster). Sender was shawn:33970 The failure finally occurs about 3 minutes later: 09:54:23,054 ERROR [Configuration] Could not configure datastore from input stream | org.dom4j.DocumentException: Connection timed out Nested exception: Connection timed out | at org.dom4j.io.SAXReader.read(SAXReader.java:353) | | Nested exception: | java.net.ConnectException: Connection timed out | at java.net.PlainSocketImpl.socketConnect(Native Method) | ... | 09:54:23,078 ERROR [Hibernate] Starting failed jboss.har:service=AdminHibernate | org.hibernate.MappingException: org.dom4j.DocumentException: Connection timed out Nested exception: Connection timed out | at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:404) | at org.hibernate.cfg.Configuration.addJar(Configuration.java:497) | ... | Caused by: org.dom4j.DocumentException: Connection timed out Nested exception: Connection timed out | at org.dom4j.io.SAXReader.read(SAXReader.java:353) | at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:394) | ... | The contents of hibernate-service.xml in the archive are as follows: | | java:/XAOracleDS | org.hibernate.dialect.Oracle9Dialect | java:/hibernate/AdminSessionFactory | org.hibernate.cache.HashtableCacheProvider | | The datasource is up and running and I can query it directly from JSP. Any ideas? The other post with a similar title, I got past that with the install of EJB3.0, it came with collection-commons.jar already. Shawn Garbett View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876786#3876786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876786 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - LoginModule + LoginContext question
I'm using Authentication using j_seucurity_check. I'd like to switch it to a custom way using a struts action. My questions are: 1st - How do I set which configuration should my LoginContext shall use? 2nd - To provide the LoginModule (mine extends UserNameLoginModule) with desired UserName/Passwords I need to put them on the callBackHandler right? 3rd - How my web.xml shall looks like? I mean which kind of auth-method should I use on my login-config section Thanks a lot ppl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876785#3876785 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876785 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - What is this????
Someone know what kind of message is this: anonymous wrote : | 16:38:04,969 ERROR [sf] SocketException exception caught [Unexpected end of file from server] | 16:38:04,969 ERROR [org.jboss.nukes.component.Component.rss.sf] SocketException exception caught [Unexpected end of file from server] | How can I solve it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876784#3876784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876784 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How can i run a Demon when the Server is Start Up
Hello... At the moment I am in a project with Intelligent Agents developed in Java (.class). I need to initiate it at the moment at which the server Jboss starts. Anybody could help me? I am begginign to learn Jboss. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876783#3876783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876783 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - How can i run a Demon when the Server is Start Up
Hello... At the moment I am in a project with Intelligent Agents developed in Java (.class). I need to initiate it at the moment at which the server Jboss starts. Anybody could help me? I am begginign to learn Jboss. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876782#3876782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876782 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???
The suspend=y can also be useful when developing your own applications. I use this option when trying to debug an MBean that is started on deployment. Also I have been using this script on Windows for debugging my code, I get the warning but it has no negative side effects for me so I never got round to setting the alternative. A lot of windows users probably start JBoss in their development environment directly which means they do not need the run script for debugging. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876778#3876778 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876778 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ and Remote Embedded Clients
genman, Thank you for your response. My experience is limited to real-time embedded platforms but I would appreciate if you could elaborate, or point to reading material, on how to create a socket listener on JBoss, and have JBoss enqueue a JMS message per request. Thank you. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876775#3876775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876775 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss4.0.2 and hibernate3.0.2 deployer exception
Add commons-collections.jar to the lib directory of your server; I got it working that way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876774#3876774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876774 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???
Thanks mlybarger (and Stark). I ultimately came to figuring that out. I'm sure "suspend=y" is useful in developing the server but the JBoss user/developer is usually interested in debugging their owns apps from within their IDE. Now I'm dying to know what JBoss+Windows users use instead of the run.bat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876773#3876773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876773 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O
I guess JMS tables needs to be created at the time of the server startup.Do I need to explicitly create the JMS tables? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876770#3876770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876770 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O
I guess JMS tables needs to be created at the time of the server startup.Do I need to explicitly create the JMS tables? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876769#3876769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876769 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???
that suspend=y seems only usefull if you're debugging jboss itself, or if you're debuggin a startup servlet that'll be run when the app is deployed on startup. i'd guess most folks would rather the default be suspend=n. took me a bit to find this "bug" in the run.bat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876768#3876768 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876768 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss4.0.2 and hibernate3.0.2 deployer exception
Oh, by the way - i forget to say that on jboss4.0.0 all works fine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876767#3876767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876767 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - jboss4.0.2 and hibernate3.0.2 deployer exception
I'm trying to switch from jboss4.0.0 to 4.0.2(in both cases I use hibernate3.0.2) and I have a problem. I'm deploying a HAR with 5 mapping files - they are same in both cases. This is the source of hibernate-service.xml that I have written: | | | java:/OracleDS | org.hibernate.dialect.Oracle9Dialect | java:/hibernate/ZenithDealerServiceHibernateFactory | org.hibernate.cache.HashtableCacheProvider | true | | | And after deployment an exception occured: | 16:58:51,734 INFO [Environment] Hibernate 3.0.2 | 16:58:51,750 INFO [Environment] hibernate.properties not found | 16:58:51,750 INFO [Environment] using CGLIB reflection optimizer | 16:58:51,765 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 16:58:52,921 INFO [Hibernate] Using JDBC batch size : null | 16:58:52,953 INFO [Configuration] Searching for mapping documents in jar: DealerService.har | 16:58:52,953 INFO [Configuration] Found mapping documents in jar: ru/zenith/dealer/service/hibernate/Operatio.hbm.xml | 16:58:53,265 WARN [ServiceController] Problem starting service jboss.har:service=Hibernate | java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap | at org.hibernate.mapping.Table.(Table.java:33) | at org.hibernate.cfg.Mappings.addTable(Mappings.java:116) | at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:250) | at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235) | at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151) | at org.hibernate.cfg.Configuration.add(Configuration.java:360) | at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397) | at org.hibernate.cfg.Configuration.addJar(Configuration.java:498) | at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:602) | at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:578) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) | at sun.reflect.GeneratedMethodAccessor66.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:418) | at sun.reflect.GeneratedMethodAccessor9.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.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor46.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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Abs
[JBoss-user] [Management, JMX/JBoss] - Re: Twiddle giving StreamCorruptedException: null descriptor
Hi, I still am getting the Exception. I am using JBoss 4.0.1sp1 and I checked the twiddle.bat script and its using the client jars that came with this distribution. Also, I added to the Twiddle.bat script the location of my own jar files. I copied them to the client directory and added a set command to add it to the classpath variable (see below event-manager.jar is my jar) I still get the same exception. Do you have any other ideas? Thanks for the quick response. rem only include jbossall-client.jar in classpath, if rem JBOSS_CLASSPATH was not yet set if not "%JBOSS_CLASSPATH%" == "" GOTO HAVE_JB_CP set JBOSS_CLASSPATH=%DIRNAME%\..\client\jbossall-client.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\getopt.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\log4j.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\jboss-jmx.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xml-apis.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xercesImpl.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\dom4j.jar rem added MSA jars to classpath set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\event-manager.jar :HAVE_JB_CP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876760#3876760 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876760 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - base URI cannot be resolved in XSL on JBoss 4.0.1
Dear All, I've a web application that work fine in JBoss 3.2.5 but when I deploy it in JBoss 4.0.1 I receive the following error: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: File not Found Exception /form-script-jsp.xsl the error is in a file xsl (form.xsl) that contain: If I use the absolute path all work fine, but I'd like to continue with relative path. If I write: (without /) JBoss focus on bin directory of JBoss Home. Howewer form.xsl and form-script-jsp.xsl are in the same directory (the root of web application) and I don't know how I can resolve this problem Thanks in advance Vincenzo Sorrentino View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876759#3876759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876759 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Creating server side Web Services for JBoss using JBoss-IDE
Hi, It took me quite a long time to figure how to make development of WS easy enough with JBoss so I thought I would share my experience. Smart people out there, please forgive me if you already know this... and share your improvements. Tools Required First grab the tools: get the jwsdp from Sun (I use the 1.5) and the latest version of JBoss-IDE. You will need to upgrade JBoss-IDE to use xDoclet 1.2.2. There are a few posts out there on how to do that. If needed let me know and I will write a mini HowTo. My App Server is a JBoss 4.0.1 and I run Linux with a JDK 1.4.2. Design Considerations Now a small digression on Web Services. Web Services are no rocket science from a conceptual point of view. Doing an http(s) post of an xml has become rather common stuff for a while now. What makes WS complex is their implementation; you will have to choose between various flavors and remove all the marketing hype terms around them, only to start figuring out what you need to do. I personally found this a very unpleasant and time wasting exercise and I believe this is seriously hindering their use. This being said you will be left with really one choice: whether you want to make "RPC" style or "document" style calls to your web services. The reason for doing one or the other really is an expert debate. My view is that document (message) style looks better on paper and RPC is more common and easier to implement. I have successfully done both on JBoss. If you do not know what to choose, choose RPC. The other potential "choice" around WS is whether you want to use "literal" or "soap encoded" soap bodies.IMHO this is a non-choice, use literal, which uses xmlSchema to describe the objects you want to transit through your WS. (encoded still exists for historical reasons - lots of litterature on the subject). Supposedly, you can also choose another transport than http. I never tried - or saw - a WS over smtp. Finally you can decide whether you want a synchronous response or do "fire and forget" calls. In 99% of the cases you will want to send something AND receive a response (which is always a good idea as there is a grey area on error propagation with "fire and forget"/one way type of calls) In short a good combination is HTTP/RPC/literal/inout. The Descriptors Maze A second level of complexity with webservices is the number of xml descriptors you need to write/generate in order to deploy anything. Most of the learning curve is spent on what should generate what, and in what order. With the current state of development of xDoclet, here is what I suggest for the xml descriptors: -ejb-jar.xml: the file that describes what bean acts as the service-endpoint. Automatically generated by xDoclet (you need 1.2.2 or higher). -my.wsdl: the description of the webservices themselves (operations in WS talk), objects manipulated (types), ports to which the services are attached (1 port per file/service is advisable with JBoss), protocols to be used (http/RPC/literal). Write by hand! No it is not hard, just tedious and is the ONLY reliable way today to control what you want to expose. -mapping.xml: the jaxrpc-mapping file that describes the mapping between the plain old java objects and the xmlSchema types as well as between packages and namespaces. Generated by the wscompile.sh tool of the jwsdp package. I never managed to get xDoclet to properly generate a sufficiently detailed mapping file. That file is pure evil: do not even attempt to write it yourself. -webservices.xml: the deployment descriptor, a sort of meta-file for the app-server to indicate what other xml descriptor is linked to what ejb. Generated by xDoclet. In addition to all these descriptors, you will have wscompile.sh generate all the POJOS from your xmlSchema descriptions in your wsdl files as well as the Port interface which lists the web services operations/methods that you service-endpoint session EJB must implement. Project Configuration Now start with your project initial configuration: 1-xDoclet: add a wsee doclet to your configuration. On the dolcet itself configure: destDir: src/META-INF jaxRPCMappingFile: META-INF/mapping.xml wsdlFile: META-INF/wsdl/myservice.wsdl wseeSpec: 1.1 Add a deploymentDescriptor task with the property destDir set to src/META-INF and name set to MyService , the same name that you call your service in you my.wsdl file. Add two filesets: one that finds your service-endpoint session bean(s), one that lists the POJOS and interface generated by wscompile. That is it. Do not change anything else or ask xDoclet to generate any additional data. (if you manage to get a proper mapping.xml file though, please say so and how you did this). 2-Create a wsdl_compile.xml, and its related config.xml, in your src directory. This xml contains an Ant task which will help you generate using wscompile the POJOS from your wsdl file + the mapping.xml file + the port Interface. Here is the one
[JBoss-user] [Beginners Corner] - JBoss Security: how to implement security in a web app runni
Dear All, I am new to JBoss and have been trying to develop a web app. I need a simple way to implement security on my web app. I know I have to make some entries in the web.xml as follow: secruity-role secruity-constraint and add security-role-ref to servlets where necessary. I know that I have to add a security domain name to the jboss-web.xml file and I know of the existence of the jboss-login.xml file although I don't know what should go in there. What I need is to be able to create users with their passwords and associate them to roles. I want to do this declaratively. I was expecting this to be easy, I think it is but I just don't know how to go about it. I am familiar with the concept of security realm, roles, users identified by their passwords and assigning roles to users. I have done this in Bea WebLogic server via the admin console. I will be very grateful if someone could give me a simple idea of the main steps to follow, what files to change etc. I am using the default server configuration that comes with JBoss 4.0 for my web app. Many thanks in advance. Koudry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876755#3876755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876755 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss won't come up at all - tons of error messages
Is there a step-by-step requirements set of docs anywhere. My system works fine with Eclipse (not JBosse/Eclipse). I compile, make jars, run fine. This is sure painful cause the messages are sooo abundant. Your documentation makes it seem that it will work first time every time. Not so for some of us. ? Gil blais View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876754#3876754 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876754 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: No Internet Connection: Dom4J XML Parsing Error
Here is my web.xml file's contents: | | http://java.sun.com/dtd/web-app_2_3.dtd";> | | |Application | | | com.hello.security.SecurityServletListener | | | 20 | | | | action | org.apache.struts.action.ActionServlet | | definitions-config | /WEB-INF/tiles-defs.xml | | | definitions-debug | 1 | | | definitions-parser-details | 0 | | | definitions-parser-validate | true | | | config | /WEB-INF/struts-config.xml | | 1 | | | | ReportImageServlet | com.hello.utils.ImageServlet | 1 | | | | PdfServlet | com.hello.utils.PdfServlet | 1 | | | | DownloadFileServlet | com.hello.utils.DownloadFileServlet | 1 | | | | DelegateServlet | com.hello.utils.DelegateServlet | 1 | | | AppletServletDB | com.hello.core.actions.AppletServletDB | 1 | | | | IntegrationDelegate | org.jboss.webservice.server.ServiceEndpointServletJSE | | WebServiceID | hello.ear/my.war#PortComponent | | | ServiceEndpointImpl | com.hello.core.delegate.IntegrationDelegateImpl | | 1 | | | | ApplicationStartupServlet | com.hello.utils.ApplicationStartupServlet | 1 | | | | action | *.do | | | action | *.public | | | ReportImageServlet | /report_image | | | PdfServlet | /pdf_report | | | DownloadFileServlet | /download_file | | | DelegateServlet | /delegate | | | AppletServletDB | /geozone/bridge | | | IntegrationDelegate | /hellodelegate | | | ApplicationStartupServlet | /applicationStartupNoAccess | | | | | frames.jsp | | | | | 403 | /unAuthorizedError.public | | | | 400 | /unAuthorizedError.public | | | | 900 | [CDATA[/systemAccess.jsp?error=900]] | | | | 901 | [CDATA[/systemAccess.jsp?error=901]] | | | | /tags/global | /tags/global.tld | | | | /tags/struts-bean | /WEB-INF/struts_tags/struts-bean.tld | | | /tags/struts-html | /WEB-INF/struts_tags/struts-html.tld | | | /tags/struts-logic | /WEB-INF/struts_tags/struts-logic.tld | | | /tags/struts-layout | /WEB-INF/struts_tags/struts-layout.tld | | | /tags/struts-tiles | /WEB-INF/struts_tags/struts-tiles.tld | | | /tags/struts-nested | /WEB-INF/struts_tags/struts-nested.tld | | | | | Restricted | HELLO Module and Common Files Security | | /community/* | /fod/* | /menu/* | /message/* | /report/* | /survey/* | /system/* | /voicemail/* | | | | /index.jsp | /home.jsp | | *.do | HEAD | GET | POST | PUT | DELETE | | | SiteAdmins | Yes | BBS/VoiceMail | EventTracker | LaunchSession | Mobilization | Reports | LaunchSession | ok | | | | FORM | Secure Realm | | /login.public | /loginError.public | | | | A system adminstrative user. | SiteAdmins | | | A user: | | | | A user: BBS/VoiceMail | BBS/VoiceMail | | | A user: EventTracker | EventTracker | | | A user: LaunchSession | LaunchSession | | | A user: Mobilization | Mobilization | | | A user: Reports | Reports | | | A user: LaunchSession | LaunchSession | | | A Person From : ok | ok | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876753#3876753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876753 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourc
[JBoss-user] [Installation & Configuration] - Page not displayed error
Hi , I am running a J2EE application On Jboss located in italy . when i access it from italy thru VPN , it throws the page not displayed error frequently while broswing the J2EE application . if i access it from INDIA thru the normal LAN , i do not receive the error . does it have to do with network or some settings in JBOSS , even if it is a network issue then why do i receive it in JBOSS only . please advice !! thanx in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876752#3876752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876752 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: aultString: Internal Server Error (deserialization error
Can you show us the incomming message? You should be able to get it from the log file when you put the axis category in debug mode. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876750#3876750 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876750 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
I m also getting the same problem "org.jboss.mq.SpyJMSException" but the thing is that i m not using any entity bean , i m using hibernate.plz anyone help me out. Prasad Joshi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876749#3876749 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876749 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
The classes should go with the other classes in your EJB endpoint deployment. Below META-INF is definitely incorrect. Have you followed the StepByStep tutorials on doc/lit? There are also samples available at the bottom of the wiki that use doc/lit. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876748#3876748 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876748 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: No Internet Connection: Dom4J XML Parsing Error
Please show me the web.xml in my.war? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876746#3876746 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876746 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: NullPointerException when using Java Server Faces
Hi, IÂve being doing some tests with Java Server Faces and under the Servlet Engine: Apache Tomcat/5.0.27 standalone the application works fine while using Jboss 4 as I mentioned it gives me that error, so .. itÂs problably some problem with JBoss engine. any Clues? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876745#3876745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876745 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: How do I avoid
"triathlon98" wrote : - the system tries to reduce the number of db accesses as much as possible. It does this by caching the state and only saving at certain events (somewhat depending on your configuration). IIRC it normally it saves before each finder/selector invocation or (when sync-on-commit-only is true) only at the end of the transaction. | Fair enough "triathlon98" wrote : | - Maybe you know you don't need it again, but Jboss doesn't and there is no standard way to indicate this to the container. | | - An entity is considered dirty when the state has changed and the data needs to be written to the db again. As long as the data is dirty the entity cannot be discarde, or you would loose you changes. Adrian suggested you enhance JBoss so that it throws away entities when it tries to passivate if the entity is not dirty (and hence some memory would be fred and you would not get the passivation warning). | In my case this would not help as all the data is dirty as it has all just been created in the current transaction. What I would really like to do is be able to indicate to JBoss that a particular entity bean will no longer be changed in the current transaction i.e. readonly-for-rest-of-transaction. The logic for passivation could then be changed so that if an object is in a transaction but has been marked as 'readonly-for-rest-of-transaction' then the state of the object can be sent to the DB and the object can then be passivated. Obviously the writing to DB would happen on the set of passivatable, dirty, readonly-for-rest-of-transaction entities rather than individually. Does this make sense? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876744#3876744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876744 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Forum Portlet will not build, buildmagic.ent:116 error
I am running JBoss 4.0.1sp1 with Portal 2.0-beta1 and trying to build and install Forum 2.0-beta1a. The generatl environment is: OS=SuSE 9.0, java=1.4.2, Ant=1.6.1. The dirrectory structure for the build is: |-forums |-+fourm |-+tools( this is a copy portal\tools due to forum 'build.sh' dependancy resolution) |-portal |-+tools When I run 'sh build.sh ddl' from the forums/forum directory I get: anonymous wrote : | sh build.sh ddl | build.sh: *WARNING* Ignoring environment value for $ANT_HOME | build.sh: Executing: /tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger ddl | Buildfile: build.xml | | _buildmagic:init: | Trying to override old definition of task property | | BUILD FAILED | ../tools/etc/buildfragments/buildmagic.ent:116: Reference dbunit.dbunit.classpath not found. | | Total time: 2 seconds | Again, I am using the 'tools' directory for this forum build. I appreciate your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876742#3876742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876742 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: How do I avoid
- the system tries to reduce the number of db accesses as much as possible. It does this by caching the state and only saving at certain events (somewhat depending on your configuration). IIRC it normally it saves before each finder/selector invocation or (when sync-on-commit-only is true) only at the end of the transaction. - Maybe you know you don't need it again, but Jboss doesn't and there is no standard way to indicate this to the container. - An entity is considered dirty when the state has changed and the data needs to be written to the db again. As long as the data is dirty the entity cannot be discarde, or you would loose you changes. Adrian suggested you enhance JBoss so that it throws away entities when it tries to passivate if the entity is not dirty (and hence some memory would be fred and you would not get the passivation warning). Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876741#3876741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876741 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Need help with org.jboss.deployment.DeploymentException: ql-
Hi all, I'm trying to deploy a little application on JBoss 3.2.6 and Postgres 8.0.1. Strangely, I always get this Exception ... org.jboss.deployment.DeploymentException: ql-compiler is not specified. .. when deploying my 3 little EJBs. Has anyone encountered this before and might give me some advice, there's precious little to be found on the net. Thanks for your input, JÃrg Henschel Stacktrace: ... 13:30:22,436 INFO EARDeployer Init J2EE application: file:/C:/Programme/jboss/jboss-3.2.6/server/jhenschel/deploy/dev.ear 13:30:28,155 INFO EjbModule Deploying Test 13:30:28,311 INFO EjbModule Deploying Stateful 13:30:28,358 INFO EjbModule Deploying Stateless 13:30:29,811 ERROR EntityContainer Starting failed jboss.j2ee:jndiName=/TestLocalHome,service=EJB org.jboss.deployment.DeploymentException: ql-compiler is not specified. at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.getInstance(JDBCQueryManager.java:87) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:39) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:272) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:155) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337) .. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876740#3876740 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876740 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Twiddle giving StreamCorruptedException: null descriptor
The exception must come from this: |private void readObject(ObjectInputStream ois) | throws IOException, ClassNotFoundException |{ | ObjectInputStream.GetField getField = ois.readFields(); | descriptor = (Descriptor) getField.get("attrDescriptor", null); | if (descriptor == null) | throw new StreamCorruptedException("Null descriptor?"); |} | This seems like a serialization issue. I haven't looked into the details, but the first think to check is whether you use the exact same jboss libraries in the client and whether the client has access to your own jars. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876739#3876739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876739 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - MBeanTrustPermission Error
I tried to add the bea weblogic jndi namespace to the jndi namespace of my JBoss 4.0.2 server as external context for latter access of bea's jms queues. according to the documentation I tried this by deploying the following extjndi-service.xml within JBoss. | | | | external/Bea | true | | java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory | java.naming.provider.url=t3://localhost:7001 | java.naming.factory.url.pkgs=org.jnp.interfaces | | javax.naming.InitialContext | true | | but when I try to even start the jmx console on localhost to test the deployment with JNDIView I get the following error output: 2005-05-06 10:41:17,240 ERROR [org.apache.commons.modeler.Registry] Error registering jboss.web:name=HttpRequest1,type=RequestProcessor,worker=http-0.0.0.0-8080 | java.lang.SecurityException: MBeanTrustPermission(register) not implied by protection domain of mbean class: org.apache.commons.modeler.BaseModelMBean, pd: ProtectionDomain (file:/C:/work/jboss4_02/server/default/tmp/deploy/tmp21882commons-modeler.jar ) | [EMAIL PROTECTED] url=file:/C:/work/jboss4_02/server/default/deploy/jbossweb-tomcat55.sar/ ,addedOrder=10} | | [EMAIL PROTECTED] ( | (java.io.FilePermission C:\work\jboss4_02\server\default\tmp\deploy\tmp21882commons-modeler.jar read) | (java.io.FilePermission C:\work\jboss4_02\server\default\deploy\jbossweb-tomcat55.sar read) | ... | Any idea how I can get rid of that error and to federate the remote jndi namespace into jboss's jndi namespace? any information pointing me in the right direction is welcomed. regards, chris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876738#3876738 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876738 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Tomcat-LoadBalancer-Jboss problem
We have two jboss3.2.RC2 servers in a cluster and a load balancer in front of this cluster which handles the request. When I try to access this application I got the 500 Internal Server error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.50 (Linux/SUSE) Server at Port 443 What information that I have is we are not using mod_jk,apache for load balancing but load balancing is achieved using tomcat. One more point ssl is handled at apache level. Please help me to solve this problem.I don?t know What?s going wrong View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876737#3876737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876737 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: client log4j
Sorry, ignore me I'm talking crap ic.lookup("java:/JmsXA"). . Cheers, Mike. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876736#3876736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876736 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: client log4j
It's entirely possible that the Exception message is a red hearing however I neglected to mention that when using a transacted session the message never arrives on the Queue (the exception is the only relevant message in the log to indicate that the publishing failed). It works fine when using a non-transactional session. My pusblishing class is: public void send(Serializable payload) throws NamingException, JMSException | { | QueueConnectionFactory fact = null; | QueueConnection cn = null; | Queue q = null; | | InitialContext ic = new InitialContext(); | fact = (QueueConnectionFactory) ic.lookup("ConnectionFactory"); | q = (Queue) ic.lookup(getJndiName()); | | try | { | cn = fact.createQueueConnection(); | QueueSession sess = cn.createQueueSession(true, 0); | cn.start(); | QueueSender qs = sess.createSender(q); | Message message = sess.createObjectMessage(payload); | qs.send(message); | } | finally | { | if (cn != null) | { | try { cn.close(); } | catch (Throwable t) { System.out.println(t.getMessage()); } | } | } | } I'm fairly certain that code above is correct for sending a message transactionally. Its called from within a Stateless Session Bean method with a transaction type of Required. If no one can point out anything functionally wrong with the above I will raise a jira case for this. I have an isolated test case that will replicate the problem. Mike. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876734#3876734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876734 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: How do I avoid
I suppose that is what I do not understand: why is passivation not allowed just because I am in the midst of a transaction? In this particular transaction once I invoke create to create the entity bean I retrieve its primary key and then no longer need access to that bean during the transaction. There is absolutely no need for me to have those objects hang around in memory. If I were using JDBC I would not get this problem. So from what you suggested I should be able to stick in a configurable option to allow this? Why should it only be allowed if the data is dirty and not if it is clean? Thanks a million Andreas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876732#3876732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876732 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Illegal State Exception with EJB via http-communication
I am using JBoss 3.2.1 with Jetty and I am using http as a communication mechanism between the EJB-clients and JBoss. This works fine 99% of the time, but sporadically I am observing errors of the following type in the log file: | 16:00:10,000 WARN [jbossweb] WARNING: Exception for /invoker/EJBInvokerServlet | java.lang.IllegalStateException: committed | at org.mortbay.jetty.servlet.ServletHttpResponse.resetBuffer(ServletHttpResponse.java:224) | at org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:145) | at org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:171) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) | at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507) | at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) | at org.mortbay.http.HttpServer.service(HttpServer.java:863) | at org.jboss.jetty.Jetty.service(Jetty.java:460) | at org.mortbay.http.HttpConnection.service(HttpConnection.java:775) | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939) | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792) | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201) | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) | In addition I can observer sporadic misfunction of the application, which seem to occur conjunction with the existence of these log entries, if I compare the time stamps in the log file with the time of the occurance of the misfunction. Best regards, KB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876731#3876731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876731 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Websphere 5.1 and Jboss-Cache, does not work.
What if you put the relevant JMX libs from JBoss into the *ext* directory or the JDK ? Maybe that helps ... ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876726#3876726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876726 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user