[JBoss-user] [Management, JMX/JBoss] - JBoss LoggingMonitor MBean Submission
I have submitted a JBoss Logging Monitor MBean that provides for the logging of specified MBean attributes. >From the introduction section of the wiki: anonymous wrote : The JBoss LoggingMonitor service is similar in purpose to the other monitoring services provided as a part of JBossAS in the org.jboss.monitor package. The JBoss LoggingMonitor service monitor's the specified attributes of a MBean periodically and logs their value to the filename specified. This file can then be used for debugging and/or charting JBoss services information based upon your specific use case(s). More information is available from the wiki: http://www.jboss.org/wiki/Wiki.jsp?page=JBossLoggingMonitor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876248#3876248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876248 --- 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: failed to restore state; stateful session bean
Release 4.0.2 is due this week. Can you try out that version since I have made couple of fixes there. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876245#3876245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876245 --- 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: 2 jboss instances clustered using same server
HA-Singlton is using the DefaultPartition. Easiest way is to change the mcast address and port instead of partition name. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876244#3876244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876244 --- 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: Read-mostly best practice on jboss4.0.1sp1
I don't get your rationale of not to depend on TreeCache version. The minute you run clustering, you get vendor specific tie in already. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876243#3876243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876243 --- 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: Isolating web contexts in different EARs
Not quite clear on what you want. But sounds like you need a scoped class loader? -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876242#3876242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876242 --- 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: Problem replicating sessions
Does this error happen when you don't add jvmRoute? Thanks, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876241#3876241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876241 --- 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: Applet and EJB
I'm having a similar issue. When I invoke the create method on my bean, I get an error (see below). I have signed my applet and I'm looking up the context using the following code: Properties jndiProps = new Properties() ; String myServer = this.getCodeBase().getHost (); jndiProps.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory" ) ; jndiProps.setProperty("java.naming.provider.url", "127.0.0.1:1099" ) ; jndiProps.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ) ; participantHome = (DrawingParticipantSessionHome)PortableRemoteObject.narrow( new InitialContext(jndiProps).lookup( "ejb/chickenscratch/drawing/bus/ejb/DrawingParticipantSession" ), DrawingParticipantSessionHome.class) ; The server is hosted on my local machine (so 127.0.0.1 should be the correct IP). I've also validated that the JNDI name I'm passing is correct. Can anyone offer any suggestions? java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkMemberAccess(Unknown Source) at java.lang.Class.checkMemberAccess(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at org.jboss.invocation.MarshalledInvocation$DeclaredMethodsAction.run(MarshalledInvocation.java:571) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.invocation.MarshalledInvocation.getFullInterfaceHashes(MarshalledInvocation.java:157) at org.jboss.invocation.MarshalledInvocation.calculateHash(MarshalledInvocation.java:303) at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:473) at java.io.ObjectOutputStream.writeExternalData(Unknown Source) at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) at java.io.ObjectOutputStream.writeObject0(Unknown Source) at java.io.ObjectOutputStream.writeObject(Unknown Source) at sun.rmi.server.UnicastRef.marshalValue(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:163) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:103) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91) at $Proxy0.create(Unknown Source) at chickenscratch.app.applet.DrawingApplet.init(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876239#3876239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876239 --- 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] - Replication/Cluster domain
Hey, I'm looking at using TreeCache as a distributed cache in a project I'm currently working on. Quesiton is; if I have two business tier app servers where I want to cluster TreeCache across the two, but also have two web servers where I want to use the cached objects placed there from business, but do not want those servers to store local copies of any cached data, how would I go abouth that? (Hope that is vaguely understandable) Essentially; I need to be able to look up a cache instance on one(don't care which) business tier server form the web tier. I still want to replicate the cached objects between the two business tier servers for failover, but don't want a local cache on the web tier. Can I do a JNDI lookup from web to business and keep a reference to the cache? The reason that the web servers should not be a part of the cache cluster is because someone has decided they want them to be as 'light' as possible and so we need to explore alternatives to replicating the object to those servers. This is to sit in a Webpshere environment. Thoughts? Thanks for your time, Paul View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876236#3876236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876236 --- 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] [News & Announcements] - 4.0.2 Release Available
The 4.0.2 release is available from sourceforge here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=312621 The release notes are available here: Changes between 4.0.2 and 4.0.2RC1 Changes between 4.0.1 and 4.0.2RC1 Issue and feature requests for JBossAS can be entered on the jira project page at: http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876233#3876233 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876233 --- 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] - jboss4, EJB local interfaces, and multiple isolated EARs??
Ok I don't know how to get around this issue: 1. Entity beans are in an EAR and deployed correctly 2. Session beans are in another EAR with a WAR for web requests 3. EAR isolation is ON b/c we will be having multiple versions of the (session beans + web app) deployed 4. Entity beans are not bundled into the EAR/web-app b/c they need to be global to a few apps deployed on jboss. How is it possible to have 2 EARs reference the same EJB/Entity/Locals? Is there a way to use the local interfaces across EARs without ClassCastExceptions getting thrown? Any workarounds aside from Remote? What does EAR-ISOLATION do when you have an single EAR and a standalone-JAR in the deploy folder in terms of the UCL? Is there a way that the standalone-JAR could pollute the (isolated)EAR classloader or vice versa? Is it allowable to put the entity beans in a standalone jar, deploy that jar, then reference those local/ejbs within the (isolated)EAR/web-app(s)? What would you do to support this problem on jboss4 ? Thanks. Nate Johanson View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876232#3876232 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876232 --- 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: JBoss 4.0.1 SP1 and JOSSO
"[EMAIL PROTECTED]" wrote : So the user of those methods has to ensure that the active subject has been set. This is now decoupled from the authenticate call. That makes sense. The only thing I haven't seen is an exposed setActiveSubject method anywhere. What I ended up doing is creating a PrivilegedAction that calls the SecurityAssociation.setSubject method. Can I assume that this is the correct entry point to make sure that the activeSubject is set properly? It seems to work, but I'd like to be sure that I'm setting the correct thing. Also, is there some 4.x-specific Jaas documentation that covers this? Everything I've seen so far documentation-wise on this topic seems to be specific to the 3.x line. I hate to ask questions if it's properly documented and I haven't managed to find the correct document. Thanks again for your time, Marc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876231#3876231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876231 --- 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: Netboot from a server that requires Basic Authentication
Were you able to get 4.0.x to boot any configuration other than 'minimal'? Any configuration I try, all or default, fails miserably. The first error I see in the log is: = | | JBoss Bootstrap Environment | | JBOSS_HOME: /ms/svc/appserver/jboss4-netboot | | JAVA: /ms/local/jdk1.5.0/bin/java | | JAVA_OPTS: -server -Dprogram.name=run.sh | | CLASSPATH: /ms/svc/appserver/jboss4-netboot/bin/run.jar:/ms/local/jdk1.5.0/lib/tools.jar | | = | | 21:03:08,182 INFO [Server] Starting JBoss (MX MicroKernel)... | 21:03:08,183 INFO [Server] Release ID: JBoss [Zion] 4.0.2RC1 (build: CVSTag=JBoss_4_0_2_RC1 date=200503140913) | 21:03:08,184 INFO [Server] Home Dir: /ms/svc/appserver/jboss4-netboot | 21:03:08,184 INFO [Server] Home URL: http://scam/netboot/ | 21:03:08,184 INFO [Server] Library URL: http://scam/netboot/lib/ | 21:03:08,185 INFO [Server] Patch URL: null | 21:03:08,185 INFO [Server] Server Name: default | 21:03:08,186 INFO [Server] Server Home Dir: /ms/svc/appserver/jboss4-netboot/server/default | 21:03:08,186 INFO [Server] Server Home URL: http://scam/netboot/server/default/ | 21:03:08,186 INFO [Server] Server Data Dir: /ms/svc/appserver/jboss4-netboot/server/default/data | 21:03:08,186 INFO [Server] Server Temp Dir: /ms/svc/appserver/jboss4-netboot/server/default/tmp | 21:03:08,187 INFO [Server] Server Config URL: http://scam/netboot/server/default/conf/ | 21:03:08,187 INFO [Server] Server Library URL: http://scam/netboot/server/default/lib/ | 21:03:08,187 INFO [Server] Root Deployment Filename: jboss-service.xml | 21:03:08,191 INFO [Server] Starting General Purpose Architecture (GPA)... | 21:03:08,693 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc. | 21:03:08,693 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_01-b08,Sun Microsystems Inc. | 21:03:08,693 INFO [ServerInfo] OS-System: Linux 2.4.21-15.ELsmp,i386 | 21:03:09,275 INFO [Server] Core system initialized | 21:03:15,227 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 21:03:15,307 INFO [WebService] Using RMI server codebase: http://dupe.eng.atl.earthlink.net:8083/ | 21:03:15,555 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] | 21:03:15,673 WARN [XMLLoginConfigImpl] End loadConfig, failed to load config: http://scam/netboot/server/default/conf/login-config.xml | org.jboss.security.auth.login.ParseException: Encountered " | ... | | at org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:389) | The next is: | 21:03:16,757 ERROR [MainDeployer] Could not initialise deployment: http://scam/netboot/server/default/deploy/jboss-aop.deployer/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml | The list goes on and on with similar errors. I really hope there is a working example of a configuration other than 'minimal' as we want to be able to use clustering, etc... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876230#3876230 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876230 --- 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: Please speak Spanish
Voy a probar si con un Integer de Oracle me funciona y le cuento... muchas gracias por su respuesta... si no es mucha indiscrecion, a que se dedica usted y donde, por si en un futuro necesito mas informacion, ya sabe con lo de la tesis... y si me puede enviar su correo el mio es [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876228#3876228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876228 --- 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] - The connection has already a clientID
Hi, Trying to refactor a piece of code from a friend from 2001, I have a JMS warning: | 20:50:28,000 INFO [JMSContainerInvoker] Trying to reconnect to JMS provider | 20:50:28,015 WARN [JMSContainerInvoker] JMS provider failure detected: | javax.jms.IllegalStateException: The connection has already a clientID | at org.jboss.mq.Connection.setClientID(Connection.java:521) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:696) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:862) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1432) | at java.lang.Thread.run(Thread.java:534) | 20:50:28,015 INFO [JMSContainerInvoker] Reconnected to JMS provider | I use jboss-4.0.2RC1 with these config files : - jboss.xml | | | | AddSchoolListener | Standard Message Driven Bean | topic/addschool | TPCAddSchool | ** | TPCAddSchool | | | | | mail/Mail | TPCMail | | | | - conf/login-config.xml modificated to use file-state-service.xml (move comments on database config) - default deploy/jms/file-state-service.xml, indicating to use jbossmq-state.xml file - conf/jbossmq-state.xml | | | | TPCAddSchool | ** | TPCAddSchool | | | | | TPCAddSchool | TPCAddSchool |addschool | | | | - deploy/jms/hsqldb-jdbc-state-service.xml removed - other config files are default files If someone has an idea of what happend here, I would be happy :) I have searched a lot (on this forum, wiki and with google) but haven't found the solution. I'm still in the fog :( Thanks all and have a nice day. -- Praline View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876225#3876225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876225 --- 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] - How to deploy multiple webservices, copied .ear files, diffe
Looking for insight regarding how to deploy two instances of a webservice under JBoss? Two instances, meaning, I have two .ear files. Both contain the SAME thing, but the webservices they define are deployed under different tree's under JBoss and are accessed via different URLs. Why do this? Here's why; Suppose our Webservice developer builds/deploy a ?testApp.ear? and hits a URL to test the webservices he developes. We have client side (web application) developers that need to test their code using these webservices. But these clients need to hit a DIFFERENT instance of the same webservices the webservice developer is creating. I assume these services are accessed via different ports, or different URLs. I assume this also means we need to deploy two different ?.ear? files. It seems easy to deploy multiple instances of the same web application under JBoss. It appears JBoss associates the .war file name with the webroot and thus each deployed .war file will have a corresponding URL needed to test each deployment. However, with Webservices, simply renaming the .ear file and deploying the two won?t work. The 2nd deployment fails. I get errors like this; org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.har:service=Hibernate If my webservice is all wrapped up into two DIFFERENT .ear files, I basically need to figure out how to deploy BOTH so that one group of developers can hit one deployment while the other group hits the other deployment. JBoss hopefully has a guide that addresses this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876223#3876223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876223 --- 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: Please speak Spanish
Hola si esto es Oracle, deberias de usar la llave the PK que sea un integer en vez de numero, y cambia el mapero. Ademas, el PK en Oracle, es una "auto-increment" ID o la tienez que evaluar o calcular cada ves ? marcos Oliva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876222#3876222 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876222 --- 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: Please speak Spanish
Hola si esto es Oracle, deberias de usar la llave the PK que sea un integer en vez de numero, y cambia el mapero. Ademas, el PK en Oracle, es una "auto-increment" ID o la tienez que evaluar o calcular cada ves ? marcos Oliva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876221#3876221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876221 --- 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: Please speak Spanish
Muchas gracias, por fin alguien que hable espaÃol. hace mas o menos un mes me encuentro trabajando con JBoss 4.0.0, Eclipse, Lomboz y Hypersonic, y pude crear una aplicacion completa utilizando EJB, MDB y JSP... Ahora me encuentro en el proceso de realizar una aplicacion sobre Oracle 8i, para mi tesis; pero ya encontre el primer percance, cundo llamo al metodo findByPrimaryKey(java,lang.Short pk) del CMP que correspode a una tabla que tiene como llave primaria un number(5), me retorna una ClassCastException del Short. Creo que estoy utilizando el mapero correcto: jdbc-type -> Numeric o Smallint Sql-Type -> Number(5) Java-Type -> java.lang.Short. Si me puedes ayudar o conoces alguien que sepa te lo agradeceria, o no se si necesitas el stackTrace completo... Gracias View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876220#3876220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876220 --- 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] - cache invalidation by program (no cluster)
hello I have an application who need to do massive update on data (more than 2 or 3 thousand records can be updated), i plan to use JDBC to achieve this but i have to find a way to invalidate the Instance Cache if this one is used (with commit option A by example ) . Does anyone have a solution for managing a cache invalidation by a programatic way ? Thanks Jinx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876218#3876218 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876218 --- 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: Exposing stateless session bean as a Web Service
The methods exposed through a WS endpoint need to be defined in the service endpoint interface (SEI) and do not necessarily intersect with the methods from the remote interface. See the EJB-2.1 spec for details. http://www.jcp.org/en/jsr/detail?id=153 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876217#3876217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876217 --- 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: HTTPS : java.net.SocketTimeoutException: Read timed out
Please provide a simple sample deployment attached to a JIRA issue that allows us to reproduce what you are seeing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876216#3876216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876216 --- 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: Problem with typeMapping when turning an EJB into a WebS
An NPE is not acceptable. I assigned this JIRA issue http://jira.jboss.com/jira/browse/JBWS-203 Your WS uses rpc/encoded which is not allowed by the BasicProfile-1.0. Try using rpc/literal. Have you seen the StepByStep tutorials in the wiki? http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876215#3876215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876215 --- 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: Please speak Spanish
claro que necesitas ? cual es tu pregunta ? marcos oliva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876212#3876212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876212 --- 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] - Please speak Spanish
Por favor alguien que me pueda ayudar y que hable o entienda espaÃol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876211#3876211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876211 --- 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] - Exception in JBoss4.0.0 whit Oracle 8i
I have a ClassCastException on method findByPrimaryKey (java.lang.Short pk), i try mapping a number(5) of Oracle 8i to java.lang.Short and i have the Exception in the called to method in the SessionBean facade... thanks for your help... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876210#3876210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876210 --- 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 to create virtual directory with Linux?
Hi, I have configured the jboss-service.xml (META_INF and conf) and server.xml files, for to create virtual directory in my pc with Windows server. But, now I need to configure this files, for to create virtual directory in Linux. I replaced "C:\tmp" by "/usr/java/jboss/jboss-4.0.1sp1/server/all/deploy/tmp.war" and it does not work. How I can do this?. Thank you very much. Tania. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876209#3876209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876209 --- 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: Hypersonic File Size
For 1.8, the file size will continue to grow until a certain point and then will be compacted automatically. You should not "run out" of space, although it may seem like it grows without bound. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876208#3876208 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876208 --- 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 remote debugging under MacOS X
OK, if you just use the debug parameters specified in the releases run.bat sans suspend=y it works fine :-) But I also realized that telneting to the port first ties it up, so don't do this and then try a debug session without restarting JBoss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876206#3876206 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876206 --- 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 remote debugging in 4.0.1sp1
I have moved the configuration from MacOSX to Windows 2000 and am having the same problem, while the server is coming up I can telnet to localhost DEBUG_PORT and there is something listening at the port. After the catalina startup completes and my .war files are deployed, if I try to connect to that port, I get connect refused (both from the debugger and telneting to the port) The config is 4.0.1sp1. Does anyone know of changes to the config needed for 4.0.1sp1? TIA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876204#3876204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876204 --- 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: SocketTimeoutException when trying to do a lookup on ano
When discussing an exception you are getting can you please post the exception along with it's stack trace and message, it makes it a lot easier for others to see what is going on. Is there any chance that the server machine is running Linux? If so does the /etc/hosts file contain IP address to host name mapping? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876203#3876203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876203 --- 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: SocketTimeoutException when trying to do a lookup on ano
Everything was exactly the same , even the base JBoss version. What was different was the jbossall-client.jar. Once those were in sync, it worked. Problem resolved. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876202#3876202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876202 --- 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] - Building Jboss fails
I'm trying to build Jbos 3.2.6 on RH Linux ES 3. - Downloaded the tar ball to /usr/local/src - export JAVA_HOME=/usr/java/j2sdk1.4.1_03 - jumped into /usr/local/src/jboss-3.2.6-src/build - sh ./build.sh => Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher - export CLASSPATH=/usr/local/src/jboss-3.2.6-src/tools/lib/ant-launcher.jar But still get: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher I haven't seen any other instructions than setting JAVA_HOME and run the build.sh script. What am I missing? TIA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876201#3876201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876201 --- 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: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation
"ju187" wrote : | Another thing worth noticing is that one needs to undeploy when error occurs. Otherwise, JBoss seems rememeber the error messages. Hope this is helpful. | FYI - This is a known issue. http://jira.jboss.com/jira/browse/JBAS-1262 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876200#3876200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876200 --- 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: Linux + MySQL, JBoss 3.x.x deployment error: http-invoke
Have you given the user access to the newly created database? Also is this the first error or are there any other errors higher in the log? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876199#3876199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876199 --- 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] - Startup crash under eclipse
Hi, I've recently started to experience debug traps when starting JBoss-3.2.7 under Eclipse 3 (all on windows xp, j2sdk-1.4.2_06). Here's a stacktrace of the first exception encountered: | Thread [main] (Suspended (exception NullPointerException)) | InputStreamReader(Reader).(Object) line: 61 | InputStreamReader.(InputStream, String) line: 80 | PropertyMap(Properties).load(InputStream) line: 266 | Main.(String) line: 103 | NamingService.() line: 57 | NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method] | NativeConstructorAccessorImpl.newInstance(Object[]) line: 39 | DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27 | Constructor.newInstance(Object[]) line: 274 | MBeanServerImpl.instantiate(String, ClassLoader, Object[], String[]) line: 871 | MBeanServerImpl.instantiate(String, ObjectName, Object[], String[]) line: 290 | ServiceCreator.install(ObjectName, ObjectName, Element) line: 160 | ServiceConfigurator.internalInstall(Element, List, ObjectName, boolean) line: 152 | ServiceConfigurator.install(Element, ObjectName) line: 117 | ServiceController.install(Element, ObjectName) line: 199 | NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] | NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 | DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 | Method.invoke(Object, Object[]) line: 324 | ReflectedDispatcher.dispatch(Object[]) line: 60a | Invocation.dispatch(Object[]) line: 62 | Invocation.dispatch() line: 54 | Invocation.invoke() line: 82 | XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 | MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 | MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 | $Proxy4.install(Element, ObjectName) line: not available | SARDeployer.create(DeploymentInfo) line: 204 | MainDeployer.create(DeploymentInfo) line: 783 | MainDeployer.deploy(DeploymentInfo) line: 640 | MainDeployer.deploy(URL) line: 604 | MainDeployer.deploy(String) line: 588 | NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] | NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 | DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 | Method.invoke(Object, Object[]) line: 324 | ReflectedDispatcher.dispatch(Object[]) line: 60 | Invocation.dispatch(Object[]) line: 62 | Invocation.dispatch() line: 54 | Invocation.invoke() line: 82 | XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 | MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 | MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 | $Proxy5.deploy(String) line: not available | ServerImpl.doStart() line: 407 | ServerImpl.start() line: 311 | Main.boot(String[]) line: 191 | Main$1.run() line: 480 | Thread.run() line: 534 | Clicking continue in the eclipse debugger lets it continue until the following message is displayed: 21:07:38,343 INFO [RARMetaData] Required license terms present. See deployment descriptor. and then the following exception is trapped by the debugger multiple times: | Thread [main] (Suspended (exception NullPointerException)) | SARDeployer.parseDocument(DeploymentInfo) line: 540 | SARDeployer.init(DeploymentInfo) line: 137 | NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] | NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 | DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 | Method.invoke(Object, Object[]) line: 324 | ReflectedDispatcher.dispatch(Object[]) line: 60 | Invocation.dispatch(Object[]) line: 62 | Invocation.dispatch() line: 54 | Invocation.invoke() line: 82 | XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 | MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 | JMXInvocationHandler.invoke(Object, Method, Object[]) line: 274 | $Proxy26.init(DeploymentInfo) line: not available | XSLSubDeployer.init(DeploymentInfo) line: 210 | MainDeployer.init(DeploymentInfo) line: 696 | MainDeployer.deploy(DeploymentInfo) line: 631 | MainDeployer.deploy(URL) line: 604 | NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] | NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 | DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 | Method.invoke(Object, Object[]) line: 324 | ReflectedDispatcher.dispatch(Object[]) line: 60 | Invocation
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where can I download the Jboss/tomcat5 bundle??
Thank you very much. I got the exact info I wanted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876195#3876195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876195 --- 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: Where can I download the Jboss/tomcat5 bundle??
You have been guided to the user forums. Just download from sourceforge and you have tomcat bundled. http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=305380 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876193#3876193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876193 --- 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: autogenerated pk with hypersonic
I created the table myself (a quick hack, I need jboss to do it) with | CREATE TABLE STUDENTGROUP ( | id INTEGER NOT NULL IDENTITY, | password VARCHAR(256), | article VARCHAR(256) | ) now, during the creation of a new StudentGroup, JBoss complains with javax.ejb.CreateException: Primary key for created instance is null. any suggested solution? How can I make JBoss create the table in a correct way (with IDENTITY)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876192#3876192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876192 --- 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] - java.lang.IllegalStateException: Trying to return an unknown
Hello, calling an ejb method from MDB's super class, and this ejb method is using hibernate to talk to db, it gets an object from db, changes it and then returns this object to the calling method. (using local interface). Get the following upon returning from ejb method: 2005-05-02 12:39:24,407 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] throwable from unregister connection java.lang.IllegalStateException: Trying to return an unknown connection2! [EMAIL PROTECTED] at org.jboss.resource.connectionmanager.CachedConnectionManager.unregisterConnection(CachedConnectionManager.java:369) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:507) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:320) at org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnection.java:123) at net.sf.hibernate.connection.DatasourceConnectionProvider.closeConnection(DatasourceConnectionProvider.java:64) at net.sf.hibernate.impl.BatcherImpl.closeConnection(BatcherImpl.java:297) at net.sf.hibernate.impl.SessionImpl.disconnect(SessionImpl.java:3348) at net.sf.hibernate.impl.SessionImpl.close(SessionImpl.java:576) at org.jboss.hibernate.session.TransactionSynch.afterCompletion(TransactionSynch.java:71) at org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1398) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:421) at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:369) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy92.updateTaskStatus(Unknown Source) at com.crossbeamsys.nms.task.TaskExecutionBase_1_MByMInvocation.invokeNext(TaskExecutionBase_1_MByMInvocation.java) at com.crossbeamsys.nms.aop.AuditAspect.auditUpdateTaskStatus(AuditAspect.java:123) 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:324) at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:88) at com.crossbeamsys.nms.task.TaskExecutionBase_1_MByMInvocation.invokeNext(TaskExecutionBase_1_MByMInvocation.java) at com.crossbeamsys.nms.task.TaskExecutionBase.updateTaskStatus(TaskExecutionBase.java:289) at com.crossbeamsys.nms.backup.BackupRestoreMDB.performTask(BackupRestoreMDB.java:165) at com.crossbeamsys.nms.task.TaskExecutionBase.onMessage(TaskExecutionBase.java:142) 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:324) at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:32) at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62) at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372) at or
[JBoss-user] [Beginners Corner] - Help needed: Exception processing JAR at resource path
Hi, When I am trying to start my server after building my project, I get the following error. No one else in my group gets this error.so I am pretty sure the code is fine. Can anyone plz tell me the cause of this error?? 11:49:30,104 ERROR [Engine] SingleSignOnContextConfig[/ws] Exception processing JAR at resource path /WEB-INF/lib/jboss-net.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jboss-net.jar Thanks for ur help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876186#3876186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876186 --- 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: JBoss class loader fails loaging a custom java.lang clas
No class loader will load a class from a java.* package unless it has been specifically patched into the vm using a mechanism like the bootclasspath. This has nothing to do with jboss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876185#3876185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876185 --- 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: JBoss 4.0.1 SP1 and JOSSO
So the user of those methods has to ensure that the active subject has been set. This is now decoupled from the authenticate call. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876184#3876184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876184 --- 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] - SocketTimeoutException when trying to do a lookup on another
When running JBoss on the same computer I run my test program, I am able to successfully do a lookup on a session bean. When I move that project over to another computer running jboss, I am unable to do the lookup and always get a socket timeout exception. I am able to test jsp creation via the browser from my pc to that server, so I know that at least the web server part is running and the server's ip address is correct. I have not modified any of the jnp settings inside jboss configuration files so it still points at 1099. What would cause the lookup to be successful on my local machine when running JBoss and having it fail with a timeout when I move it to another machine? ALL of the ip's have been changed to point to the new server in the client call. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876183#3876183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876183 --- 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] - Error while tryng to configure JBOSS
I am trying to configure JBOSS on Solaris 8 am using JBOSS 3.0.7,java 1.3 and am getting the following error and JBOSS does not start successfully. Any place it tries to get the hostName it throws up the UnknownHost Exception. Any Help is hightly appreciated. 2005-05-02 16:54:43,341 INFO [org.jboss.logging.Log4jService] Started 2005-05-02 16:54:43,343 INFO [org.jboss.web.WebService] Starting 2005-05-02 16:54:43,350 INFO [org.jboss.web.WebService] Started webserver with address: null port: 8093 2005-05-02 16:54:43,350 INFO [org.jboss.web.WebService] Codebase set to: http://null:8093/ 2005-05-02 16:54:43,351 INFO [org.jboss.web.WebService] Started 2005-05-02 16:54:43,351 INFO [org.jboss.naming.NamingService] Starting 2005-05-02 16:54:43,364 INFO [org.jboss.naming.NamingService] Starting jnp server 2005-05-02 16:54:43,603 INFO [org.jboss.naming.NamingService] Started jnpPort=1099, rmiPort=0, backlog=50, bind Address=null, Client SocketFactory=null, Server [EMAIL PROTECTED] 6 2005-05-02 16:54:43,619 INFO [org.jboss.naming.NamingService] Listening on port 1099 2005-05-02 16:54:43,628 INFO [org.jboss.naming.NamingService] Started 2005-05-02 16:54:43,630 INFO [org.jboss.naming.JNDIView] Starting 2005-05-02 16:54:43,630 INFO [org.jboss.naming.JNDIView] Started 2005-05-02 16:54:43,631 INFO [org.jboss.security.plugins.SecurityConfig] Starting 2005-05-02 16:54:43,634 INFO [org.jboss.security.plugins.SecurityConfig] Started 2005-05-02 16:54:43,635 INFO [org.jboss.security.auth.login.XMLLoginConfig] Starting 2005-05-02 16:54:43,665 INFO [org.jboss.security.auth.login.XMLLoginConfig] Started 2005-05-02 16:54:43,666 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Starting 2005-05-02 16:54:43,678 INFO [org.jboss.security.plugins.JaasSecurityManagerService] Started 2005-05-02 16:54:43,678 INFO [org.jboss.tm.TransactionManagerService] Starting 2005-05-02 16:54:43,714 INFO [org.jboss.tm.TransactionManagerService] Started 2005-05-02 16:54:43,716 INFO [org.jboss.tm.usertx.server.ClientUserTransactionService] Starting 2005-05-02 16:54:43,749 INFO [org.jboss.tm.usertx.server.ClientUserTransactionService] Started 2005-05-02 16:54:43,750 INFO [org.jboss.deployment.EARDeployer] Starting 2005-05-02 16:54:43,750 INFO [org.jboss.deployment.MainDeployer] Adding deployer: org.jboss.deployment.EARDeplo [EMAIL PROTECTED] 2005-05-02 16:54:43,750 INFO [org.jboss.deployment.EARDeployer] Started 2005-05-02 16:54:43,751 INFO [org.jboss.invocation.jrmp.server.JRMPInvoker] Starting 2005-05-02 16:54:43,763 ERROR [org.jboss.invocation.jrmp.server.JRMPInvoker] Failed java.net.UnknownHostException: ndcint10: ndcint10 at java.net.InetAddress.getLocalHost(InetAddress.java:1179) at org.jboss.invocation.jrmp.server.JRMPInvoker.start(JRMPInvoker.java:268) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:413) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy2.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) thanks, Kavitha View the original post : http:
[JBoss-user] [Clustering/JBoss] - Re: Printing on Cluster
I assume when you say "lookup" and "service" you are saying that your PrintService is an EJB and you are using JNDI to look up the EJB. Again, this is an assumption because you didn't say if that's true. It could be that your PrintService is a JMX MBean service and you are "looking" up the service via the MBeanServer API. I have no idea what your "lookupPrintServices" method is doing in regards to this. You probably need to look into using the HA JNDI capabilities - meaning your EJBs will get registered in JNDI and that JNDI tree is replicated across the cluster. Assuming your lookup code looks up the EJBs in the proper JNDI context, you could find all the EJBs deployed in all your clustered JBoss boxes using HA JNDI. Just a thought. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876181#3876181 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876181 --- 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: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation
I make working with JBoss 4.0.1sp1 J2SDK 1.4.2_05 ant-1.6.2 j2ee-1_4-doc-tutorial_4 Getting Start Guide 3 One problem is that the Sun example keeps changing, there could be easily compatibility issues between JBoss and Sun examples. Another thing worth noticing is that one needs to undeploy when error occurs. Otherwise, JBoss seems rememeber the error messages. Hope this is helpful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876149#3876149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876149 --- 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: JBoss 4.0.1 SP1 and JOSSO
"[EMAIL PROTECTED]" wrote : No, the getActiveSubject is not a reliable call as evidenced by the change in behavior. 4.0.x no longer has a side effect of setting the thread subject on return from the authenticate method. Its the jobs of the caller of authenticate to establish whether or not there is a caller. | Thanks for your reply. However, if it's not reliable, then the JaasSecurityManager class has other problems. The doesUserHaveRole methods (both), and the getUserRoles method expect this to be reliable. And, just grepping around the source, I find several classes that seem to rely on this being a reliable method: JBossAuthenticationHandler.java SubjectSecurityProxy.java (several places) SecurityDomainContext.java SecurityDomainEditor.java ...Several others... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876147#3876147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876147 --- 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] - Linux + MySQL, JBoss 3.x.x deployment error: http-invoker.sa
Hi, when i start Jboss, a deployment error is due, i have configured mysql with jca and xml : mysql-ds.xml , mysql-jdbc2-service.xml (database ejboss). i've add a user "jboss" /etc/init.d/myslq start create database ejboss ./run.sh | ... | 16:43:20,341 ERROR [MainDeployer] could not create deployment: file:/mnt/hda4/DOCUMENTATION/ejbox/jboss-3.2.7/jboss-3.2.7/server/default/deploy/http-invoker.sar/ | org.jboss.deployment.DeploymentException: create operation failed for package file:/mnt/hda4/DOCUMENTATION/ejbox/jboss-3.2.7/jboss-3.2.7/server/default/deploy/http-invoker.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=invoker,type=http) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227) | | my java version "1.4.2_04" my .bashrc (debian): JAVA_HOME="/opt/SUNWappserver/jdk" | export JAVA_HOME | J2EE_HOME="/opt/SUNWappserver" | export J2EE_HOME | JBOSS_HOME="/mnt/hda4/DOCUMENTATION/ejbox/jboss-3.2.7/jboss-3.2.7/" | export JBOSS_HOME | PATH="$J2EE_HOME/bin:$JAVA_HOME/bin:$JBOSS_HOME/bin:$PATH" | export PATH | CLASSPATH="$JAVA_HOME/lib/classes.zip:$J2EE_HOME/lib/j2ee.jar" | CLASSPATH="$CLASSPATH:." | export CLASSPATH | netstat | grep "8080" -> no result. http://localhost:8080 -> no connexion Please help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876148#3876148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876148 --- 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: autokey generation (3.2.5 + hypersonic)
Now my ejbCreate end with return null, but the problems are still there... Can someone post examples of working setups? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876180#3876180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876180 --- 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: Printing on Cluster
Hi, I don' know , how can I describe my problem better. I try it again :) 1- I have a EJB-Application , which runs with Jboss 3.2.5 2- I'm printing pdf document with my Application. 3- I'm gettin the printservices as following : private PrintService getPrintService(String serviceName) { PrintService retPrintService = null; if (serviceName != null) { DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE; PrintService services[] = PrintServiceLookup.lookupPrintServices( flavor, null); String printerNamesToDisplayToClient[] = new String[services.length]; for (int i = 0; services != null && i < services.length; i++) { printerNamesToDisplayToClient = services.getName(); if (serviceName.equals(services.getName())) { retPrintService = services; } } } return retPrintService; } 4- PrintServiceLookup.lookupPrintServices supplies me the local print services, which are installed on this server. 5- But I want to lookup this services from another server. How can I lookup printservices from another server, which is seperate server with own IP-address and jboss-server. I hope, this description is better. regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876140#3876140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876140 --- 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: JMX Access from one Jboss instance to another
Yes there was a problem introduced around 4.0.1. http://jira.jboss.com/jira/browse/JBAS-1442 A couple of work arounds are mentioned in the issue and related issues and the fix is included in JBoss 4.0.2 (Which looks like it has just two outstanding issues left before it can be released). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876179#3876179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876179 --- 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: ebxml vs. UDDI
Alex, jboss4-0-1sp1 includes an ebxml registry. If you would like to use uddi, you need to wait for jboss 4.0.2 (to be released within a week). If not get the release candidates for jboss 4.0.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876136#3876136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876136 --- 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] - autogenerated pk with hypersonic
I'd like to have an autogenerated pk but jboss 3.2.5 refuses to create this EJB. This is the EJB I created (I kept only the interesting xdoclet tags): | /** | * @ejb.bean name="StudentGroup" | * local-jndi-name="ejb/StudentGroup" | * type="CMP" | * cmp-version="2.x" | * primkey-field="id" | * @jboss.persistence pk-constraint="false" | * @jboss.entity-command name="hsqldb-fetch-key" | */ | public abstract class StudentGroupBean implements EntityBean { | | /** | * @ejb.create-method view-type = "local" | */ | public Integer ejbCreate(String password) | throws javax.ejb.CreateException { | setPassword(password); | return null; | } | | /** | * @ejb.persistent-field | * @jboss.persistence auto-increment="true" | */ | public abstract Integer getId(); | | ... The table is created, by jboss, with this command | CREATE TABLE STUDENTGROUP (id INTEGER NOT NULL, password VARCHAR(256), article VARCHAR(256), | CONSTRAINT PK_STUDENTGROUP PRIMARY KEY (id)) CONSTRAINT... why? I used pk-constraint="false" When I try to add a new StudentGroup, I get | 19:00:03,909 ERROR [StudentGroup] Could not create entity | java.sql.SQLException: Try to insert null into a non-nullable column in statement | [INSERT INTO STUDENTGROUP (id, password, article) VALUES (NULL, 'pw', NULL)] why the first NULL? shouldn't jboss place the value returned by the DB in the pk? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876177#3876177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876177 --- 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: Printing on Cluster
I'm sorry - but I must admit, your description of your problem is very nebulous. It is confusing due to the lack of any meaningful detail. So, it isn't that nobody "wants" to help you, rather, its that nobody knows "how" to help you. Honestly, I don't think anyone here knows what you are asking in order to answer it properly. Please ask in much more detail what the problem is that you are having and what you want to happen. Just saying, "How can I take the printservices from my Printserver" isn't enough for people to understand your problem from a JBoss Clustering perspective. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876133#3876133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876133 --- 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: SQL in Principals query will not work(SORRY)
SORRY, VERY SORRY My own fault, I had forgotten to change the dsjndiname to the prodution db ups. Once done all worked fin. So once again sorry for wasting your time. But thank you for any reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876131#3876131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876131 --- 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: Problem with typeMapping when turning an EJB into a WebS
(i m using JbossWS, jaxrpc, wscompile, Jboss 4.0.1 sp1) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876130#3876130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876130 --- 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] - JMX Access from one Jboss instance to another
Hello, I'm trying to access a Remote MBean Server from within a We application. Here my code (inside servlet, or JSP): Hashtable environment = new Hashtable(); | environment.put("java.naming.provider.url","jnp://tlvl2k376:1099"); | InitialContext ctx = new InitialContext(environment); | MBeanServerConnection server = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor"); | ObjectName serverInfo = new ObjectName("jboss.system:type=ServerInfo"); | | String hostName = (String) server.getAttribute(serverInfo, "HostName"); | System.out.println("Host: " + hostName); On JBoss 4.0.1sp1 I'm getting the local host instead of the remote host as the answer. But if the other server is down, I get an exception. So the JNDI lookup is working. On JBoss 4.0.0 we get the correct answer. Any clues? Is there something I can do to make this work on 4.0.1sp1? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876129#3876129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876129 --- 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: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation
Sorry to sound like a broke record, but you guys keep using the OLD getting started guide. Please download the CURRENT version from docs.jboss.org. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876137#3876137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876137 --- 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 3.2 to jboss 4.0 migration problem: requests execu
Hi, Alex, thanks a lot for your help. I've been following your advises and it seems to be clearer for me. The problem is that our tstamp column is a DATE column. When I manually try an insert then an update with java.sql.Timestamp, it does not work. If I execute it with a java.sql.Date, it works but it doesn't save minutes and seconds info. For a concurrent access management column, it is not so good. I created another column with TIMESTAMP type (I'm on Oracle 9i) and it works fine with Timestamp. I'm using the oracle ojdbc14.jar driver. Do I have another solution than changing all my oracle tstamp column types? Thanks in advance, Fred View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876160#3876160 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876160 --- 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
I have further investigated this problem and the problem has nothing to do with dirty flags, but rather the sync-on-commit-only flag which has no effect. When using p6spy to check the SQL statements, I see that the insert only contains values for some of the fields, and the update completes the fields. These fields are only set in the SFSB which creates the entity. Sam question though. Is there any way to tune this? Would make a huge performance difference for my tests. Thanks, Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876166#3876166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876166 --- 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: autokey generation (3.2.5 + hypersonic)
I have never tried getting auto-increment to work with Hypersonic so can't comment on your specific problem. However the return value from the ejbCreate method in a CMP entity bean should always be null, the container handles the rest. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876178#3876178 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876178 --- 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: Unable to insert/retrieve values in/from database Error
Here is a description of the exception from the J2EE API anonymous wrote : | The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist. | | Only the finder methods that are declared to return a single EJB object use this exception. This exception should not be thrown by finder methods that return a collection of EJB objects (they should return an empty collection instead). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876135#3876135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876135 --- 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 3.2 to jboss 4.0 migration problem: requests execu
Can you try a simple JDBC test? Insert a row using the same methods for timestamp parameters JBossCMP uses according to the type mapping you use and then try to query the table by the timestamp column and the value you inserted into it. This will tell you whether it's a type mapping issue or something else. No transaction means the thread is not associated with an active transaction. The SQL from 3.2.2 says optimistic locking is not used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876134#3876134 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876134 --- 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] - Deployment configuration
Hello world, I have an ear which depends on another ear, but JBoss load moduls by alphabetic order. So, my 2nd module is loaded before the first. Can anyone tell me if it's possible to configure JBoss classloader? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876168#3876168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876168 --- 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: Printing on Cluster
Hi, nobody wants help me ? I have following question : My Application runs on a Jboss Server. On an another seperated Server (named printserver with same Jboss Environment and additional printers ) are installed my printers. How can I take the printservices from my Printserver ? please help regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876132#3876132 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876132 --- 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
"ivanlc" wrote : It may be that some entity bean in the middle has failed to deploy due | to a mistake in the EJB-QL and other beans depend on it. I've had the same problem. | | The bean that was throwing the exception at creation time was fine. | The culprit was elsewhere. Check the EJB-QL sentence parsing of all your entity beans (in DEBUG mode) and see one has failed. | | Cheers, | Ivan thanks, ivanlc i had solved the problem, the problem was same as you told but the server should be capable of generating the error messages for such kind of exceptions. this was the only TRACE mode which helped me. Any way thanks ivanlc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876127#3876127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876127 --- 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] - error lifecycle method
i have a portletsamples.war that contain a multiple portlets from sun. when i deploy appears an error in the lifecyle method, but i don't know what it is..it is seen ERROR [org.jboss.portal.server.kernel.Kernel.(component./portletsamples.JSPPortlet-Language)] Exception occured when invoking nested lifecycle method java.util.MissingResourceException: Can't find bundle for base name ShowTimePortletRB, locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808) at java.util.ResourceBundle.getBundle(ResourceBundle.java:702) at org.jboss.portal.portlet.plugins.language.ResourceBundles.loadBundle(ResourceBundles.java:272) at org.jboss.portal.portlet.plugins.language.ResourceBundles.init(ResourceBundles.java:159) at org.jboss.portal.portlet.plugins.language.ResourceBundles.start(ResourceBundles.java:70) at org.jboss.portal.server.kernel.StartMethod.invokeMethod(StartMethod.java:37) at org.jboss.portal.server.kernel.UpgradeMethod.invoke(UpgradeMethod.java:46) at org.jboss.portal.server.kernel.Kernel.start(Kernel.java:387) at org.jboss.portal.server.kernel.StartMethod.invokeMethodOnDependsOnMe(StartMethod.java:45) at org.jboss.portal.server.kernel.LifeCycleMethod.invokeOnDependsOnMe(LifeCycleMethod.java:58) at org.jboss.portal.server.kernel.UpgradeMethod.invoke(UpgradeMethod.java:49) at org.jboss.portal.server.kernel.Kernel.start(Kernel.java:382) at org.jboss.portal.server.impl.ServerManagerImpl.install(ServerManagerImpl.java:442) at org.jboss.portal.server.impl.ServerManagerImpl.deploy(ServerManagerImpl.java:362) at org.jboss.portal.server.impl.ServerManagerImpl.deploy(ServerManagerImpl.java:373) at org.jboss.portal.server.impl.ServerManagerImpl.deploy(ServerManagerImpl.java:373) at org.jboss.portal.server.impl.ServerManagerImpl.deploy(ServerManagerImpl.java:340) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy36.deploy(Unknown Source) at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:50) at org.jboss.portal.server.deployment.WebAppIntercepter.startService(WebAppIntercepter.java:193) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173) at org.jboss.portal.server.util.Service.start(Service.java:73) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:908) 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.j
[JBoss-user] [Security & JAAS/JBoss] - Re: SQL in Principals query will not work
Can you try enabling trace logging for the DatabaseServerLoginModule to prove that all of your values are set correctly. I have just had a look at the code, the only reason why you would get the error you are getting is if after the query is executed an empty result set is returned. Also you didn't say which database you are using, is there any way that you can enable tracing there to check what query is executed against the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876128#3876128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876128 --- 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] - Help needed: Exception processing JAR at resource path
Hi, When I am trying to start my server after building my project, I get the following error. No one else in my group gets this error.so I am pretty sure the code is fine. Can anyone plz tell me the cause of this error?? 11:49:30,104 ERROR [Engine] SingleSignOnContextConfig[/ws] Exception processing JAR at resource path /WEB-INF/lib/jboss-net.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/jboss-net.jar Thanks for ur help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876169#3876169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876169 --- 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] - Exposing stateless session bean as a Web Service
Hi , I m exposing stateless session bean as a web service, But when i generate WSDL and create a Web service out of REmote Interface, then i get exception.. that NoSuchMethodException.. But when i use a new interface with methoods to be exposed a s a webservice its working fine... Is there any need for new interface.. Or i can have a web service from the remote interface? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876126#3876126 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876126 --- 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] - JBoss class loader fails loaging a custom java.lang class
Hello, I created a custom class in the java.lang package. This class helps me to make the Object clone() method public instead of protected : package java.lang; | | /** | * Clone util class | */ | public class CloneUtil { | | /** | * Clone an object | * @param source - the provided source object | * @return cloned object | * @throws CloneNotSupportedException | */ | public static Object clone(Object source) throws CloneNotSupportedException { | return source == null ? source : source.clone(); | } | | } | I packaged this class in a jar file and deployed it to JBoss. But JBoss fails to load this class, wherever it is. Why is this ? Is there a specific rule that JBoss observes regarding the java.lang package ? Fred View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876156#3876156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876156 --- 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: Problem with typeMapping when turning an EJB into a WebS
perhaps it s depend of the SOAP version because i read somewhere that Soap 1.1 can only process atomic variable like char and not string. May I perhaps make a new type string (an array of char) ? or specify that i want using SOAP 1.2 but i don't know how. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876125#3876125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876125 --- 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
It may be that some entity bean in the middle has failed to deploy due to a mistake in the EJB-QL and other beans depend on it. I've had the same problem. The bean that was throwing the exception at creation time was fine. The culprit was elsewhere. Check the EJB-QL sentence parsing of all your entity beans (in DEBUG mode) and see one has failed. Cheers, Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876124#3876124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876124 --- 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: Architecture of a HAR
Have you seen the following page? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate If you are still having problems post here with what you have tried and the errors you are getting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876123#3876123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876123 --- 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: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation
Stuck with the same problem, seems that the src from sun is not up to date?? (EJB spec violation). Or maybe it is something in the configuration in JBoss? Any help would be great! TIA Heiko Torner View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876122#3876122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876122 --- 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: URGENT PROBLEM :JBOSS SPECIFIC PROBLEM unable to create
You should probably have a look at the following page: - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossForums anonymous wrote : This problem is URGENT Your problem is no more urgent that any other questions asked in these forums. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876121#3876121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876121 --- 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: session bean-servlet problem
did u configure the Login-Configure.xml & Jboss.xml It wont work without configuring them.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876119#3876119 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876119 --- 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] - Start, Stop EJBs from Client
Hi All, I have deployed some EJBs on JBoss, now I want to write a Client Form to manage my deployed EJBs such as start, stop... like what I see in JMX Console. Please help me, Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876117#3876117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876117 --- 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: HTTPS : java.net.SocketTimeoutException: Read timed out
Hello, I did not get an answer on the question if bad characters could disturb the reading of SOAP. So I assume this is not the case. But why can I read 2 domains over https with the SUN stubs and why not with JBossWS or Axis? Someone was saying to me that it could be that a port is not closed I'm not a http expert so I will show the 2 SOAP calls over http. JBoss Dynamic Proxy SOAP call over http | POST /WOn HTTP/1.0 | Content-Type: text/xml; charset=utf-8 | Accept: application/soap+xml, application/dime, multipart/related, text/* | User-Agent: Axis/#axisVersion# | Host: [server]:[port] | Cache-Control: no-cache | Pragma: no-cache | SOAPAction: "" | Content-Length: 515 | | | http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | | | | [username] | [password] | [department] | |Country | | | HTTP/1.1 200 | Content-Type: text/xml;charset=utf-8 | Content-Length: 25694 | Connection: close | | | http://www.w3.org/2001/XMLSchema-instance"; | xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:s="http://www.w3.org/2001/XMLSchema";> | | | [lot of text] | | | | SUN Stub SOAP call over http | POST /WOn HTTP/1.1 | Content-Type: text/xml; charset=utf-8 | Content-Length: 536 | SOAPAction: "" | User-Agent: Java/1.4.2_07 | Host: [server]:[port] | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | | | http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:ns0="urn:wonsoapnamespace"> | | | | [username] | [password] | [department] | | Country | | | HTTP/1.1 200 | Content-Type: text/xml;charset=utf-8 | Content-Length: 25694 | Connection: Keep-Alive | | | http://www.w3.org/2001/XMLSchema-instance"; | xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:s="http://www.w3.org/2001/XMLSchema";> | | | [lot of text] | | | | During the https call with JBoss until I get the time out I can see with netstat - b : | TCP[mylaptop]:2141 [server]:[port] ESTABLISHED 616 | [javaw.exe] | Maybe something is going wrong with the https connection port? Johan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876115#3876115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876115 --- 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] - ebxml vs. UDDI
Hi, I want to access a UDDI server from within jboss. I have set the "ShouldBindJaxr" property in: C:\jboss-4.0.1sp1\server\all\deploy\ebxmlrr-service.sar\META-INF\jboss-service.xml I lookup the server and find the "ConnectionFactory" of type: com.sun.xml.registry.ebxml.ConnectionFactoryImpl, but I want a ConnectionFactory of type: com.sun.xml.registry.uddi.ConnectionFactoryImpl. Is there a way to retrieve a connectionfactory of this type? Thanks in advance, Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876113#3876113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876113 --- 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: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation
Wish I could help - but I'm stuck with the same problem using: JBoss 4.0.1sp1 JDK 1.5.1_01 ant-1.6.2 j2ee-1_4-doc-tutorial_1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876112#3876112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876112 --- 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] - Run Jboss on Linux Platform
Hi, When I am running the Jboss 4.0 in linux it is started without any problem but when i try to open any page as http://localhost:8080/jmx-console/index.htm then server shows the warning duplicate class path in manifest. please solve my problem. Regards, Amit Ruwali View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876110#3876110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876110 --- 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] - SQL in Principals query will not work
Im using the jbosssx serurity modul for my web login. And have teste it with some basic database and sql. But when I'm trying to move it to a prodution database and use a slidy more "advance" SQL it will not work. The basic sql(from login-config.xml):select password from users where username=? The slidely more "advance": select pri.password from m_bruger bru, m_primed pri where pri.uid = bru.uid and bru.wdk=? I know my sql is working and returning just the password. But still I get this error, when trying to looking in to me webmodul:11:26:26,433 INFO [STDOUT] javax.security.auth.login.FailedLoginException: No matching username found in Principals What im I missing or can't I use a query like the one I use in the principals query View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876109#3876109 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876109 --- 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: Problem with typeMapping when turning an EJB into a WebS
when i use the client class : | public static void main(String[] args) throws MalformedURLException, ServiceException, RemoteException { | | String urlstr="http://localhost:9001/mywebservices/HelloWorldService?wsdl";; | System.out.println("Contacting webservice at " + urlstr); | URL url = new URL(urlstr); | QName qname = new QName("urn:HelloWorldService","HelloWorldService"); | | ServiceFactory factory = ServiceFactory.newInstance(); | Serviceservice = factory.createService(url, qname); | | HelloWorld hello = (HelloWorld) service.getPort(HelloWorld.class); | System.out.println("Service found"); | System.out.println("hello.getHello(truc)"); | System.out.println(hello.getHello("truc")); <=== return an error | ** error stack ** anonymous wrote : | | java.lang.NullPointerException | at org.apache.axis.client.Call.getTypeMapping(Call.java:2402) | at org.apache.axis.client.Call.setReturnType(Call.java:1230) | at org.apache.axis.client.Call.setOperation(Call.java:1412) | at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:369) | at $Proxy0.getHello(Unknown Source) | at utils.locator.WSLocator.main(WSLocator.java:64) | Exception in thread "main" | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876108#3876108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876108 --- 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] - [Deploy] Pb getting deployed JAR url
Hello! I'm rather new to Jboss, so I don't manage to solve this problem: I'm writting a MBean for JBoss 4.01, packed as a SAR file. In this file, I have a jar file that I want to link in my application. So the tree looks like this: | MyMBean.sar | | | |-- bin | | | MyCoolService.class | | | MyCoolServiceMBean.class | | | |-- res | | MyOtherJAR.jar | In my MBean, at startup, I ask him to build an URLClassLoader (called urlcl) on /res/MyOtherJAR.jar by passing it a new URL("/res/MyOtherJar.jar!/") and then I invoke urlcl.loadClass("class.in.MyOtherJAR"); That call fails. I think my problem is in the URL designation: how can I get the path where my sar is deployed? Many thanks to everybody who could help me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876107#3876107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876107 --- 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: Problem with typeMapping when turning an EJB into a WebS
*** the Endpoint Interface *** | package helloworld.ejb; | | import java.rmi.Remote; | import java.rmi.RemoteException; | | public interface HelloWorldEndpoint extends Remote { | | public String getHello(String nom) throws RemoteException; | | } *** the wsdl file *** | | | http://schemas.xmlsoap.org/wsdl/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> | | | | http://schemas.xmlsoap.org/soap/encoding/"; /> | http://schemas.xmlsoap.org/wsdl/"; /> | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/http"; style="rpc"/> | | | | http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="urn:HelloWorldService"/> | | http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="urn:HelloWorldService"/> | | | | *** the jaxprc-mapping file *** | | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";> | | | helloworld.ejb | urn:HelloWorldService | | | | helloworld.ejb.HelloWorldService | serviceNS:HelloWorldService | | HelloWorldEndpointPort | HelloWorldEndpointPort | | | | | helloworld.ejb.HelloWorldEndpoint | portTypeNS:HelloWorldEndpoint | bindingNS:HelloWorldEndpointBinding | | | getHello | getHello | | | 0 | java.lang.String | | wsdlMsgNS:HelloWorldEndpoint_getHello | String_1 | IN | | | | | java.lang.String | wsdlMsgNS:HelloWorldEndpoint_getHelloResponse | result | | | | | | | | | *** the webservices.xml *** | | http://java.sun.com/xml/ns/j2ee"; |xmlns:impl="http://com.myapp/ws4ee"; |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; |xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"; |version="1.1"> | | | HelloWorldService | META-INF/wsdl/HelloWorldService.wsdl | META-INF/jaxrpc-mapping.xml | | port component description | HelloWorldService | HelloWorldEndpointPort | helloworld.ejb.HelloWorldEndpoint | | helloworld | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876106#3876106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876106 --- 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: Problem with logout with FORM based authentication and s
The issue is that my application is made with Struts and Tiles, and the menu tile (in summary, a JSP page) is composed by a public part and another private part that only can be accesed when a validated user (I've made the validation with a login form) has been logged. The implementation of the menu tile is more or less like above code. I've used Struts logic tags. | | ... Public menu components (login access included). | | | . Private menu components for a validated user (logout access included) . | | Note: The '*' can be substituted by a concrete role as needed, of course. On the other hand, there are more ways of implementing this functionality, but I thought that this was the cleanest way to do this. As I mentioned before, in the previous topics, the logout functionality is implemented by session.invalidate(), but that action doesn't remove the request's user principal, so the first time the logout is called, the private menu part keeps showed and the public menu part remains hidden. But, the second time the logout function is called, then, the user principal doesn't exist and the public part of the menu is showed. If you tell me that I can not remove the user principal from the request (by the way, it's logical), then I suppose I'll have to think another implementation of the menu tile. Thanks a lot for your comments. Juanjo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876105#3876105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876105 --- 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 Specifications
I want the following information about JBoss RPM of JBoss | Max. no. of concurrent request that JBoss can handle. | Resource consumption / CPU Utilisation figure in a major transaction including SERVLET-JSP-BEAN-DB hit. | | My company is looking to deploy a huge e-Commerce application that will be using JSP, Servlet, EJB. | | Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876104#3876104 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876104 --- 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] - Architecture of a HAR
Hello world, Can anyone explain me the architecture of a .Har (Hibernate ARchive)? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876103#3876103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876103 --- 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: Problem with typeMapping when turning an EJB into a WebS
*** The Endpoint Interface : package helloworld.ejb; import java.rmi.Remote; import java.rmi.RemoteException; public interface HelloWorldEndpoint extends Remote { public String getHello(String nom) throws RemoteException; } *** the wsdl file : http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> http://schemas.xmlsoap.org/soap/encoding/"; /> http://schemas.xmlsoap.org/wsdl/"; /> http://schemas.xmlsoap.org/soap/http"; style="rpc"/> http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="urn:HelloWorldService"/> http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="urn:HelloWorldService"/> *** the jaxrpc-mapping file : http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";> helloworld.ejb urn:HelloWorldService helloworld.ejb.HelloWorldService serviceNS:HelloWorldService HelloWorldEndpointPort HelloWorldEndpointPort helloworld.ejb.HelloWorldEndpoint portTypeNS:HelloWorldEndpoint bindingNS:HelloWorldEndpointBinding getHello getHello 0 java.lang.String wsdlMsgNS:HelloWorldEndpoint_getHello String_1 IN java.lang.String wsdlMsgNS:HelloWorldEndpoint_getHelloResponse result *** the webservices.xml file http://java.sun.com/xml/ns/j2ee"; xmlns:impl="http://com.myapp/ws4ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"; version="1.1"> HelloWorldService META-INF/wsdl/HelloWorldService.wsdl META-INF/jaxrpc-mapping.xml port component description HelloWorldService HelloWorldEndpointPort helloworld.ejb.HelloWorldEndpoint helloworld *** the EJB-jar.xml file http://java.sun.com/dtd/ejb-jar_2_0.dtd";> helloworld helloworld helloworld.ejb.HelloWorldEndpoint helloworld.ejb.HelloWorldHome helloworld.ejb.HelloWorld helloworld.ejb.HelloWorldLocalHome helloworld.ejb.HelloWorldLocal helloworld.ejb.HelloWorldBean Stateless Container View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876102#3876102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876102 --- 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: Can I use nested query in ejb finders?
Thanks a lot. Its working fine. Regards Amit View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876099#3876099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876099 --- 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] - Problem with typeMapping when turning an EJB into a WebServi
Hello, I've made my JAR file with the : WSDL file, jaxrpc-mapping.xml (generated by wscompile) a webservices.xml file the EJB (+ejb-jar.xml + jboss.xml) and the Endpoint Interface When i deploy the JAR on the server JBoss the JBoss web console show me that i have a EJB and a WebService deploy but when i try to access the web service with a customer class, the server give me back an error of nullPointerException og GetTypeMapping. (i m using only one String type in return of a function call "HelloWorld.getHello(String name)") Is anyone know what's happening, i've tried all i can do. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876098#3876098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876098 --- 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] - Hibernate3 integrate with JBoss 4.0...
Hi veryone! i like to have hibernate3 to work with JBoss 4.0.1 or 0.2 but when replace with hibernate2.jar with hibernate3.jar and jboss-hibernate.jar with jboss-hibernate3.jar. At the deploy the ear application. the Har pack did not deploy at all. Help please? or thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876096#3876096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876096 --- 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