[JBoss-dev] [JBoss JIRA] Created: (JBREM-82) Bad warning in Connector.
Bad warning in Connector. - Key: JBREM-82 URL: http://jira.jboss.com/jira/browse/JBREM-82 Project: JBoss Remoting Type: Bug Components: transport Versions: 1.2.0 beta Environment: In Jboss Head (CVS) Reporter: rimmeraj Assigned to: Tom Elrod Priority: Minor JBoss head: remoting/src/main/org/jboss/remoting/transport/Connector.java , start method after you create the server invoker you try to register it with the mbean server. If it fails you register a warning. When you are using the ejb3 deployers it registers its own socket Connector. It is quite legal to have the standard Connector in conf/jboss-service.xml registers a socket protocol. The EJB3 deployer registers a socket listener on a different port. This triggers an annoying warning that in my option is more of a programming error that a valid warning. Warning. Error registering invoker [EMAIL PROTECTED] with MBeanServer. javax.management.InstanceAlreadyExistsException: jboss.remoting:service=invoker,transport=socket already registered. Suggested Fix. 1. org/jboss/remoting/transport/InvokerRegistry.java, createServerInvoker should log a warning if the InvokerLocator is already found. 2. Connector.java, start should check to see if the object name is not registered before trying. Something like ObjectName name=new ObjectName(invoker.getMBeanObjectName()); try { server.getInstance(name); } catch(InstanceNotFoundException e) { server.registerMBean(invoker, name); invoker.setMBeanServer(server); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Design of the JBoss EJB Container] - JBoss 5.0 alpha
When I am trying to start the JBOSS I get ServiceConfigurator] Problem configuring service jboss.deployment:type=DeploymentScanner,flavor=URL org.jboss.deployment.DeploymentException: No Attribute found with name: FilterInstance If I change the attribute to Filter, I get [ServiceConfigurator] Problem configuring service jboss.deployment:type=DeploymentScanner,flavor=URL org.jboss.deployment.DeploymentException: Exception setting attribute [EMAIL PROTECTED] on mbean jboss.deployment:type=DeploymentScanner,flavor=URL; - nested throwable: (javax.management.InvalidAttributeValueException: Set attribute has class class org.jboss.deployment.scanner.DeploymentFilter loaded from [EMAIL PROTECTED] that is not assignable to attribute class class java.lang.String loaded from null) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:573) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3870091#3870091 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3870091 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JBoss JIRA] Created: (EJBTHREE-93) Annotations need to be updated to latest EJB spec
Annotations need to be updated to latest EJB spec - Key: EJBTHREE-93 URL: http://jira.jboss.com/jira/browse/EJBTHREE-93 Project: EJB 3.0 Type: Bug Versions: Preview 5 Reporter: rimmeraj I have come across a couple of problems in the annotations with the release of the EJB 3.0 Draft 2 spec. javax.ejb.BusinessMethod is missing javax.persistence.NamedQuery is VERY wrong -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: NPE in org.jboss.mq.pm.jdbc3.PersistenceManager in Jboss
But are they really not trying to DELETE_TEMPORARY_MESSAGES ? That way it should look like .. reparedStatement stmt = null; try { if(txid == null) { stmt = c.prepareStatement(DELETE_TEMPORARY_MESSAGES); } else { stmt = c.prepareStatement(DELETE_MARKED_REFERENCES); stmt.setLong(1, txid.longValue()); stmt.setString(2, mark); } stmt.executeUpdate(); } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849768#3849768 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849768 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - NPE in org.jboss.mq.pm.jdbc3.PersistenceManager in Jboss 4.0
I posted this to user, but after no response and sleeping on it , I thought it should be posted here... Kick me if I'm wrong... I am trying to jbbc3 persistance for jms. Here is the backtrace 15:24:16,572 ERROR [PersistenceManager] Starting failed jboss.mq:service=PersistenceManager java.lang.NullPointerException at org.jboss.mq.pm.jdbc3.PersistenceManager.removeMarkedReferences(PersistenceManager.java:1559) at org.jboss.mq.pm.jdbc3.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:1325) at org.jboss.mq.pm.jdbc3.PersistenceManager.startService(PersistenceManager.java:1139) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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 org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at org.jboss.system.ServiceController.start(ServiceController.java:438) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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 $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Looking at the code .. the call removeMarkedReferences(c, null, T); the method protected void removeMarkedReferences(Connection c, Tx txid, String mark) throws SQLException { PreparedStatement stmt = null; try { stmt = c.prepareStatement(DELETE_MARKED_REFERENCES); stmt.setLong(1, txid.longValue()); stmt.setString(2, mark); stmt.executeUpdate(); } I'm assuming that the NPE is that txid is null? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849709#3849709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849709 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - Re: Missing class in jbosssx-client.jar in 3.2.5
Well I did a quick check of 3.2.6RC2 and definately the class is not in the client and the invoker calls it.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848778#3848778 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848778 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - Missing class in jbosssx-client.jar in 3.2.5
I am trying to call a remote method with the http invokers. The client has the jar files in the client directory of the jboss configuration. When I run it I get (see trace below) if I use the jbosssx.jar in the lib dir it works fine. Exception in thread main javax.naming.NamingException: Failed to retrieve Naming interface. Root exception is java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.(DashoA6275) at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(DashoA627 5) at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275) at sun.net.www.http.HttpClient.openServer(HttpClient.java:386) at sun.net.www.http.HttpClient.openServer(HttpClient.java:602) at sun.net.www.protocol.https.HttpsClient.(DashoA6275) at sun.net.www.protocol.https.HttpsClient.a(DashoA6275) at sun.net.www.protocol.https.HttpsClient.a(DashoA6275) at sun.net.www.protocol.https.HttpsClient.a(DashoA6275) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.plainConne ct(DashoA6275) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Da shoA6275) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec tion.java:574) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnec tion.java:1169) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475) at java.net.URLConnection.getContentLength(URLConnection.java:370) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Dasho A6275) at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingCont extFactory.java:112) at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingCo ntextFactory.java:65) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at com.candata.util.ejb.PropertiesBusFactory.lookupHome(Unknown Source) at com.candata.util.ejb.PropertiesBusFactory.getHome(Unknown Source) at com.candata.client.test.LocalTest.main(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848660#3848660 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848660 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Security on JBoss] - Re: Missing class in jbosssx-client.jar in 3.2.5
Sorry wrong backtrace. Try Exception in thread main java.lang.NoClassDefFoundError: org/jboss/security/GetPrincipalInfoAction at org.jboss.security.SecurityAssociationAuthenticator.getPasswordAuthentication(SecurityAssociationAuthenticator.java:23) at java.net.Authenticator.requestPasswordAuthentication(Authenticator.java:198) at sun.net.www.protocol.http.HttpURLConnection$1.run(HttpURLConnection.java:147) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.privilegedRequestPasswordAuthentication(HttpURLConnection.java:143) at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(HttpURLConnection.java:985) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:618) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1169) at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:475) at java.net.URLConnection.getContentLength(URLConnection.java:370) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(DashoA6275) at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:112) at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:65) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at com.candata.util.ejb.PropertiesBusFactory.lookupHome(Unknown Source) at com.candata.util.ejb.PropertiesBusFactory.getHome(Unknown Source) at com.candata.client.test.LocalTest.main(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848661#3848661 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848661 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: JBossCache over HTTP for rich client communication
The conclusion I came to was that in writting Business Applications with a Rich Client interface we needed to tweak the MVC paradigm. I am working on javaclient.sourceforge.net (there is only stuff in CVS, basic example, putting together Web pages today as we speak.) My thought is to split the Controller into a Client Side and a Server Side, with the model getting replicated at client and server transparently using the JBoss invoker stack. The Server side being represented by a SSB. So the business logic updates the Server side model which then gets updated on the Client and propigates out to the view. That way the minimum amout of data is moving back and forth. I looked at using JBossCache to represent the model, but there are a couple of cases where you just want the data to flow through and not be saved. For example if you are browsing a customer list in a table you really only want to ship the data across the wire and view it. Then on each line store the primary key for the line and ship that back when the line is selected. I think the bigger issus is that the model only needs to be synchronized when a Server Controller method is called. Otherwise the data can just sit on the client and only be updated when it is needed on the server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843532#3843532 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843532 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development