[JBoss-user] [Management, JMX/JBoss] - How to invoke mbean method from standalone class
I am writing a test code and need to control some mbeans in jboss. I am using jboss-4.0.3 with jdk 1.5.0_05-b05. Please read my code following: Properties prop = new Properties(); prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); prop.put(Context.PROVIDER_URL, "jnp://copper:1099"); try { ic = new InitialContext(prop); } catch (NamingException e) { System.err.println("Could not locate initial context for server! " + e.getMessage()); } RMIAdaptor server = null; Object obj = null; int ret = 0; System.out.println("here"); try { server = (RMIAdaptor)ic.lookup("jmx/rmi/RMIAdaptor"); } catch (NamingException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } System.out.println("here"); ObjectName mgrName = null; try { mgrName = new ObjectName("amethon.mccf:service=PickUp"); obj = server.invoke(mgrName, "startPickUp", new Object[] {}, new String[] {}); } catch (Exception e) { System.err.println("Error invoking method"); ret = -1; } It throws exception: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 6926421946503004889]] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:970) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.amethon.mccf.functest.tools.JmxConsoleController.startPickup(JmxConsoleController.java:45) at com.amethon.mccf.functest.tools.JmxConsoleController.main(JmxConsoleController.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 6926421946503004889] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:964) ... 10 more Caused by: java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 6926421946503004889 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at org.jboss.invocation.InvokerInterceptor.readExternal(InvokerInterceptor.java:125) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:66) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:66) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711) at java.io.ObjectInputStream.readObject0(ObjectInputS
[JBoss-user] [Installation, Configuration & Deployment] - Re: custom property file placement
You can place them in server/default/conf and these properties files will be accessible to you in your code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903148#3903148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903148 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Barcelona recap
the presentation is online and visible at http://www.jboss.com/elqNow/elqRedir.htm?ref=http://www.jboss.com/pdf/jbw_barc/integ_middleware/jboss_portal.pdf. you should also look at the very interesting presentations of WSRP http://www.jboss.com/elqNow/elqRedir.htm?ref=http://www.jboss.com/pdf/jbw_barc/integ_middleware/ent_portal_wsrp.pdf and there are a few interesting presentation related to portal too : - JBoss Reporting Services with JasperReports http://www.jboss.com/elqNow/elqRedir.htm?ref=http://www.jboss.com/pdf/jbw_barc/integ_middleware/jboss_reporting_services.pdf - Building a Scalable Repository and Portal Integration with JBoss Technology http://www.jboss.com/elqNow/elqRedir.htm?ref=http://www.jboss.com/pdf/jbw_barc/best_practices/building_scalable_repository_portal.pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903142#3903142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903142 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Apache Portable Runtime Startup Error/Advice
I have installed the recent version of Tomcat 5.5.12 and do not understand how to resolve this startup error. INFO: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.5.0_04\bin;.; C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system3 2\WBEM;C:\Java\jdk1.5.0_04\bin I am new and I don't understand this and cannot find anything in the documentation. If anyone can help me resolve this matter I would appreciate it very much. Thanks in advance!!! mm View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903139#3903139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903139 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Auto reload classes in JBOSS
I figured out how to "touch" or change the web.xml's lastmodified date, but that did not work... File webfile = new File(); long curr_secs = System.currentTimeMillis; webfile.setLastModified(curr_secs); --- Any more suggestions? If one is using JBOSS to update an RSS Feed, this will be helpful View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903136#3903136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903136 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Mail not bound error
my apologies... Exception in thread "main" javax.naming.NameNotFoundException: mail not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:522) | at org.jnp.server.NamingServer.getObject(NamingServer.java:528) | at org.jnp.server.NamingServer.lookup(NamingServer.java:252) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) | at sun.rmi.transport.Transport$1.run(Unknown Source) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) | at sun.rmi.server.UnicastRef.invoke(Unknown Source) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(Unknown Source) | at client.XMLClient.LoadContext(XMLClient.java:136) | at client.XMLClient.main(XMLClient.java:62) | | | there is nothing in server.log about mail but the following is displayed on the Eclipse console when I changed debug to true | | 00:11:12,890 INFO [MailService] Mail service 'java:/mail/JFrMail' removed from JNDI | | 00:11:13,109 INFO [STDOUT] DEBUG: JavaMail version 1.3.1 | | 00:11:13,109 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jre1.5.0_02\lib\javamail.providers (The system cannot find the file specified) | | 00:11:13,156 INFO [STDOUT] DEBUG: !anyLoaded | | 00:11:13,156 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.providers | | 00:11:13,171 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.providers | | 00:11:13,171 INFO [STDOUT] DEBUG: Tables of loaded providers | | 00:11:13,171 INFO [STDOUT] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} | | 00:11:13,171 INFO [STDOUT] DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} | | 00:11:13,187 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map | | 00:11:13,187 INFO [STDOUT] DEBUG: !anyLoaded | | 00:11:13,203 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map | | 00:11:13,203 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jre1.5.0_02\lib\javamail.address.map (The system cannot find the file specified) | | 00:11:13,203 INFO [MailService] Mail Service bound to java:/mail/JFrMail | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903135#3903135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903135 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: scanForMappings scan one hibernate-mapping file twice in
problem resolved. 07:54:52,157 DEBUG [Hibernate] Passing directory [E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-web.war] to Hibernate Configration 07:54:52,217 DEBUG [Hibernate] Passing directory [E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-ejb.jar] to Hibernate Configration 07:54:52,247 INFO [Configuration] Mapping file: E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-ejb.jar\conf\hbm\EpmGProject.hbm.xml 07:54:52,377 DEBUG [DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/ 07:54:52,377 DEBUG [DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath 07:54:52,828 INFO [HbmBinder] Mapping class: com.metarnet.epm.business.bo.Project -> EPM_G_PROJECT 07:54:52,908 DEBUG [HbmBinder] Mapped property: pid -> PID 07:54:52,978 DEBUG [HbmBinder] Mapped property: projectName -> PROJECT_NAME 07:54:52,978 DEBUG [HbmBinder] Mapped property: projectId -> PROJECT_ID 07:54:52,978 DEBUG [HbmBinder] Mapped property: speciality -> SPECIALITY 07:54:52,978 DEBUG [HbmBinder] Mapped property: province -> PROVINCE 07:54:52,978 DEBUG [HbmBinder] Mapped property: netType -> NET_TYPE 07:54:52,978 DEBUG [HbmBinder] Mapped property: projectCode -> PROJECT_CODE 07:54:52,978 DEBUG [HbmBinder] Mapped property: principal -> PRINCIPAL 07:54:52,978 DEBUG [HbmBinder] Mapped property: principalTel -> PRINCIPAL_TEL 07:54:52,978 DEBUG [HbmBinder] Mapped property: enPs -> EN_PS 07:54:52,978 DEBUG [HbmBinder] Mapped property: enManual -> EN_MANUAL 07:54:52,988 DEBUG [Hibernate] Passing directory [E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear] to Hibernate Configration I trace this Hibernate.scanForMappings(), it first scan epm-ejb.jar, and scan epm.ear. so , put the hbm.xml at ear but not in ejb.jar and web.war,all right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903134#3903134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903134 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JDBCCacheLoader: primary key creation fails
JIRA feature request created: http://jira.jboss.com/jira/browse/JBCACHE-345 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903133#3903133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903133 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - scanForMappings scan one hibernate-mapping file twice in jbo
i put a hibernate-service.xml in ear , and add jboss-app.xml in META-INF. -- hibernate-service.xml like this: server mbean code="org.jboss.hibernate.jmx.Hibernate" name="epm-hibernate:name=EPMSessionFactory" attribute name="DatasourceName" java:/XAOracleEPMDS /attribute attribute name="Dialect" org.hibernate.dialect.Oracle9Dialect /attribute attribute name="SessionFactoryName" java:/hibernate/EPMSessionFactory /attribute attribute name="Hbm2ddlAuto" false /attribute attribute name="ShowSqlEnabled" true /attribute attribute name="CacheProviderClass" org.hibernate.cache.HashtableCacheProvider /attribute /mbean /server -- jboss-app.xml like this: http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";> jboss-app module service hibernate-service.xml /service /module /jboss-app - the ear catalog like this: test.ear |---META-INF | |application.xml | |jboss-app.xml | |MANIFEST.MF | |---hibernate-service.xml |---epm-ejb.jar |---epm-web.war Problem is, if i don't put any hbm.xml in test-ejb.jar , nothing wrong.But when i put a hbm.xml in test-ejb.jar,it has a wrong: 07:15:49,749 INFO [Configuration] Mapping file: E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-ejb.jar\conf\hbm\EpmGProject.hbm.xml 07:15:50,079 INFO [HbmBinder] Mapping class: com.metarnet.epm.business.bo.Project -> EPM_G_PROJECT 07:15:50,159 INFO [Configuration] Mapping file: E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-ejb.jar\conf\hbm\EpmGProject.hbm.xml 07:15:50,249 ERROR [Configuration] Could not compile the mapping document org.hibernate.MappingException: duplicate import: com.metarnet.epm.business.bo.Project The jboss scan the same hibernate-mapping file twice! anybody would help me ? thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903132#3903132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903132 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Auto reload classes in JBOSS
What is meant by "touching"? Can you be more specific? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903130#3903130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903130 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Container Exceptions
Hi Guys: I am puzzling over this from 2 days, I couldn't able to find good tutorial on Net. I am using CMP and JBoss 3.2.6. I would like catch when DB is down and throw App specific exception. My application has POJO which will look up Entity CMP bean by JNDI and then FindRecord for given swid and then will call set on bean fields to update DB info. Server was started and DB was up and running at that time, When POJO calls FindByPrimaryKey on bean what kind of exception I can expect if DB is down. If DB is up at calling FindByPrimaryKey but while calling set methods on bean if DB is down before container do DB update what kind of exception I can expect from container. I would like to come up generic utility class such that whenever I get exception from container I should be able to say DB is down. Please let me know folks, Thanks alot, Anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903129#3903129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903129 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Schedulable and security
Hi, I was wondering if there was a way to have a given schedulable task run as a given user? Is the only approach to have the task perform a client side jaas login? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903128#3903128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903128 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JDBCCacheLoader: primary key creation fails
You're right; this should be configurable. Everything else in the create table DDL is. Can you open a feature request on JIRA for this? As a workaround, you can manually create your db tables, and set config properties cache.jdbc.table.create and cache.jdbc.table.drop to false. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903127#3903127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903127 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Mail not bound error
Post back with your stacktrace (if any), along with the log information from server.log during your access of the mail service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903123#3903123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903123 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - JDBCCacheLoader: primary key creation fails
Hello, I can't find a way to configure two caches so thay have two different tables for JDBCCacheLoader on one scheme. I get creating primary key exception: --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: test.cache:service=SecondCache | State: FAILED | Reason: org.postgresql.util.PSQLException: ERROR: relation "jbosscache_pk" already exists | | I Depend On: | jboss:service=Naming | jboss:service=TransactionManager | jboss.jca:name=/ds/Test/secondcache,service=DataSourceBinding In my DB: | Indexes: | "jbosscache_pk" PRIMARY KEY, btree (fqn) | Is there a way of naming primary key? This would solve the problem. CacheLoaderConfig: cache.jdbc.datasource=java:/ds/Test/secondcache | cache.jdbc.table.name=secondcache | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903122#3903122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903122 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Accessing ResourceAdapter implementation instance from web a
Hi, I have just finished a JCA (1.5) implementation for outbound TCP/IP connections and I was planning to create a web-app that would allow me to control different ManagedConnectionFactory instances associated with my ResourceAdapter implementation. This would allow me to, given a moment in time, see which connection factories are active, how many connections are in use and possibly destroy some of them if necessary. In order to do this, I need to be able to access the ResourceAdapter implementation instance from my web application. I looked in the JCA spec, but nothing seems to be mentioned about whether it is possible to access the ResourceAdapter implementation. Any one done this? I think i might be able to do it via the RAR deployment service JMX bean ('ResourceAdapter' attribute), but this would tie me to a JBoss application server implementation. Any help would be appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903119#3903119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903119 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Trailblazer Question !?!?
There are some slight differences in the IDE since the IDE TrailBlazer movies were created. I hope it is updated soon, but the majority of the demo is still applicable. What problems are you having with the DVD TrailBlazer? It was developed on 4.0.3 and should run fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903117#3903117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903117 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Error on Startup
Digging in the Boot.log I noticed the following line: anonymous wrote : | 14:41:25,071 DEBUG [Server] Created MBeanServer: [EMAIL PROTECTED] | Shouldn't that read: anonymous wrote : | 15:34:02,013 DEBUG [Server] Created MBeanServer: [EMAIL PROTECTED] defaultDomain='jboss' ] | Does anyone now why the sun MBeanServer would load instead of the JBoss one? Any ideas on how to force it to load the JBoss MBeanServer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903116#3903116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903116 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Error on Startup
I am helping a coworker install JBoss and we are having a problems. THis has worked on my Mac with the same config so we are confused. We have installed JBoss (4.0.3) both from the ".zip" download and the "installer jar file." (both installations give the same error) However, after installation when we try and run JBoss we get the error displayed below. We are running the default server with no changes made to anything in JBoss. The system is Mac OSX 10.4.2, with the latest (1.4.2_9) jvm. I found a previous thread that discussed the same problem, but it was for JBoss version 3.2.X and the user was running a 1.5 jvm. The answer to that user was the java 1.5 wasn't supported on JBoss 3.2.X. As I am running JBoss 4.0.3 and a 1.4.2 jvm this didn't help. Any ideas of what I could be doing wrong? Thanks in advance. anonymous wrote : | | = | | JBoss Bootstrap Environment | | JBOSS_HOME: /Users/mikedonnelly/Desktop/jboss-4.0.3 | | JAVA: java | | JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh | | CLASSPATH: /Users/mikedonnelly/Desktop/jboss-4.0.3/bin/run.jar:/lib/tools.jar | | = | | 14:41:24,945 INFO [Server] Starting JBoss (MX MicroKernel)... | 14:41:24,948 INFO [Server] Release ID: JBoss [Zion] 4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510042324) | 14:41:24,963 INFO [Server] Home Dir: /Users/mikedonnelly/Desktop/jboss-4.0.3 | 14:41:24,963 INFO [Server] Home URL: file:/Users/mikedonnelly/Desktop/jboss-4.0.3/ | 14:41:24,965 INFO [Server] Patch URL: null | 14:41:24,966 INFO [Server] Server Name: default | 14:41:24,966 INFO [Server] Server Home Dir: /Users/mikedonnelly/Desktop/jboss-4.0.3/server/default | 14:41:24,966 INFO [Server] Server Home URL: file:/Users/mikedonnelly/Desktop/jboss-4.0.3/server/default/ | 14:41:24,967 INFO [Server] Server Temp Dir: /Users/mikedonnelly/Desktop/jboss-4.0.3/server/default/tmp | 14:41:24,968 INFO [Server] Root Deployment Filename: jboss-service.xml | Failed to boot JBoss: | javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default | at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522) | at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:599) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:397) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) | at org.jboss.Main.boot(Main.java:187) | at org.jboss.Main$1.run(Main.java:438) | at java.lang.Thread.run(Thread.java:552) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903110#3903110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903110 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Simple users/roles login to EJBs not passing username/pa
I got a little further when I found this wiki page: http://www.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory The question is, what exactly does SECURITY_PROTOCOL map to? No matter what I try, I get the following: | java.lang.SecurityException: Unable to locate a login configuration | at com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97) | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at java.lang.Class.newInstance0(Class.java:350) | at java.lang.Class.newInstance(Class.java:303) | at javax.security.auth.login.Configuration$3.run(Configuration.java:216) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:210) | at javax.security.auth.login.LoginContext$1.run(LoginContext.java:237) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.init(LoginContext.java:234) | at javax.security.auth.login.LoginContext.(LoginContext.java:403) | at org.jboss.security.jndi.LoginInitialContextFactory.getInitialContext(LoginInitialContextFactory.java:69) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:197) | at com.domain.services.JNDIClientUtil.lookupHome(JNDIClientUtil.java:22) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903099#3903099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903099 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Error building jboss-head.
Since you are new to JBoss, you would probably be better off downloading the pre-built package from http://www.jboss.org/products/jbossas/downloads. This way you can run without compiling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903096#3903096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903096 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Problem in using SonicMQ as JMS provider on JBoss
Hi I'm trying to use SonicMQ as the JMS provider in JBoss 4.0.3. I have an MDB that listens to a queue existing on SonicMQ. The MDB is able to receive the message correctly. However, when I shutdown the JBoss then the messages that the MDB had consumed reappear on the SonicMQ. Below are the relevant portions from the configuration files. I'm not able to figure out what am I missing in setting up the JMS provider. Any help would be greatly appreciated. Regards. MDB class: | package test; | | import javax.ejb.MessageDrivenBean; | import javax.ejb.MessageDrivenContext; | import javax.ejb.EJBException; | import javax.jms.MessageListener; | import javax.jms.Message; | import javax.jms.TextMessage; | import javax.jms.JMSException; | | public class JBossMDB implements MessageDrivenBean, MessageListener { | | private MessageDrivenContext ctx; | public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext) throws EJBException { | ctx = messageDrivenContext; | } | | public void ejbCreate() throws EJBException { | System.out.println("Created MDB. "); | } | public void ejbRemove() throws EJBException { | System.out.println("Removed MDB. "); | } | | public void onMessage(Message message) { | | if (message instanceof TextMessage) { | try { | String msg = ((TextMessage)message).getText(); | System.out.println("Message: "+msg); | } catch (JMSException e) { | e.printStackTrace(); | } | } else { | System.out.println("Non-text message received! "); | } | } | } | | META-INF/jboss.xml: | | | | JBossMDB | queue/test-in-queue | | | message-driven-bean | | | | | META-INF/ejb-jar.xml: | | | | JBossMDB | test.JBossMDB | Container | | javax.jms.Queue | | | | | | | JBossMDB | * | | NotSupported | | | | /server/myInstance/conf/sonicloader-conf.xml: | http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="file://d:\atProjects\JBossProvider\sonicloader.xsd"> | | jnp://localhost:1099 | org.jnp.interfaces.NamingContextFactory | org.jboss.naming:org.jnp.interfaces | throw | | | | | tcp://localhost:2506 | tcp://localhost:2506 | admin | admin | 3 | 1 | true | | | | | SonicMQ.deadMessage | | | | test.in.queue | | | | | sonicmq-service.xml: | | | file:///C:/etc/jboss-4.0.3/server/myInstance/conf/sonicloader-conf.xml | jboss:service=Naming | | | | SonicJMSProvider | | org.jboss.jms.jndi.JNDIProviderAdapter | | sonicqcf | sonicqcf | | | | | jboss:service=XidFactory | SonicStdJMSPool | | com.sonicsw.pso.jboss.v1.SonicMQServerSessionPoolFactory | | | | conf/standardjboss.xml: | | message-driven-bean | default | org.jboss.ejb.plugins.jms.JMSContainerInvoker | | SonicJMSProvider | StdJMSPool | true | | 1 | 15 | 3 | 1 | | 10 | | queue/SonicDLQ | 10 | 0 | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903094#3903094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903094 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - DestinationManager is not registered
Hi All, JBoss 4.0.2 J2SE 5.0 MS Windows Server 2003 Server config: all I cannot deploy my MDB for the following reason: anonymous wrote : | | 2005-10-24 20:28:38,937 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected: | org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:898) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createDestination(JMSContainerInvoker.java:1214) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:864) | ... 3 more | | Also, in JMX Console, jboss.mq does not have a link to the DestinationManager. I assume it's because the DestinationManager is not started, so how do I start this MBean? TIA, Claire. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903093#3903093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903093 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: migrating to 4.0.1sp1
I'm having this problem too - it is a client side issue in ServiceFactory.createService I put the username and password in the URL object. This worked with Axis, so why doesn't it work with the JBoss client code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903091#3903091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903091 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Sending Binary data using JBoss
The subject should be "Sending Binary data using JBoss" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903090#3903090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903090 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Error building jboss-head.
Hi All, I am new to jboss. By mistake I posted this post elsewhere and was asked to post it to this forum. I want to run some tests,so I checked out the source and did the following steps to build. cvs co jboss-head cd jboss-head/build ./build.sh I am using Sun 1.4.2 sdk. java -version is java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) The build fails with the following message. _default:compile-rmi: [rmic] RMI Compiling 1 class to C:\workghm\Projects\jboss\jboss-head\remoti ng\output\classes BUILD FAILED C:\workghm\Projects\jboss\jboss-head\tools\etc\buildmagic\buildmagic.ent:641: Error starting SUN rmic: I tried to check the WIKI, and FAQ but didnt find information about this error. It is possible that I may have missed to look someplace else ? I'd appreciate any help/pointers in this regard. Thanks much, Sunitha. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903089#3903089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903089 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Sending Binary data using
I'm using JBoss 4.0.2 Here's my JSP source: <% java.io.OutputStream os = response.getOutputStream(); %> That's the entire thing. Here's what I get: java.lang.IllegalStateException: getOutputStream() has already been called for this response org.apache.catalina.connector.Response.getWriter(Response.java:596) org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:186) org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124) org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117) org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191) org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115) org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75) org.apache.jsp.testout_jsp._jspService(org.apache.jsp.testout_jsp:52) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) It looks like org.apache.catalina.connector.Response.getWriter() is trying to make a call to response.getOutputStream when it shouldn't. Anyway, is there anyway to send binary data to a client using JBoss? (I'm using POI HSSF and iText for creating Excel and PDF docs.) Thanks, -Erik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903088#3903088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903088 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - security bug in ws4ee
Hi, I've just discovered this bug. I have two applications in JBoss. The first is lm.war, a web app. It contains users.properties and roles.properties files for the UsersRolesLoginModule. I also have an application call cm.ear. It contains a working WS4EE EJB Web service, cm.jar. cm.jar also contains users.properties and roles.properties When I try to access the secured web service, the UsersRolesLoginModule authenticates me against the users in lm.war, rather than those is cm.jar. Is this some kind of classpath error? As a work around, I am defining an individual login module in conf/login-config.xml, and using unique filenames instead of just users.properties and roles.properties. However, this is not ideal. Regards, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903087#3903087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903087 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.
Sorry. The forum editor mangled my post, and it doesn't look like we have the ability to edit posts any more. Try: http://www.jboss.com/index.html?module=downloads&op=download&authid=989c12d19ec03298584212c83f792f1e&downloadId=51 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903085#3903085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903085 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.
The JBoss 3.2 jbossj2ee-src.zip can be downloaded here: http://www.jboss.com/index.html?module=downloads&op=download&authid=989c12d19ec03298584212c83f792f1e&downloadId=51[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903083#3903083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903083 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Accessing JBoss 3.2.3 from external Tomcat 5.0
Hi all, I'm attempting to lookup an EJB using the JNDI service in JBoss 3.2.3 from a servlet running in a seperate Tomcat 5.0 container, however I'm getting an error when I create an InitialContext. I running Tomcat with a Security Manager and also tried adding several addicional permissions to the catalina.policy file. I'm receiving the following error: INFO: Server startup in 2437 ms javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator)] at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:69) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at br.gov.bnb.grupoecon.web.GrupoEconController.getInitialContext(GrupoEconController.java:91) at br.gov.bnb.grupoecon.web.GrupoEconController.getGerenciaCadastro(GrupoEconController.java:102) at br.gov.bnb.grupoecon.web.GrupoEconController.doPost(GrupoEconController.java:150) at br.gov.bnb.grupoecon.web.GrupoEconController.doGet(GrupoEconController.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 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.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:500) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:140) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:136) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Caused by: java.security.AccessControlException: access denied (java.net.NetPermission setDefaultAuthenticator) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269) at java.security.Ac
[JBoss-user] [JBossWS] - Test war or jar with JBOSS
Hi folks, I read got samples-4.0.2.zip examples, and found the jar and war files are not put in the /delpoy directory of Jboss for testing, but still can be tested in some way. I don't know what is tricky. I wonder if war can be deployed but don't have to be in deploy directory of Jboss. Thank you! Please help. Chaohua This is examples from http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS at the bottom samples-4.0.2.zip. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903079#3903079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903079 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: deployment question about shared libraries (several jar
Sorry, after a couple of Jboss restarts, it was starting to working fine. Thanks a lot jaikiran. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903078#3903078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903078 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EMAIL PROTECTED] - QA Engineer
QA Engineer JBoss is seeking a QA Engineer to develop and execute test plans across the JEMS product line. Responsibilities also include broad-based quality activities such as designing and executing exploratory, manual, and automated functional tests. Solid test engineering or quality experience trumps J2EE experience. Required Skills and Experience * 3 years of professional experience in quality assurance or test engineering * 2 years of experience testing server side Java applications * Deep knowledge of testing techniques * Strong written and oral communication skills * Experience running, maintaining, and diagnosing failures of JUnit tests * A passion for quality Preferred Skills and Experience * Java coding experience or knowledge * J2EE experience or familiarity * Unix command line skills * Ant Location: Austin, TX For consideration, please send your resume to: [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903077#3903077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903077 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EMAIL PROTECTED] - Inside Sales Representative
Come join a rapidly growing enterprise software and services company and the home of Professional Open Source?. JBoss, Inc. has immediate openings for Inside Sales Representatives to join our Atlanta, Georgia based team. This is a tremendous opportunity to be a part of a fast-paced, leading edge software company that is changing the way Middleware software is developed, sold, and supported. This position will report to the Director of North American Sales. For consideration, please go to www.jboss.com and click on Careers on the navigation bar at the top. Essential Job Functions: In this exciting position, you will - - Gain extensive knowledge of the JBoss cutting edge products - Conduct market research to identify potential JBoss clients - Generate new business opportunities through outbound call and email campaigns - Build relationships with potential client companies - Identify client challenges and business needs and opportunities to sell the JBoss products and services - Drive the generation of revenue through closing business deals - Meet monthly sales quota goals and objectives Required Skills and Experience: - 1 to 3 years experience performing in an Inside Sales role is required - Software sales experience is required - Proven track record of success in meeting sales quotas - Well spoken with exceptional telephone communication skills - Customer service focus - High interest in technology and the drive to learn new products - High energy and inner drive - Ability to work long hours - Bachelors Degree required, business degree preferred Equal Opportunity Employer / Drug Free Workplace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903075#3903075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903075 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EMAIL PROTECTED] - Consultant
JBoss' vision for delivering Professional Open Source to the enterprise is dependent on our ability to deliver these services profitably and with a high degree of customer satisfaction. As evidenced by the above positioning, the role of a JBoss Consultant is critical ? they must be JBoss experts but also have the consultative skills necessary to successfully manage a wide variety of customer situations. Over time, it would be expected that the Consultant would provide Consulting Services almost exclusively, but with the high demand for all types of JBoss Services, we are looking for individuals who have the skills and flexibility to be able to provide all three of our service offerings, i.e. consulting, training and support. In fact in many situations, the consulting service delivered will actually be a customized on-site training engagement. The successful candidate will be comfortable being labeled as a ?J2EE expert? today, even if they have not necessarily been employed specifically as a consultant before. Required Skills and Experience * 8+ years of professional work experience * On-Site Customer Consulting Experience * 5+ years Java/J2EE experience * In-depth knowledge of the J2EE platform * In-depth knowledge of at least one enterprise Application Server preferably JBoss, but WebLogic and WebSphere experience will also be considered * Strong communication and presentation skills * Ability to travel - working at a customer site at least 70% of the time Preferred Skills and Experience * Developed applications using JBoss technologies * Knowledge of Hibernate and Tomcat * Ability to deal with change and limited structure * Must be highly motivated, self-sufficient, perceptive, ambitious, flexible and high energy * Some experience of delivering training Location There are multiple JBoss Consultant positions open and most continental US locations will be considered given that the position will likely require a moderate amount of travel. JBoss, Inc. is an Equal Opportunity Employer and supports a Drug Free Workplace For consideration, please send your resume to: [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903074#3903074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903074 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Startup Error! Help Me
Look for duplication in your folder: jboss/server/XXX/deploy. For example in my case it was: "jboss-aop-jdk50.deployer" and "jboss-aop.deployer" I have just delete previos "jboss-aop.deployer" folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903073#3903073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903073 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: reloading one war within an instance
btw this is a redhat environment and all the applications are wars. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903069#3903069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903069 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - custom property file placement
I am using Jboss 3.2.1, deploying an application (jay.ear). This app needs to read a jay.properties file which I'd like to reside outside the ear itself, so it can be updated without redeploying the app. Where in the JBoss file path should I put these property files or if not on the path, how can I "tell" JBoss where they are? Thanks, Jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903068#3903068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903068 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: reloading one war within an instance
thanks, but hot deploy doesnt work for some reason. the application seems to reload but all sorts of errors occur until the instance is stopped/restarted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903067#3903067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903067 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0.2 MDB bind to remote MQSeries
It was a configuration problem. JBoss.xml file should read: anonymous wrote : WSMQ Message Driven Bean instead of: anonymous wrote : Standard Message Driven Bean The tag looks like a comment instead of an ID (i.e. wsmq-mdb-conf-name instead of WSMQ Message Driven Bean) Also Non durable Topics work perfectly, next step is to try Durable Topics using MDB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903066#3903066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903066 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
"[EMAIL PROTECTED]" wrote : Motormind, | | You've been so helpful in the beta, we wanted to find a way to get Map.values() working for you in 1.2.4. So, we pushed that one forward from 1.3 and its fixed in CVS. See | | http://jira.jboss.com/jira/browse/JBCACHE-342 | | Thanks much for all your helpful posts. Hey, no need to become sarcastic ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903063#3903063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903063 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - hypersonic data file size grows too big
I am using JBoss 4.0.2. One thing that I noticed is that the hypersonic data file (localDB.data) grows so big that eventually it reaches its limit (2G), and I start to get JMS exceptions all over the places. However, when I open the hypersonic database management console from the jmx console, and query the number of records in all tables, I generally get 0 records in them. Based on the documents, it seems that hypersonic would compact the database when it has 200M free space and the log file reaches 200M. The behavior I saw is that every time when the log file size grows to 200M, the log file size is reset, and the data file size increased by 200M. If I run CHECKPOINT DEFRAG from the hypersonic management console, the data file mostly goes right back to 1M. Can someone help me on what I did wrong? Thanks, Hengli View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903061#3903061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903061 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.
Seems like the jboss guys dont want us to use their old tech... or am I wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903054#3903054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903054 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: getUserPrincipal() returns null after successful JAAS Lo
Does using Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS in the properties/env when you remotely obtain the home of the EJB count as a JAAS container login? I'm getting null on the principal/password check when invoking protected EJB methods, verified by both trace output and debugging SecurityAssociationHandler, UsernamePasswordLoginModule and UsersRolesLoginModule in the IDE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903051#3903051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903051 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss MQ deadlocks using JBoss 4.0.2 + MySQL 4.1.14 InnoDB
Hallo, im experiencing Database deadlocks using JBoss 4.0.2 and MySQL 4.1.14 using InnoDB tables (as I considered JMS TX-safety important). For the JMS-service, I deployed docs/examples/jms/mysql-jdbc2-service.xml as shipped with the jboss 4.0.2 distribution. JBoss chokes Caused by: org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not remove message: 56 msg=55 soft STORED PERSISTENT queue=QUEUE.testQueue priority=4 lateClone=false hashCode=9710658; - nested throwable: (java.sql.SQLException: Deadlock found when trying to get lock; try restarting transaction))) at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:87) at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2142) at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1675) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:312) while mysql has a point of view like this: LATEST DETECTED DEADLOCK 051019 20:02:32 *** (1) TRANSACTION: TRANSACTION 0 91476, ACTIVE 0 sec, process no 6297, OS thread id 9415600 fetching rows mysql tables in use 1, locked 1 LOCK WAIT 5 lock struct(s), heap size 320, undo log entries 2 MySQL thread id 11, query id 7272 localhost.localdomain 127.0.0.1 jboss_jms updating DELETE FROM JMS_TRANSACTIONS WHERE TXID = 33 *** (1) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 20 page no 3 n bits 160 index `GEN_CLUST_INDEX` of table `jboss_jms/JMS_TRANSACTIONS` trx id 0 91476 lock_mode X waiting Record lock, heap no 61 PHYSICAL RECORD: n_fields 4; 1-byte offs TRUE; info bits 0 0: len 6; hex 1120; asc ;; 1: len 6; hex 00016553; asc eS;; 2: len 7; hex 80002d0084; asc - ;; 3: len 4; hex 8022; asc ";; *** (2) TRANSACTION: TRANSACTION 0 91475, ACTIVE 0 sec, process no 6297, OS thread id 8838064 starting index read, thread declared inside InnoDB 500 mysql tables in use 1, locked 1 4 lock struct(s), heap size 320, undo log entries 1 MySQL thread id 9, query id 7275 localhost.localdomain 127.0.0.1 jboss_jms Updating UPDATE JMS_MESSAGES SET TXID=34, TXOP='D' WHERE MESSAGEID=29 AND DESTINATION='QUEUE.testQueue' *** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 20 page no 3 n bits 160 index `GEN_CLUST_INDEX` of table `jboss_jms/JMS_TRANSACTIONS` trx id 0 91475 lock_mode X locks rec but not gap Record lock, heap no 61 PHYSICAL RECORD: n_fields 4; 1-byte offs TRUE; info bits 0 0: len 6; hex 1120; asc ;; 1: len 6; hex 00016553; asc eS;; 2: len 7; hex 80002d0084; asc - ;; 3: len 4; hex 8022; asc ";; *** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 17 page no 3 n bits 128 index `PRIMARY` of table `jboss_jms/JMS_MESSAGES` trx id 0 91475 lock_mode X locks rec but not gap waiting Record lock, heap no 49 PHYSICAL RECORD: n_fields 7; 1-byte offs FALSE; info bits 0 0: len 4; hex 801d; asc ;; 1: len 15; hex 51554555452e746573745175657565; asc QUEUE.testQueue;; 2: len 6; hex 00016458; asc dX;; 3: len 7; hex 80002d0084; asc - ;; 4: SQL NULL, size 4 ; 5: len 3; hex 412020; asc A ;; 6: len 30; hex aced000577a801020009746573745175657565000200; asc w testQueue ;...(truncated); *** WE ROLL BACK TRANSACTION (2) To be honest, I have not yet tracked all SQL issued by the conflicting database sessions and i don't quite understand each and every detail about the locks. Nevertheless, I would greatly appreciate any help/suggestion here. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903048#3903048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903048 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Invoking Services at Deploy Time
MBeans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903047#3903047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903047 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.0.3sp1 Released?
According to http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903030#3903030, a new 4.0.3sp1 version of JBoss is now available for download. Is this release going to be officially available from the JBoss website, and in the future, will it be possible for updates such as this to be applied incrementally (4.0.3 then 4.0.3sp1) so that unchanged binaries to not have to "updated"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903046#3903046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903046 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Error load Library with Jdom
Thanks, But I can't modify : deploy\jbossweb-tomcat5?.sar\META-INF\jboss-service.xml . We have many application on the same jboss server, So I can't modify this file. I have another errro : java.lang.ClassCastException at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:903) any idea, please. My application should be on production tomorow !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903043#3903043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903043 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - How do I write Portlets for my Own Portal..
Hi, Following the instruction from the Topic "How do I write my Own Portal.." I have created my custom portal. It works fine. Then I've added a portlet to the default page. There was still no problem, the portlet is correct displayed! However by clicking a link in the portlet I've got a default portal page instead of the next portlet page. The link ist rendered by the actionURL tag and likes as follows - /portal/index.html?ctrl:id=window.myportal.myportlet&ctrl:type=action. Any ideas how I can solve this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903041#3903041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903041 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Simple users/roles login to EJBs not passing username/passwo
I'm trying to get simple login to remote EJBs to work using the Duke example, putting the properties files in the EJB module. The problem is that even though I set the Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS when obtaining the home inteface, a trace of org.jboss.security indicates that it sees the user id and password as null. Here's the trace: | 2005-10-24 10:45:10,387 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigurationEntry(nmsBusinessServices), size=8 | 2005-10-24 10:45:10,387 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(nmsBusinessServices), authInfo=AppConfigurationEntry[]: | [0] | LoginModule Class: org.jboss.security.auth.spi.UsersRolesLoginModule | ControlFlag: LoginModuleControlFlag: required | Options: | 2005-10-24 10:45:10,387 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] initialize | 2005-10-24 10:45:10,387 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] findResource: null | 2005-10-24 10:45:10,387 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Properties file=jar:file:/home/esliman/programs/jboss/jboss-4.0.2_newtest/server/default/tmp/deploy/tmp3568nmsBusinessServices.ear-contents/nmsProviderServiceEJBs.jar!/users.properties, defaults=null | 2005-10-24 10:45:10,388 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[duke, java] | 2005-10-24 10:45:10,388 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] findResource: null | 2005-10-24 10:45:10,388 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Properties file=jar:file:/home/esliman/programs/jboss/jboss-4.0.2_newtest/server/default/tmp/deploy/tmp3568nmsBusinessServices.ear-contents/nmsProviderServiceEJBs.jar!/roles.properties, defaults=null | 2005-10-24 10:45:10,388 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[duke, java, java.CallerPrincipal, duke.CallerPrincipal] | 2005-10-24 10:45:10,388 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] login | 2005-10-24 10:45:10,388 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] Authenticating as unauthenticatedIdentity=null | 2005-10-24 10:45:10,389 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Bad password for username=null | 2005-10-24 10:45:10,389 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] abort | 2005-10-24 10:45:10,389 TRACE [org.jboss.security.plugins.JaasSecurityManager.nmsBusinessServices] Login failure | javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:166) | at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:136) | You can see from the trace that it successfully loads the properties files. The "Authenticating as unauthenticatedIdentity=null" output also indicates that the username and password are null, as the source code shows that this is what triggers this output: | if( username == null && password == null ) | { | identity = unauthenticatedIdentity; | super.log.trace("Authenticating as unauthenticatedIdentity="+identity); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903038#3903038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903038 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws4ee missing?!
Root of this problem is, that the ws4ee.sar is not properly deployed, because of: 16:55:02,288 WARN [ServiceController] Problem starting service jboss.ws4ee:service=JAFConfigService java.lang.NoClassDefFoundError: javax/activation/CommandMap I checked default/server/lib, but there is an activation.jar... Any Ideas, why the .sar complains?! cheers stf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903034#3903034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903034 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Problems with Optimistic Locking in 1.2.4 FINAL
Manik> Per your request I have downloaded and installed the 1.2.4 final jbosscache.jar into my 4.0.2 jboss deployment. I still get the same transaction exceptions with 1.2.4 final as I did with the cvs releases. An important thing to note is that I have 1 remote client making repeated calls to a stateless session bean. The Stateless Session bean is then writing to the cache. If I run that client by itself it can run for 100,000s of iterations just fine. If have another remote client that makes repeated calls to another stateless session bean that does cache reads. If I run these clients in parallel (same time but seperate vms) It works with Pessimistic locking but with Optimistic locking I get this exception after between 50 - 100 iterations. 10:54:13,480 INFO [OptimisticValidatorInterceptor] DataNode [/Core/Connections/4b6s1o1j-mbd0of-ef6vdhq2-1-ef6vfv4z-4/SubscriberSequences/4b6s1o1j-mbd0of-ef6vdhq2-1-ef6vfv9r-5/SubStats] version number (52) is greater than or equal to workspace node version 52 | 10:54:13,480 WARN [OptimisticTxInterceptor] runPreparePhase() failed. Transaction is marked as rolled back | org.jboss.cache.CacheException: unable to validate nodes | at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:115) | at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:70) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) | at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:87) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) | at org.jboss.cache.interceptors.OptimisticReplicationInterceptor.invoke(OptimisticReplicationInterceptor.java:76) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41) | at org.jboss.cache.interceptors.OptimisticTxInterceptor.handleLocalPrepare(OptimisticTxInterceptor.java:262) | at org.jboss.cache.interceptors.OptimisticTxInterceptor.access$000(OptimisticTxInterceptor.java:30) | at org.jboss.cache.interceptors.OptimisticTxInterceptor$SynchronizationHandler.beforeCompletion(OptimisticTxInterceptor.java:600) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:72) | at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1384) | at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1076) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:296) | at org.jboss.tm.TxManager.commit(TxManager.java:200) | at org.jboss.cache.interceptors.OptimisticTxInterceptor.handleLocalTx(OptimisticTxInterceptor.java:216) | at org.jboss.cache.interceptors.OptimisticTxInterceptor.invoke(OptimisticTxInterceptor.java:109) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4339) | at org.jboss.cache.TreeCache.put(TreeCache.java:3083) | at org.jboss.cache.TreeCache.put(TreeCache.java:3024) | at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at infrastructure.platform.server.util.services.cache.impl.JBossSerializableCacheServiceHelper.invokeServerMethod(JBossSerializableCacheServiceHelper.java:266) | at infrastructure.platform.server.util.services.cache.impl.JBossSerializableCacheServiceHelper.put(JBossSerializableCacheServiceHelper.java:183) | at infrastructure.platform.server.util.cache.impl.SerializableJBossCacheMap.put(SerializableJBossCacheMap.java:374) | at infrastructure.platform.server.util.cache.CachedMap.put(CachedMap.java:255) | at infrastructure.platform.shared.capi.core.plugin.j2ee.jms.impl.SubProliferator.disseminate(SubProliferator.java:223) | at infrastructure.platform.server.publication.core.impl.PluggableDisseminator.disseminate(PluggableDisseminator.java:84) | at infrastructure.platform.server.publication.core.utils.impl.PSDisseminationWorker.exec(PSDisseminationWorker.java:270) | at infrastructure.platform.server.publication.core.utils.impl.PSDisseminationWorker.run(PSDisseminationWorker.java:350) | at EDU.osweg
[JBoss-user] [JBossWS] - Re: ws4ee missing?!
ok, i found the jboss-ws4ee.sar in a jboss-4.0.2: After Deploying this .sar, I get numerours exceptions from the web-app containing the webservices, Starting with a java.lang.NoClassDefFoundError: org/jboss/webservice/metadata/HandlerMetaData and ending with: --- MBeans waiting for other MBeans --- ObjectName: jboss.ws4ee:service=JAFConfigService State: FAILED Reason: java.lang.NoClassDefFoundError: javax/activation/CommandMap Should simply deploying jboss-ws4ee.sar work or are there serious things missing to simnply copy this over to my jboss-4.0.3?! cheers stf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903032#3903032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903032 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: SecureWS & 4.0.3 - client certificate needed?
4.0.3sp1 includes this fix as well as other ssl issues. This is available here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=365509 -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903030#3903030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903030 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - ws4ee missing?!
I recently installled jboss4.0.3 with the ejb3-profile: I'm now trying to deploy a webservice (in a .war), but the webservices.xml is completely ignored and nothing is deployed (and no exceptions are thrown, it simply happens nothing) There is also nothing under http://localhost:8080/ws4ee/services - so I started looking for the ws4ee-deployer, but there is no deployment unit in my server/default/deploy. Do I need ws4ee there, and if I need it, where can I get it?! thx for any help stf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903021#3903021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903021 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS with DB2
Also, do not forget to set the schema in your datasource, in case you use the same db2 user to connect to multiple schemas. This is something missing from the db2 datasource examples and can be located also only on the forum :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903018#3903018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903018 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Retrying DLQ by JMS
Hi, Sometimes i have problems with messages on the queue that are valid but the consuming process failed to process them do to resource problems. Then i have to shut down the server, update the message_log table in jms database and restart. Is there a way to do that in server via JMX or so? Regards, Christian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903014#3903014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903014 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: deployment question about shared libraries (several jar
When you say its not working, is it that you are seeing any exception? If yes, please post the stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903012#3903012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903012 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Newbie: Page access
I am considering moving our applcaitions from Liferay to the JBoss Portal. I have played briefly with 2.0 and have the following question: Is it possible to control page visibility based on the user's authentication status? In other words, can I hide certain pages completely until the user logs in. I can do this in Liferay, but most of the JBoss Portal demos I have seen don't seem to do this, e.g. you can see a page and the portlets have messages telling the user to login. I would like to hide the whole page. Thanks in advance! -Keith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903011#3903011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903011 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How can we tell JBoss, which database schema it should u
Can someone add this set schema stuff to the DB2 datasource template (or in Wiki)? I could not find it there, only here on the forum :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903009#3903009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903009 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: aop-enabled objects not Serializable anymore?
No, this is the AOP-associated interceptor that we attach. Problem is this is not Serializable. And it doesn't make sense for it to be Serializable, IMO. Can you give me your use case? One way to do it is do "removeObject" first, then the pojo will become regular pojo. But that will destroy the cache content. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903006#3903006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903006 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
thanks a lot for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903002#3903002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903002 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: javax.naming.CommunicationException
Hi, make sure you supplied the correct host:port vlaue pairs to access the JNDI service using twiddle. Especially if you defined --host in run.conf to bind the jboss instance to a particular network address, you have to use that one. Example: ./twiddle.sh -s localhost:1099 get 'jboss.web:host=localhost,path=/jmx-console,type=Manager' might be different from: ./twiddle.sh -s jboss1:1099 get 'jboss.web:host=localhost,path=/jmx-console,type=Manager' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903001#3903001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903001 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
I would actually recommend another topic, specific to Optimistic Locking in 1.2.4 FINAL. Thanks! Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902999#3902999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902999 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: missing ejb-local-ref section in jboss-web.xml
Sorry, posted this in the wrong thread (should be JBoss IDE (Users)). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902996#3902996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902996 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
hurrah ...i have found it. its in the c:\jboss\client\jbossall-client.jar folder. NOW ITS WORKINGYOU ARE A GENEIOUS MAN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902995#3902995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902995 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
i tried with adding C:\jboss\lib\commons-logging.jar in the classpath java -classpath .;C:\jboss\client\jboss-client.jar;C:\jboss\cl ient\jnp-client.jar;C:\jboss\lib\commons-logging.jar; Client "golden retriever " Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Log ger at org.jnp.interfaces.NamingContext.(NamingContext.java:143) at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte xtFactory.java:41) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.(Unknown Source) at Client.main(Client.java:25) NO SUCCESS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902994#3902994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902994 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: InitialContext taking long time, any tips to speed-up?
anybody can help please? thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902993#3902993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902993 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
>have you tried jbossall-client.jar there is no such jbossall-client.jar in the lib folder of jboss. the lib folder contains . commons-httpclient.jar,commons-logging.jar,concurrent.jar,dom4j.jar,getopt.jar,gnu-regexp.jar,jaxen.jar,jboss-common.jar,jboss-jmx.jar,jboss-system.jar,log4j-boot.jar,namespace.jar,webdavlib.jar and endorsed folder which contains xml jars. as u see there is no jbossall-client.jar as u mentioned in the C:\jboss\lib what i can do then ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902991#3902991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902991 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: HowTo optain list of active user sessions?
Hi Meikel, Can you share with me how you solved the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902990#3902990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902990 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - missing ejb-local-ref section in jboss-web.xml
Hi, I'm strugling with XDoclet. I'm using JBossIDE to generate deployment descriptors for accessing a session bean from a servlet using it's local interfaces. I can't find the correct Xdoclet tag to use in my servlet to generate a correct jboss-web.xml file. This is what I've got: /** | * Servlet Class | * | * @web.servlet name="Compute" | * display-name="Compute" | * description="Computes Fibonaci numbers 0..n for a given number n." | * | * @web.servlet-mapping url-pattern="/Compute" | * | * @web.ejb-local-refname="ejb/myFibo" | * description = "Reference to a bean that calculates Fibonaci numbers." | * type="Session" | * local="tutorial.interfaces.FiboLocal" | * home="tutorial.interfaces.FiboLocalHome" | * | * @jboss.ejb-ref-jndi ref-name = "ejb/myFibo" | * jndi-name = "FiboLocal" | * | * | */ | public class ComputeServlet extends HttpServlet { | ... | } | This (ofcourse) results in the following stuff in my jboss-web.xml file: | |(...) | | | | | ejb/myFibo | FiboLocal | | | | | | Instead of the wanted: | | |(...) | | | | | | | | ejb/myFibo | FiboLocal | | | | I understand the problem lies with the @jboss.ejb-ref-jndi tag, which only gets a remote jndi reference generated. What is the correct XDoclet tag to get a local jndi reference in my jboss-web.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902992#3902992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902992 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
[EMAIL PROTECTED] Sure thing. Where do you want me to post my findings? This topic, a new topic, or the 1.2.4 final topic? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902989#3902989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902989 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
It can be applied at method level, basically you would define a method-permission element that contains method elements that describe the method you do not want security checks for - within this method-permission you would put the unchecked element instead of adding the role-name elements. | | | | EmployeeService | * | | | The remaining methods can be secured in the same way that you are currently securing them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902988#3902988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902988 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Class problem
Thanks for the reply, but afraid not, everything thats referred to in the code is contained within the particular jar within the ear file, thanks for the help though, and any more help will be greatly appreciated Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902987#3902987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902987 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
Hi, sorry i've not used the unchecked option. but can it be applied at a method level or at a class level? if it can be applied at the class level, then it would be difficult because i need to permission some business methods. looking forward to your reply Thanks Vinay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902986#3902986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902986 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: deployment problem
Instead of the two jars you have put in the classpath have you tried jbossall-client.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902985#3902985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902985 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: deployment problem
DO NOT CROSS POST View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902984#3902984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902984 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: deployment question about shared libraries (several jar
Yes, I did it. I dont know why but it doesn't work. It only works putting the libraries into the JBOSS_HOME/lib or JBOSS_HOME/server/default/lib. Maybe do I need to use a specific UCL for the EAR file?. Thanks jaikiran. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902982#3902982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902982 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - aop-enabled objects not Serializable anymore?
Hi there, I try collect some Serializable objects from a TreeCacheAop instance and try to send them over an RMI-collection to a client. Alas, I get this error (this is a partial stacktrace): | java.rmi.UnmarshalException: error unmarshalling return; nested exception is: | java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jboss.cache.aop.collection.CachedListInterceptor | What does this mean? Are Serializable objects that are AOP-enabled all of a sudden not serializable anymore? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902981#3902981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902981 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - deployment problem
i have Jboss 4.0.2. i have deployed EJB in the Jboss server/deploy/default folder successfully. Now i am getting exception while running the client. | java -classpath .;C:\jboss\client\jboss-client.jar;C:\jboss\cl | ient\jnp-client.jar; Client "golden retriever" | | | | Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at org.jnp.interfaces.NamingContext.(NamingContext.java:143) | at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte | xtFactory.java:41) | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.init(Unknown Source) | at javax.naming.InitialContext.(Unknown Source) | at Client.main(Client.java:25) | whats wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902979#3902979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902979 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - deployment problem
i have Jboss 4.0.2. i have deployed EJB in the Jboss server/deploy/default folder successfully. Now i am getting exception while running the client. | java -classpath .;C:\jboss\client\jboss-client.jar;C:\jboss\cl | ient\jnp-client.jar; Client "golden retriever" | | | | Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at org.jnp.interfaces.NamingContext.(NamingContext.java:143) | at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingConte | xtFactory.java:41) | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.init(Unknown Source) | at javax.naming.InitialContext.(Unknown Source) | at Client.main(Client.java:25) | whats wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902980#3902980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902980 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
Ok in that scenario instead of specifying the roles in the element you can add an element to disable the checking of the roles. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902978#3902978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902978 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
Hi, thanks a lot for your help. but once you have given permissions to the business methods, is there any point in controlling access to remote object creation?. let us assume that a user who does not have access to any of the business method logs in , in that case the container would anyways throw a security exception. I think we need to put in unecessary code and this would also mean that if i have configured 20 roles for the bean for 20 different business methods, all of them will have an entry for the create method will is really a pain. please correct me if i'm wrong. thanks a lot agian for your help lookiing for to your reply Thanks Vinay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902977#3902977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902977 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: simple question about virtual hosts
I'm not sure if this will help or not, but I'm using JBoss 4.0.2. There are no errors to report, just that the virtual host setup not working as expected. Of course, I've checked the manual and the forums, but to no avail. Just a nudge in the right direction would help immensly! Thanks, Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902975#3902975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902975 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
But the message is not about securing the callback methods, the callback methods are ejbCreate and ejbRemove and when these are called is not directly related to the calls from the client. The method you are securing is the create method of the home interface and the reason for securing this is to say which users are allowed to get access to the components remote interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902973#3902973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902973 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Error in using TreeCache from Hibernate
I successfully configured JbossCache in Jboss 4.0.2, but when I configure Hibernate to use TreeCache I get A ClassNotFoundException: 13:57:59,832 ERROR [Hibernate] Starting failed jboss.har:service=Hibernate org.hibernate.HibernateException: could not instantiate CacheProvider: org.jboss.cache.TreeCache Jboss 4.0.2, Hibernate version 3.0.5, JbossCache version 1.2.4 jboss-cache.jar and jgroups.jar is in ./lib. I successfully use TreeCache http sessionreplication in the same Jboss instance. tree-service.xml | | | | | jboss:service=Naming | jboss:service=TransactionManager | | org.jboss.cache.JBossTransactionManagerLookup | REPEATABLE_READ | REPL_ASYNC | TreeCache-Cluster | | | | | | | | | | | | | | | | | | 2 | 15000 | 1 | | | | In hibernate-service.xml: | ... | | org.jboss.cache.TreeCache | true | ... | regards, Börje Jonsson View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902969#3902969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902969 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
Hi, but there is no point in giving access rights to the call back methods right. why should there be any permissions allotted to the callback methods. ideally one would want to permission the business methods. i would be grateful if you can please clarify. Thanks vinay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902968#3902968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902968 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Class problem
"gavkearney" wrote : | java.lang.NoClassDefFoundError: | Is this dreaded JBoss classloader again? | Your com/precisionsoftware/trax/app/compliance/driver/ComplianceDriver is referring(extends, imports etc..) to some classes which are not there in the classpath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902967#3902967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902967 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Invoking Ejb of Jboss 3.2.3 from JBoss 4.0.2
Setting up a new production JBoss server using JBoss 4.02 and trying to get my web app and J2EE app client to run. My Test server is running 3.2.5. The web App runs fine on both servers, since there is no serialization. However, when I run the J2EE App Client on the 4.02 server, I get the same GUID error shown below. It times out on the initial JNDI lookup. WHATEVER HAPPENED TO UPWARD COMPATIBILITY? So what is the solution? - Do I need to upgrade BOTH servers? This is the tail wagging the dog. - TWO separate Build setups - 3.2 and 4.02? Are the serialized data streams actually imcompatible between the releases? Can't find much info on this subject doing searches. This is unexpected and, unless I am missing something, unreasonable. I gather it is NOT a JVM issue, but purely a JBoss issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902965#3902965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902965 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: does ejbCreate() require a permission
Yes you are missing the point, you are confusing the relationship between the create method on the home interface and the ejbCreate method of the bean implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902958#3902958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902958 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB Class problem
Im using jboss 4.0.2, hypersonic 1.7, im trying to run an application that only has 4 EJB's. The app. is being deployed as an ear file, but when i try to implement certain functionality of my app I get a class not found exception, even though the required classes are all contained within the ear package. Has anybody had similar problems? Is this dreaded JBoss classloader again? Here is a stack trace: | | 11:19:37,651 ERROR [LogInterceptor] Unexpected Error in method: public abstract | java.lang.String com.precisionsoftware.trax.app.xml.ejb.XmlApi.getXMLDocument(ja | va.lang.String) throws java.rmi.RemoteException | java.lang.NoClassDefFoundError: com/precisionsoftware/trax/app/compliance/driver | /ComplianceDriver | at com.precisionsoftware.trax.app.service.ComplianceService.doDPLEBCChec | k(ComplianceService.java:436) | at com.precisionsoftware.trax.app.service.ComplianceService.doBOD(Compli | anceService.java:149) | at com.precisionsoftware.service.Service.doMessageSpecificAction(Service | .java:251) | at com.precisionsoftware.trax.app.xml.MessageHandler.processBODMessage(M | essageHandler.java:133) | at com.precisionsoftware.trax.app.xml.MessageHandler.processMessage(Mess | ageHandler.java:56) | at com.precisionsoftware.trax.app.xml.ejb.XmlApiBean.getXMLDocument(XmlA | piBean.java:79) | at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.invocation.Invocation.performCall(Invocation.java:345) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S | tatelessSessionContainer.java:214) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo | ke(CachedConnectionInterceptor.java:185) | at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service | EndpointInterceptor.java:51) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation | Interceptor.java:48) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte | rceptor.java:105) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxI | nterceptorBMT.java:153) | at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:6 | 2) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat | elessSessionInstanceInterceptor.java:113) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. | java:122) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto | ryFinderInterceptor.java:122) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6 | 24) | at org.jboss.ejb.Container.invoke(Container.java:870) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:144) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca | lInvoker.java:155) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104) | | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto | r.java:115) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav | a:101) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor. | java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5 | 5) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi | onInterceptor.java:97) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91) | at $Proxy73.getXMLDocument(Unknown Source) | at com.precisionsoftware.trax.ui.utils.XmlCom.sendXml(XmlCom.java:61) | at com.precisionsoftware.trax.ui.web.UiComplianceCheckHandler.handleRequ | est(UiComplianceCheckHandler.java:254) | at com.precisionsoftware.trax.ui.web.UiHandler.handleRequest(UiHandler.j | ava:106) | at com.precisionsoft
[JBoss-user] [Installation, Configuration & Deployment] - How to change the url to my application dynamically?
This is a J2EE application. You have to create a customer, then add some users underr this customer. You access the application by: http://host:port/app then input your login informtion including the customer name. Customers want to use the application in the following way: http://host:port/ACustomerName Could this requirement be met in JBoss? I tried Virtual Directory, but it does not work. "app" is configured in application.xml We are useing Jboss 3.2.5 and willing to port it to JBoss 4.0 Thanks for your help very much. Guofeng View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902953#3902953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902953 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Securing DLQ - needed?
Please, help. Is it needed to secure DLQ-queue with password? This queues reside in global JNDI namespace: /queue/dlq and, as I understand, anyone can spoof this queues with for example big messages to crash JBoss. Is there any other techniques? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902954#3902954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902954 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Knowing Realm (JAAS) at runtime
Can you describe a bit more what you are actually doing? Where is this code going to be called that you have included in the post? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902952#3902952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902952 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started
Did you get any errors on deployment? There is a known hibernate issue with JBoss 4.0.3, this could be related to your problem. http://jira.jboss.com/jira/browse/JBAS-2364 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902951#3902951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902951 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - java.lang.LinkageError: loader constraints violated when lin
Dear All, I am getting the following Linkage Error while deploying my application ear in JBOss. Can some one enlight me the cause of this error ?, any hint will also will be fine. java.lang.LinkageError: loader constraints violated when linking com/sns/base/Response class com.sns.member.dao.MemEnquirySessionAdapter.retrieveRoleByMemId(MemEnquirySessionAdapter.java:643) com.crimson.elearning.ilms.login.servlet.Ilms_LoginManagerServlet.LaunchRoleSelectionPage(Unknown Source) com.crimson.elearning.ilms.login.servlet.Ilms_LoginManagerServlet.doGet(Unknown Source) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) Thanks in advance. Regards, Davis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902950#3902950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902950 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this?
"urswagner" wrote : | This code should work after specification I think. | Wrong "urswagner" wrote : | The side effect is I can compile an jar file with java which is not deployable in JBoss. | This is one reason why I am not a fan of XDoclet, the problem you are experiencing is not about a compilation problem it is about a problem in the deployment descriptor being generated by XDoclet. The method parameters in the deployment need to be fully qualified classes which is why java.lang.Integer works and Integer doesnt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902949#3902949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902949 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deploy ment] - Re: I Can´t re-load Jboss 4.03
The error you have posted only tells us that the web browser is unable to connect to JBoss, you will need to have a look in the JBoss server log to see if there were any errors during start-up. Assuming you passed no arguments to the run script the log you are looking for us {jboss.home}/server/default/log/server.log View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902947#3902947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902947 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Compatible with JBoss 3.2.6?
Hello, Is JBossCache 1.2.4 compatible with JBoss 3.2.6? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902945#3902945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902945 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user