[JBoss-user] [Beginners Corner] - sar dependency error?
Hi, I am trying to deploy 2 simple mbeans, A depends on B. I see the following behavior: 1) If they're in a single SAR, everything is good. B starts before A and A gets a proxy ref to B. 2) If they're in separate SARs, A tries to start before B and I get a not registered exception. A fails to deploy, B starts ok. If I remove the optional-attribute-name and proxy-type tags from the depends element of A, both services start successfully and in the correct order. However, I don't get the proxy ref to B automatically injected, of course. Here's the jboss-service.xml for A: my.hello:service=echo and for B: I know I can fix this by using the prefix deployer but I was hoping for a more magical solution. Any ideas? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840719#3840719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840719 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - postgres with jboss
using postgres with jboss. while running some queries from clientside, connection is lost giving memory exception. what todo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840718#3840718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840718 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Unknown errors when I compiled with ant
When I execute ...>ant -f jboss-build.xml compile Errors happened, I did not understand why these errors happened. I have followed all the steps in the document "Geting started with JBoss" p.s. it seems that the system could not find some imported class files [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\Dispatcher.java:30: cannot find symbol [javac] symbol : method getServletContext() [javac] location: class com.sun.ebank.web.Dispatcher [javac] BeanManager beanManager = (BeanManager)getServletContext().getAt tribute("beanManager"); [javac]^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\Dispatcher.java:59: cannot find symbol [javac] symbol : class HttpSession [javac] location: class com.sun.ebank.web.Dispatcher [javac] HttpSession session = request.getSession(); [javac] ^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\Dispatcher.java:64: cannot find symbol [javac] symbol : method getServletContext() [javac] location: class com.sun.ebank.web.Dispatcher [javac] BeanManager beanManager = (BeanManager)getServletContext().getAt tribute("beanManager"); [javac]^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\taglib\DefinitionTag.java:32: cannot find symbol [javac] symbol : variable pageContext [javac] location: class com.sun.ebank.web.taglib.DefinitionTag [javac] screens = (HashMap) pageContext.getAttribute("screens", pageCo ntext.APPLICATION_SCOPE); [javac] ^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\taglib\DefinitionTag.java:32: cannot find symbol [javac] symbol : variable pageContext [javac] location: class com.sun.ebank.web.taglib.DefinitionTag [javac] screens = (HashMap) pageContext.getAttribute("screens", pageCo ntext.APPLICATION_SCOPE); [javac] ^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\taglib\DefinitionTag.java:34: cannot find symbol [javac] symbol : variable pageContext [javac] location: class com.sun.ebank.web.taglib.DefinitionTag [javac] pageContext.setAttribute("screens", new HashMap(), pageC ontext.APPLICATION_SCOPE); [javac]^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\taglib\DefinitionTag.java:34: cannot find symbol [javac] symbol : variable pageContext [javac] location: class com.sun.ebank.web.taglib.DefinitionTag [javac] pageContext.setAttribute("screens", new HashMap(), pageC ontext.APPLICATION_SCOPE); [javac] ^ [javac] E:\software\Java series\J2EE\1.3\tutorial\j2eetutorial\bank\src\com\ sun\ebank\web\taglib\DefinitionTag.java:35: cannot find symbol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840716#3840716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840716 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Something wrong with manage HTML page in rc2?
Yes but the table: nukes.nuke_filestat is not one that is created by the ddl is it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840715#3840715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840715 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: :::::::An alternativa to jnp protocollo :::::::
Ok thanks pualsa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840714#3840714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840714 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Transaction Propagation across connection pool
Hi suppose i have 4 connection pools If a transaction initated from a connection taken from one of pools can be propogated to connection taken from another pool. is it a good design and is it okay regards Puneet View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840712#3840712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840712 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JavaBean passing to a session between two different VM
try it without serializing. yokivo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840711#3840711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840711 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Straight MBeans or MBeans and SessionBeans - Database ac
What are the clients calling the operations? Some may argue, but I think the JMX invocation semantics are a little too nut-and-bolt-level to be doing from business logic. If you're happy with JMX being the only way to get to those ops (like so you can get to them through jmx-console), then do it in the MBean. We do this all the time for independent services we run as MBeans (things that poll the database, for example). Adding a SLSB is just an unneeded layer, unless you need the transactional semantics/boundary it provides. In the Mbean, just get your datasource from JNDI, so you have pooling and the txn mgr. mike mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840710#3840710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840710 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - finder methods not working
Hi All- I have been searching for days to the solution to this problem- to no avail. I have a finder method: findByName(String name) and the requisite findByPrimaryKey(Integer key) methods in my home interface. The find by pk method works fine, the findByName does not. In the jboss log, I see sql being fired off for the find by pk, but not for the findByName method. It seems like jboss is not picking up the ejb-ql, even though it complains if I take the line out of the . I have created the required entries in my ejb-jar.xml and even made sure jboss was reading it by putting in bad xml to see if jboss generated errors which it did. I tried copying the same code into a META-INF\jbosscmp-jdbc.xml file and that didn't work either. Here are the code slices: public interface EntityTypeHome extends javax.ejb.EJBHome { public EntityType create(String type_name) throws CreateException, RemoteException; public Collection findByName(String type_name) throws FinderException, RemoteException; public EntityType findByPrimaryKey(Integer type_code) throws FinderException, RemoteException; } ejb-jar.xml: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";> This bean represents an Entity Type. Entity_Type server.ejb.entity.systementity.EntityTypeHome server.ejb.entity.systementity.EntityType server.ejb.entity.systementity.EntityTypeBean Container False 2.x entitytype type_code type_name type_code java.lang.Integer findByName java.lang.String SELECT OBJECT(o) FROM entitytype AS o WHERE o.type_name = ?1> This role represents everyone who is allowed full access to the Entity Type bean. everyone everyone Entity_Type * All methods require a transaction Entity_Type * Required I took out the jbosscmp-jdbc.xml file from the jar again, as from my (extensive!) research into this problem, it has become apparent that JBoss should be able to read the ejb-ql from my ejb-jar.xml file anyway. If I am mistaken in this let me know- but this thing still didn't work, even with it in there. Any help is greatly appreciated, I'll buy the beer on Friday!!! ;0) Dan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840708#3840708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840708 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: how to run several clusters on the same network
Can someone please post some information concerning changing the DefaultParition name to allow multiple clusters on the same network. I understand and have successfully changed the partition-name but I get those jgroups warnings about discarding messages from other groups. I mean,... I always see the anonymous wrote : It's easiest to change the multicast address response. Is the the only way to do it? I just don't understand the purpose of partition-name in the first place if that doesn't work. Thanks, Brad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840707#3840707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840707 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: how to run several clusters on the same network
"myname" wrote : Hi Peter, | | anonymous wrote : [HASingletonController] Starting failed jboss.ha:service=HASingletonDeployer | | javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition | | It seems like the DefaultPartition is hardcoded there. Or is there an attribute I can set to direct HASingleton to the partition? | | Yes, you can add the PartitionName attribute to this one. It's missing from the distro. If you can't track down and get it to work, email me and I'll get some additional info (I'm at home now). Brad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840706#3840706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840706 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath
Is there a particular reason you need it in the system classpath? You can add to server classpath by adding it in conf/jboss-service.xml. Say you add a directory, called 'local-lib' in you server config dir (same level as conf and lib), and your jar is exploded in a dir called foo.jar. You can add an entry like the following: mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840705#3840705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840705 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - setting JBossManagedConnectionPool attributes for oracle-ds.
Hi, we successfully migrated our application from JBoss 3.0.8 to 3.2.3, except for this "minor" detail. In our oracle-service.xml we could specify JBossManagedConnectionPool attributes , like: MinSize 3 MaxSize 40 BlockingTimeoutMillis 5000 IdleTimeoutMinutes 15 How can I define the same values in oracle-ds.xml? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840704#3840704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840704 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - remote queue MDB deployment problem
I have problem with MDB deployment where it is listening to remote queue. I followed the jboss wiki instructions. The error in server.log is : 2004-07-01 18:14:36,423 INFO [org.jboss.ejb.EjbModule] Deploying HASecondary 2004-07-01 18:14:36,486 ERROR [org.jboss.ejb.EjbModule] Initialization failed org.jboss.deployment.DeploymentException: Failed to find InvokerProxyBindingMetaData for: 'whatever-message-driven-bean'. Check the invoker-proxy-binding-name t o invoker-proxy-binding/name mappings in jboss.xml at org.jboss.ejb.EjbModule.getWebClassLoader(EjbModule.java:722) at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:612) at org.jboss.ejb.EjbModule.createMessageDrivenContainer(EjbModule.java:484) My settings are as follows: jms-ds.xml file: DefaultJMSProvider 172.16.106.37:1099 org.jboss.jms.jndi.JBossMQProvider java:/XAConnectionFactory java:/XAConnectionFactory jboss.xml file: whatever-message-driven-bean default org.jboss.ejb.plugins.jms.JMSContainerInvoker java:/DefaultJMSProvider java:/StdJMSPool 15 1 10 queue/DLQ 10 0 HASecondary HA-Q1 whatever-message-driven-bean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840703#3840703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840703 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: configuring RMI on jboss
Here is the jboss-service.xml (got lost in first post because I didn't use code blocks) | | 1099 | 1098 | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840702#3840702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840702 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - configuring RMI on jboss
Hello, I am trying to configure JNDI so that it supports both jndi lookups and also client using the old RMI Naming.lookup() and Naming.list() APIs. If jboss-service.xml I added the RmiPort attribute, but I'm not sure if I'm doing the right thing. I couldn't find much documentation on this. 1099 1098 When I run a client which calls Naming.list("//server:1098/"), it throws java.rmi.NoSuchObjectException: no such object in table. I would appreciate any pointers on settings this up. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840701#3840701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840701 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: AttributeNotFoundException in UIL2 when using ServiceBin
I removed the entry for UIL in jboss-bindings.xml, and this seems to have resolved the problem. Got the idea from the sample-bindings.xml file that comes with the JBoss examples. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840700#3840700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840700 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - AttributeNotFoundException in UIL2 when using ServiceBinding
I'm using JBoss 3.2.3 with the example from chapter 10 (in the JBoss admin devel documentation) as the basis for running multiple instances on the same machine. After configuring conf/jboss-service.xml and jboss-bindings.xml appropriately, JBoss always seems to throw an AttributeNotFoundException when deploying the JMS 'UIL2' service. Question 1: I'm storing the jboss-bindings.xml file in the servername/conf directory. Would that cause a problem? Question 2: It seems like having service elements in jboss-bindings.xml for services that are disabled or not deployed results in some odd behavior. Is this expected? Question 3: (the real one) What is wrong with my configuration and bindings? I can't seem to find any significant differences from the example in chapter 10. This is the relevant part of conf/jboss-service.xml: | | default | ${jboss.server.home.url}/conf/jboss-bindings.xml | | org.jboss.services.binding.XMLServicesStoreFactory | | | This is the UIL2 service binding in jboss-bindings.xml: | | | | | Here's the exception: | 2004-07-01 19:35:47,796 [main] INFO org.jboss.deployment.MainDeployer - Starting deployment of package: file:/C:/java/platform/jboss-3.2.3/server/dev4/deploy/jms/uil2-service.xml | 2004-07-01 19:35:47,890 [main] WARN org.jboss.system.ServiceConfigurator - Failed to apply service binding override | javax.management.AttributeNotFoundException: Writable attribute 'ServerBindPort' not found | at org.jboss.mx.capability.ReflectedMBeanDispatcher.setAttribute(ReflectedMBeanDispatcher.java:190) | at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:500) | at org.jboss.services.binding.AttributeMappingDelegate.applyConfig(AttributeMappingDelegate.java:95) | at org.jboss.services.binding.ServiceBindingManager.applyServiceConfig(ServiceBindingManager.java:174) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:438) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:172) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114) | at org.jboss.system.ServiceController.install(ServiceController.java:225) | at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java
[JBoss-user] [HTTPD, Servlets & JSP] - Re: problem finding classes in /classes dir of WAR
I am having the identical problem. I'm new to this however so the solution may be trivial. But could someone please point me in the right direction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840698#3840698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840698 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: FAQ - READ ME FIRST!
question: i'm getting OutOfMemoryExceptions trying to upload an image. answer: the default heap size of the VM is 64 megs. increase the size at startup by specifying the following | -Xms128M -Xmx256M | to the JAVA_OPTS variable inside the run.bat and/or run.sh startup scripts. (if you have a "debug" version, don't forget to add it there too). this will set the min/max heap sizes. feel free to tweak depending upon available memory, but don't go below 128M min. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840697#3840697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840697 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Linux + JBoss 3.2.2 problem with file handles and multiple i
Hello, I am having a problem with the number of file handles on a Debian system I am using to run multiple instances of jboss 3.2.2 with my application. I have successfully (as far as i can tell) configured the multiple instance binding file to run three instances of my app for different testing environments. The problem is that the instances do not seem to be releasing their file handles. Using the command: lsof |wc -l I see the number grow steadily with each web request. Not all resources are released after the request completed and over time the system runs out of file handles requireing a restart of the instances. Just a quick look at the lsof output shows that most of the file handles are going to the same jar/sar etc. files over and over Any idea on what is causing this problem? I did find a post or two that mentions the /tmp directory etc but my working directories all seem to be in the correct place, i.e. /tmp, /log, work etc... Any ideas? On windows 2000 Adv. Server and on Fedora Core 2 I do not see similar problems although I have not been able to deploy on Fedora because of characterset problems. However just starting up default with nothing deployed on Debian shows about 4000 file handles and on Fedora about 130. Windows (using the sysinternals tool) shows about 1000. The only other strange thing I am using is the Java Service Wrapper to start and stop the services. I followed the install instruction straight from the JSW site. Thank You Mike Cassisa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840696#3840696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840696 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - How to configure to support rmi http tunneling?
We have a large server which has three main processes, JBoss (b3.2.1) and another server JVM process "jserver" which has 30 RMI interfaces and another JVM running some servlets and jsps "jservlets". (Eventually, we want to merge "jservlets" JVM into JBoss). On the frontend we have apache webserver running at port 80. I am trying to replace the standalone rmiregistry process with JBoss's JNDI services. I got it to work after changing the Naming.rebind() and Naming.lookup() methods to InitialContent.rebind() and InitialContext.lookup(). However, we have some Swing clients which access our RMI services through a firewall. I found that after switching to JNDI, the HTTP tunneling feature of RMI no longer worked. Before, the RMI calls would tunnel through port 80 by calling http://server:80/cgi-bin/java-rmi.cgi on the apache webserver. (I have actually configure a servlet servlet/RMIHandler to avoid the JVM exec in java-rmi.cgi). Is there a way to configure the JBoss JNDI and/or the clients so that the RMI can tunnel through port 80 using tha cgijava-rmi.cgi script? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840695#3840695 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840695 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Getting SSLPeerUnverifiedException with https accesses
We are using HTTPS connections to an application running on JBoss 3.2.3. We receive an SSL error with officially certs in production and with self-signed certs in development. This problem is not present in 3.2.5 but we are not ready to upgrade at the moment. Ideas? TIA! 2004-06-30 10:14:39,709 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Error getting client certs javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(DashoA6275) at org.apache.tomcat.util.net.jsse.JSSE14Support.getX509Certificates(JSSE14Support.java:151) at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:166) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:954) at org.apache.coyote.Response.action(Response.java:226) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840694#3840694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840694 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Cleanup of ManagedConnection that's associated with a suspen
IÂm seeing the following XA behavior running our RA in JBOSS 3.2.2: xa.start() Connection.close(); xa.end(TMSUSPEND); ManagedConnection.cleanup() xa.end(TMSUCCESS); I wouldnÂt expect to see the xa.end(TMSUCCESS) call after the ManagedConnection.cleanup. In effect, the cleanup call places the MC back into the pool for reuse; the RA should consider the MC to no longer be associated with the transaction. Additionally, cleaning up a MC that is associated with a suspended transaction branch seems like a bug. Besides this opens the door for some really interesting behavior if the MC is reused in another transaction before the xa_end(TMSUCCESS) call is made. Is the aforementioned behavior the intended behavior? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840693#3840693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840693 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: remote debugging
updated the jboss-ide, downloaded sources and binaries for 3.2.4 and still have the same problem (debugger does not have the sources also i attached a zip with all the source files to all jboss-jars) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840692#3840692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840692 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - scalability of JMS on JBoss
I'm developing a desktop client application that includes instant message functionality with other users. The end goal is for an application that supports millions of users online at the same time sending messages. Would it be more scalable if I were to have each client use simple socket connections or JMS? Can you explain the reasons why? How scalabe is JMS? How many topics/queues and users will it be able to support before performance is affected? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840691#3840691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840691 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: javax.net.ssl.SSLException in JBOSS 3.2.4
You have probably checked this but when switching to SLL keep in mind that the number of connection processors in the tomcat service.xml file (jboss-service.xml for 3.2.3) is 15 or 20 versus 80. So you can swamp the server if you have long running queries and so forth. Not likely your problem but possible and and easy thing to check off the list. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840690#3840690 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840690 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss
What is wrong with the Log4J documentation, what do you not understand about it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840689#3840689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840689 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance
Here's the code in question... jboss-service.xml: hello no hands my.hello:service=hw1 HelloWorldMBean.java: package hello; import org.jboss.system.ServiceMBean; public interface HelloWorldMBean extends ServiceMBean { public void setMessage(String msg); public void sayHi(); public void setHelloWorld(HelloWorldMBean hello); public HelloWorldMBean getDirectRef(); public void echo(); } HelloWorld.java: package hello; import org.jboss.system.ServiceMBeanSupport; public class HelloWorld extends ServiceMBeanSupport implements HelloWorldMBean { private double r; private double incr = 1.7d; private String message; private HelloWorldMBean hello; public HelloWorldMBean getDirectRef() { return this; } public void setMessage(String msg) { message = msg; } public void sayHi() { r += Math.random() / incr; } public void setHelloWorld(HelloWorldMBean hello) { this.hello = hello; } public void echo() { hello.sayHi(); } protected void startService() { log.info("Starting " + message); if (hello != null) { double t1 = testEcho(); log.info("invoke ms " + t1 / 100.0); } } protected void stopService() { log.info("Stopping " + message); } private double testEcho() { for (int i = 0; i < 5; i++) { hello.sayHi(); } long start = System.currentTimeMillis(); for (int i = 0; i < 100; i++) { hello.sayHi(); } long elapsed = System.currentTimeMillis() - start; double rate = (100 * 1000.0 / elapsed); log.info("jmx " + rate); return elapsed; } } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840688#3840688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840688 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance
Ok, so further investigation shows a fairly constant overhead of about 15-25 microsecs per invocation using standard mbeans. I've seen references to over 1M invocations/sec here: http://www.samspublishing.com/articles/article.asp?p=27196&seqNum=4 What do I need to do to get that kind of performance? What is the downside of exposing a shortcut like getDirectRef() and doing direct invocations rather than going through the mbean proxy? TIA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840687#3840687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840687 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss system classpath
Hi All, How can one place an exploded directory of classes on the JBoss system classpath. Obviously, I tried adding that directory to the %JBOSS_CLASSPATH% in the run.bat used to start jboss. But that does not help because Jboss starts giving out weird errors while deploying my application jars and other modules. Also, where should I place the exploded class folder and how would I add it to the system classpath? Plz help. Thanks. Rahul. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840686#3840686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840686 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Deployment Nightmare: NoClassDefinitionError
I was able to get this to work by including org.jcallcenter.supporting.core.*.class in with JCallCenterEJB.jar. Is this the correct way to include "supporting" type classes? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840685#3840685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840685 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
thanks. that did it. I guess in the other post the person had resolved their own problem. my bad. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840684#3840684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840684 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
ahh - ok. i guess i "fat-fingered" the peropd key instead of the semi-colon. :) to answer your other question, edit the startup script for jboss (either run.bat or run.sh) and add the following to the JAVA_OPTS var. | -Xms128M -Xmx256M | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840683#3840683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840683 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
increase the VM heap, by default it's 64mb. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840682#3840682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840682 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
Table was created, so it was easy to add the unique field. I think i found the problem. you have a period at the end of the sql staement. I think you just need to remove it from you mysql.properties files and you should be all set. | ALTER TABLE nuke_news_topics ADD UNIQUE (name). | I'm having one other problem. When I go to add an image file in the HTML module I get an out of memory exception. I saw another post like this in the forum, but with no answer. When I look in the server log it indicates that the nukeservlet is throwing the exception. Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840681#3840681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840681 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Deployment Nightmare: NoClassDefinitionError
I'm experiencing a very strange problem. [JBoss 3.2.3, Windows 2000, j2sdk 1.4.2_04] My application used to look like this and everything worked fine, including accessing org.jcallcenter.supporing.core.EJBNameFactory org.jcallcenter.ejb.core //beans + TicketBean.class //cmp bean + TicketFacadeBean.class //session bean org.jcallcenter.interfaces.core //interfaces + TicketLocalHome //Ticket Bean's local home + TicketHome //Ticket Bean's home + TicketFacade //TicketFacadeBean's remote + TicketFacadeHome //TicketFacadeBean's Home org.jcallcenter.web.core + TicketServlet.class //class to test Ticket CMP org.jcallcenter.supporting.core + EJBNameFactory //a class with public strings to hold JNDI names It was packaged like this: JCallCenter.ear +JCallCenterEJB.jar ++JCallCenter/bin/org/jcallcenter/ejb/core/* ++JCallcenter/bin/org/jcallcenter/interfaces/core/* ++JCallCenter/supporting.jar => lib/ +++JCallCenter/bin/org/jcallcenter/supporting/core/* ++JCallCenter/src/META-INF/* => META-INF/ +JCallCenterWEB.war ++JCallCenter/bin/org/jcallcenter/web/core/* => WEB-INF/classes ++JCallCenter/src/WEB-INF/* => WEB-INF/ ++JCallCenter/src/docroot/* ++JCallCenter/JCallCenterEJB-Client.jar => WEB-INF/lib +JCallCenter/src/META-INF/application.xml => META-INF/ (God I hope that made sense!) Anyway, I then expanded the project by adding another entity bean and another supporting class. This supporing class is really just a little DataType. So now my application looks like this: org.jcallcenter.ejb.core //beans + TicketBean.class //cmp bean + CountryBean.class //cmp bean + TicketFacadeBean.class //session bean + CountryFacadeBean.class //session bean org.jcallcenter.interfaces.core //interfaces + TicketLocalHome //Ticket Bean's local home + TicketHome //Ticket Bean's home + TicketFacade //TicketFacadeBean's remote + TicketFacadeHome //TicketFacadeBean's Home + CountryLocalHome //CountryBean's Local Home + CountryHome //CountryBean's Home + CountryFacade //CountryFacadeBean's Remote + CountryFacadeHome //CountryFacadeBean's Home org.jcallcenter.web.core + TicketServlet.class //class to test Ticket CMP + CountryServlet.class //class to test Country CMP and CountryData org.jcallcenter.supporting.core + EJBNameFactory //a class with public strings to hold JNDI names + CountryData.class //A class that can hold CountryBean's values It's packaged the exacty same way. On deployment a NoClassDefinitionError is thrown when JBoss tries to verify CountryData! It never had a problem finding EJBNameFactory in the class path! Any ideas or suggestions? I've also tried putting supporting.jar into default/lib and restarting JBoss, but it still throws the error! One other peculiar thing...the error is | java.lang.NoClassDefFoundError: [Lorg/jcallcenter/supporting/core/CountryData; | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:1647) | at java.lang.Class.privateGetPublicMethods(Class.java:1770) | at java.lang.Class.getMethods(Class.java:824) | at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:688) | **SNIP** | Where did the [L come from before org/jcallcenter/supporting/core/CountryData ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840680#3840680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840680 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service
I have tried the Wrapper for Java and couldn't get it to work, then tried the JavaService by Alexandria and it worked great every time I depolyed a new server... however... It appers that the Aliandria web site, that distributes the JBossService, is down along with others linking to it I found an alternate link that gave a brief reason to the server being down - It is with regret that Multiplan has had to disable downloads of the JavaService files from this web site. This is due to excessive hits on this web site from a particular source, resulting in network bandwidth limits being reached on our server Im sure someone else has it for download but I unfortunately cannot find any for you at this time... sry --ShadowDog. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840679#3840679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840679 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Custome Configuration Error
I was in trouble with this too... But, I saw that the class org.jboss.ejb.plugins.EntitySessionInstanceCache is the wrong class... this class donÂt exists in JBoss lib... try the org.jboss.ejb.plugins.EntityInstanceCache end be happy! :D Best Regards, Leandro Dantas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840678#3840678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840678 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss and Struts
which tag classes are you talking about? the struts taglib are in the lib/taglib dir. I'm building the above structure into a war file and dropping it into the server/default/deploy directory. Guess i don't exactally know what your asking for...sorry. let me know View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840677#3840677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840677 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - servlet call EJB secured -> Authentication exception, princi
Greetings, I'm trying to invoke a secured EJB (methods permission) in my servet but even with the run-as in my web.xml to set the role authorized in my EJB, I got always the error below: | 2004-07-01 21:19:52,661 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[ServiceServlet]: Servlet.service() for servlet ServiceServlet threw exception | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null | My web.xml: | | | ServiceServlet | Service HTTP/XML Servlet | UIF Interface HTTP/XML | pt.ptinovacao.nginpro.uif.http.ServiceServlet | | 5 | | engine-user | | ... | | permission to execute UIF engine | engine-user | | | | | My ejb-jar.xml of my EJB: | | ... | | role granted | engine-user | | create method | ServiceManager | LocalHome | create | | | | | | Any help would be very appreciated. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840676#3840676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840676 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
damn it - i thought that was resolved. i've got to install mysql somewhere. if you know the correct syntax for the alter table command, you can just edit the "mysql.properties" file in the "build/etc" directory and then re-run the build and deployment. or if the table was actually created, you could just alter the table by hand. now to go d/l a copy of mysql... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840675#3840675 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840675 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service
>From what I've read, using the Alexandria Software Consultants Open Source tool >"JavaService" is the way to go. However, their web site appears to be down >(http://www.alexandriasc.com/software/JavaService/index.html). Does anyone know of another location to download the application "JavaService"? Any idea why their site is down (i.e. out of business or new location)? Thanks, -Justin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840674#3840674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840674 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
Used the nukes-1.1.0-mysql-rc2.zip to install. Most of the setup went fine. Per your request for info, I had one unique statement fail on startup. See below: 2004-06-30 17:04:14,784 INFO [org.jboss.nukes.addons.modules.news.NewsModule] Started 2004-06-30 17:04:14,784 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=nukes/news/PropertyDefaultValue,plugin=pool,service=EJB 2004-06-30 17:04:14,784 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=nukes/news/PropertyDefaultValue,service=EJB 2004-06-30 17:04:14,844 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] Created table 'nuke_news_topics' successfully. 2004-06-30 17:04:14,894 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] Created index 'nuke_news_topics_idx13' on 'nuke_news_topics' successfully. 2004-06-30 17:04:14,894 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] issuePostCreateSQL::sql: [ALTER TABLE nuke_news_topics ADD UNIQUE (name).] on table nuke_news_topics 2004-06-30 17:04:14,894 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] Executing SQL: ALTER TABLE nuke_news_topics ADD UNIQUE (name). 2004-06-30 17:04:14,894 WARN [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] Issuing sql ALTER TABLE nuke_news_topics ADD UNIQUE (name). failed: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1" 2004-06-30 17:04:14,894 ERROR [org.jboss.ejb.EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error while issuing sql in post-table-create; - nested throwable: (java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1") View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840672#3840672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840672 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss
I have the exact same question? How about a little better solution than the last reply? Anyone? Please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840671#3840671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840671 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - found Solution in previous posting
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43591 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840670#3840670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840670 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: BB question
you need to add the following security pattern (using the permissions module) for the forums. Admins .*:.*: ADMIN Users .*:.*: if you want to allow moderators for specific categories, you'd do this (assuming you have a category named Foo) Users Foo:.*: Level if you wanted to allow moderators for a specific forum (assuming you have a forum named Bar), you'd do this: Users .*:Bar: Level you could also do a specific category and forum Users Foo:Bar: Level i will work on a fix to allow individual users to edit their own posts as well. the issue stems from the fact that isIdentical method on the EJBObject uses the jndiName in it's comparison. what happens is the UserEJBLocal reference that is returned from the Api class has a different jndiName from the UserEJBLocal reference that is returned from the forums w/ information about the poster. given what we are doing, i think it will be safe to just use the user_id in the comparision to see if the person who posted message is the same one who is currently reading it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840669#3840669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840669 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: logout problem
Subject subject = (Subject) request.getAttribute("j_subject"); This didn't work. Subject object was still null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840668#3840668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840668 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss and Struts
First, let's get the obvious out of the way: Where is the JAR that contains your tag classes? It's not obvious by looking at your WAR structure. Is it there, or in $JBOSS/server/xxx/lib? mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840666#3840666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840666 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: test & prod environments on same Jboss box
Don't code for it. It will be a nightmare maintaining separate names in JNDI for everything. Run multiple JBoss instances on a box. The config is very easy, using the binding service to manage listen ports. If you haven't yet, buy the admin/config guide. I think there is also a downloadable doc chapter on the binding service in the SF download area. mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840665#3840665 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840665 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Opening in San Jose, CA for JBoss developers
Hi, We're looking for JBoss developers to join our team immediately. Please contact me directly for details (408)351-2562. Sincerely, --Thanhy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840664#3840664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840664 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JMX-Console Session Timeout Configuration
You should just be able to edit the session timeout in the web.xml in jmx-console.war. BTW, you can (and should) also implement security there as well (and in jboss-web.xml), at least in your production implementation. mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840663#3840663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840663 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?
2 weeks from today (July 15th) we will be relaunching our site, and it is built on a JBoss/Tomcat core. At peak hours of the day we will be serving nearly 10,000 concurrent users. http://www.bolt.com [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840661#3840661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840661 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: C++ Bridge
There were some people who have tried to write a bridge. Do a search on the forum and internet. There's somebody who worked on a .Net implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840660#3840660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840660 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Jobs@JBoss] - Executive Assistant - Atlanta, GA
Executive Assistant Come join a rapidly growing enterprise software and services company and the home of Professional Open Source. JBoss, Inc. has an Executive Assistant to join our Atlanta, Georgia based team located in Buckhead. 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 support multiple members of the JBoss management team. For consideration, please send an email to . mailto:[EMAIL PROTECTED] Essential Job Functions: In this exciting position, you will manage the administrative functions for the Atlanta office including - - Performing word processing as required - Providing professional letter composition and editing - Typing client contracts - Processing office correspondence - Performing mail merges, database reports, spreadsheet maintenance - Scheduling meetings and events - Scheduling travel arrangements - Answering the phone and providing customer service - Maintaining the office administrative files Required Skills and Experience: - 5 + years experience as an executive assistant - Ability to work in a fast-paced, high growth environment - Ability to simultaneously manage multiple tasks and projects - Strong word processing skills including letter composition and editing experience - Experience processing correspondence - Experience scheduling meetings and events - Experience providing travel arrangements - Ability to interface with internal executives and customers and provide outstanding customer service - Experience managing and maintaining office administrative files - Strong Microsoft Office Suite skills including Word, Excel, Outlook, PowerPoint, and Access Equal Opportunity Employer / Drug Free Workplace For consideration, please send an email to . mailto:[EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840659#3840659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840659 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR
Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840658#3840658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840658 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR
Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840657#3840657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840657 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - EJB1 access unprotected methods in secured EJB2 (not working
Greetings, I have an EJB1 which accesses to an EJB2 (entity) secured. By default, without setting any authentication by JAAS in EJB1, I got this exception due the missing authentication from EJB1, when I try to make findByPrimaryKey: | javax.ejb.TransactionRolledbackLocalException: checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null; CausedByException is: | checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null | org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:204) | org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) | org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) | org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) | org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484) | org.jboss.ejb.Container.invoke(Container.java:723) | org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359) | org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44) | However, I want to open access to EJB1, so I tried 2 alternatives: 1) I set the element in the EJB1 ejb-jar.xml with a role which is allowed in the EJB2: | |permission to execute with role |slr-user | | 2) I unchecked the permission in the finder method by primary key in EJB2 ejb-jar.xml: | | Permission for findByPK method | | | Db | findByPrimaryKey | | | However, in both cases I'm still getting the same exception. What is missing here? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840656#3840656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840656 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: [JBossManagedConnectionPool] Unable to fill the pool due
Me too. Which version of Jboss are you on? I'm using 3.2.3 and have been randomly been losing my connections to various datasources. I get this error when I try to access: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840655#3840655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840655 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationship mapping in jbosscmp-jdbc.xml
I think this is what you need. The only thing you need to fill in is the field name of the primary key field for the country. I marked where that needs to go in the xml below. | | CountryEJB - TradingCentreEJB | | | TradingCentre-belongs-to-a-Country | | | | | Country-has-many-TradingCentres | | |XfieldName of primary key for countryX |country_code | | | | | | Hope this helps, Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840654#3840654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840654 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
Dunno. Probably something buried in a spec somewhere. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840652#3840652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840652 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
I after looking in the jboss src I was finally able to get this to work, however, I'm not sure if this is something I was supposed to do. I added the following to my remote-jms-ds.xml : | false | | Adrian, is this not recommended? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840651#3840651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840651 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: SSO for 2 applications (EAR)
Does that work on the following configuration jboss3.2.1-tomcat 4.1.2 ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840650#3840650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840650 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
That's actually okay, because we're using messaging to cache results of servlet invocations. So if the container trashes the servlet instance, we'll close the jms resources and re-init them on the servlet init. I don't have it set up that way right now, but I'm trying to get this to work first. Aside from that, why should jboss be deciding where i set up my message consumer? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840649#3840649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840649 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
Errr... what happens if the Servlet container throws away your servlet instance whilst it's still registered to receive the messages? What happens once the specific servlet call has returned? Does the servlet continue to receive JMS messages? Seems a bit dicey to me... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840647#3840647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840647 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP Compilation problem in JBoss3.2.5
it seems being sorted. the problem is that Tomcat5 is not happy with jsp tag: I have to use and use session.setAttribute to pass the params. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840646#3840646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840646 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: logout problem
try Subject = (Subject) request.getAttribute("j_subject"); note: you will probably have to be on a authentication checked page from the web.xml hope it helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840644#3840644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840644 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
Also, the fact that I'm not using a MDB to do asychronous messaging should not be the cause of this problem. I'm hoping there's something simple I'm doing wrong that someone may be able to quickly address. What I'm doing seems to be a pretty simple operation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840643#3840643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840643 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Porting from Weblogic 6.1 to JBoss 3.2
Hi We are porting an large J2EE application from Weblogic6.1-Oracle9i to JBoss3.2-MySQL4.X. Are there certain critical points that has to be considered when porting from Weblogic to JBoss. How much of rework is required to post JAAS module from Weblogic to JBoss. Any information will be useful. Thanks Shashi --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - logout problem
I'm invalidating my session within a Struts action class. I think I need to also remove principals from the current subject. subject.getPrincipals().clear(); request.getSession().invalidate(); How do I access the current Subject from within my action class? Am I missing any other steps? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840639#3840639 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840639 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Referencing an EJB from a scheduled task
Yes, I am getting naming exceptions. I will try your suggestion. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840638#3840638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840638 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
I've had this work correctly when using the connection factory bound at XAConnection factory. I can't use an MDB because I need to access resources at the Servlet level. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840637#3840637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840637 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Relationship mapping in jbosscmp-jdbc.xml
I have a Table called | Country (primary key country_code[String]). | Trading_Centre (primary key trading_centre_code[String] & foreign key country_code[String] NOT NULL) | | | I am trying to establish a entity relationship (all tables exist, create table = false). | | TradingCentre-belongs-to-a-Country | Country-has-many-TradingCenrtes as follows (ejb-jar.xml): | | | | | | | CountryEJB - TradingCentreEJB | | | | Country-has-many-TradingCentres | | One | | | | CountryEJB | | | | | | | | TradingCentre-belongs-to-a-Country | | Many | | | | TradingCentreEJB | | | | | | localcountry | | | | | | | | | | | | How will the equivalent tag in jbosscmp-jdbc.xml be built (JBoss v 3.2.5). I need to use the foreign key country_code in table Trading_Centre to be used to map to the LocalCountry entity. In effect its a many-to-one unidirectional relationship. | | All my attempts so far have resulted in error's when deploying this relationship. I have the AdminDevel_323.pdf document (and associated CrimePortal example) but to no avail. | | Your help would be much appreciated. | | Cheers | -raj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840636#3840636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840636 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict
What is causing this is stated quite clearly in the first 3 lines of the stacktrace. The call to setMessageListener() is not allowed. If you want to receive messages asynchronously, you should write a message driven bean (MDB). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840635#3840635 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840635 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: NT Performance Monitor - Link to JBoss JMX Attributes ?
I also dug up this which I am going to try out shortly. http://www.zeecube.com/new/wpc4j.htm View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840634#3840634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840634 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - IllegalStateException thrown from JmsSession.checkStrict()
I'm using Jboss-3.2.5 and I am getting an IllegalState Exception when trying to set the message listener. I am using the default JMS Resource adapter bound at java:/JmsXA. What is causing this? I've search through the Wiki and forums but I haven't found anything similar: | topicConnectionFactory = CacheInvalidatorTCFUtil.getTCF(null); | topic = (Topic) CacheInvalidatorTopicUtil.getTopic(null); | topicConnection = topicConnectionFactory.createTopicConnection(); | topicSession = topicConnection.createTopicSession(false, | Session.AUTO_ACKNOWLEDGE); | topicSubscriber = topicSession.createSubscriber(topic); | topicSubscriber.setMessageListener(this); | | 15:41:37,562 INFO [STDOUT] javax.jms.IllegalStateException: Method not allowed | 15:41:37,562 INFO [STDOUT] at org.jboss.resource.adapter.jms.JmsSession.checkStrict(JmsSession.java:388) | 15:41:37,562 INFO [STDOUT] at org.jboss.resource.adapter.jms.JmsMessageConsumer.setMessageListener(JmsMessageConsumer.java:111) | 15:41:37,562 INFO [STDOUT] at com.oakwood.cms.jms.CacheInvalidatorSubscriber.subscribe(CacheInvalidatorSubscriber.java:27) | 15:41:37,562 INFO [STDOUT] at com.oakwood.cms.web.action.OakwoodRequestProcessor.init(OakwoodRequestProcessor.java:18) | 15:41:37,562 INFO [STDOUT] at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:872) | 15:41:37,572 INFO [STDOUT] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) | 15:41:37,572 INFO [STDOUT] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) | 15:41:37,572 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | 15:41:37,572 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | 15:41:37,572 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | 15:41:37,572 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | 15:41:37,572 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | 15:41:37,572 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | 15:41:37,572 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | 15
[JBoss-user] [EJB/JBoss] - Re: Referencing an EJB from a scheduled task
You haven't said what's wrong, but I suspect you're getting Naming exceptions saying something like 'ejb not bound'. The global JNDI name of your bean will be something like /ejb/rwTenantSearch. Beans are not bound under the java: namespace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840632#3840632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840632 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Session replication not working
http://www.jboss.org/wiki/Wiki.jsp?page=HttpSessionReplicationonMacOS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840631#3840631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840631 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: jboss clustering of two nodes on different m/cs
http://www.jboss.org/wiki/Wiki.jsp?page=HttpSessionReplicationonMacOS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840630#3840630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840630 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - migration from 3.2.3 to 3.2.4, HASingleton JMS question
Due to a bug in concurrent.jar, we are moving to post 3.2.3 versions. One little surprise is that JMS is deployed as a HASingleton on 3.2.4 and 3.2.5. Can this behavior be modified? In other words, can I deploy JMS per server as a local service? I've already written code based on pre-3.2.4 versions, and I have code that "glue" all servers together via JMS. I definitely look forward to a true "cluster-enabled" jms server, but I don't have time to redo what I have done already. If I moved the jms directory from Deploy-Hasingleton to Deploy, would that give me the pre-3.2.4 behavior? Thanks Xibin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840628#3840628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840628 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: BB question
ok... 1) i believe there is a bug in the forums code that checks to see whether or not a user can edit his/her own posts even if they have the correct privs as set by the forum security manager. i already know where the issue is and will work on a fix. 2) if you want all users to be able to edit any one else's posts, etc, then you have to setup a group permission using the permissions module. at the moment, i forget what the correct security string looks like, but i can post back later w/ that info. 1 and 2 are somewhat independent issues, b/c if you configure permissions using #2, then it superceeds any permissions set by #1. i believe this is correct based upon what i see (i can moderate the nukes forums [delete, edit, etc], but i don't have that ability any where else in the forums [even in my own posts]). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840627#3840627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840627 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: NullPointerException in org.jboss.mx.loading.LoadMgr3
Here is the scenario: I have a stateful session bean called ClientSessionBean, its interface is ClientSession. Every client who logs into the system does so by acquiring this bean and calling the login() method, which returns a unique session id. On the client side, there is a class called ClientSessionProxy, which implements the ClientSession interface and also wraps the proxy received from ClientSessionHome.create(). When the client calls the login() method on ClientSessionProxy, the call is delegated to the wrapped proxy; if that remote call succeeds, the ClientSessionProxy creates a JMS MessageListener on a clientIsAlive topic with a message selector that filters out everything but messages for this particular session id by looking at the the message attribute 'sessionID'. All the scheduler does is to send messages on the clientIsAlive topic to all logged in sessions by setting the message attribute 'sessionID'. If there is no reply within 500 milliseconds, server-internal resources related to that session are released. The problem happens when a reply from the client it received: when I call ObjectMessage.getObject(), I get the NullPointerException, even though the object is just a java.lang.Long containing the session id. Which forum would you suggest for this one? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840625#3840625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840625 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)
I sent a short description of this problem to the JBoss BUG database at sourceforge.net. () View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840624#3840624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840624 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Upgrade from 3.2.3 to 3.2.5 - Table creation check fails
Hi Joachim Thanx, it works now. But there quite some differences in how the mapping is done. I updated both Jaybird and Firebird itself to 1.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840623#3840623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840623 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: BB question
"jae77" wrote : just to clarify, are you looking for users to have the ability to edit/delete their own posts, or category moderation where a user can edit/delete any post on a topic? I'd like to have users edit/delete their own posts. But my setting as my last post have all users edit/delete every post include other user's posts. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840622#3840622 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840622 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Create fails - CMP, CMR & Compound PK
Ok - I thought I knew what to do, but that doesn't work as well. I extended the create method with an additional parameter, the relationship field, which should be initialized in the ejbPostCreate method, but I still get the same error message. I inserted System.out.println's to check which method gets called first and the ejbPostCreate method is called after the ejbCreate method. Shouldn't it be the other way around ?? /** | * @return | * @throws CreateException | * | * @ejb.create-method | */ | public MoonPK ejbCreateMoon(String planet, String moon, int radius, int diameter, PlanetLocal plocal) throws CreateException{ | setPlanet(planet); | setMoon(moon); | setRadius(radius); | setDiameter(diameter); | return null; | } | | public void ejbPostCreateMond(String planet, String moon, int radius, int diameter, PlanetLocal plocal){ | setPlanetCMR(plocal); | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840621#3840621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840621 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss and Struts
Hello. I'm new to JBoss, but I have used the SunOne AS quite a bit. I have a simple application that has one jsp that uses Struts (one form, one action). I can deploy and run my webapp in the SunOne app server. However, when i deploy and try to run in JBoss, i get this error: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: com.wintecinc.struts.taglib.html.ErrorsTei | org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) | org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378) | org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:283) | org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:422) | org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) | org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162) | org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) | org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) | org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) | org.apache.jasper.compiler.Parser.parse(Parser.java:126) | org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220) | org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) | org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:461) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) | org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | | root cause | | java.lang.ClassNotFoundException: com.wintecinc.struts.taglib.html.ErrorsTei | java.net.URLClassLoader$1.run(URLClassLoader.java:199) | java.security.AccessController.doPrivileged(Native Method) | java.net.URLClassLoader.findClass(URLClassLoader.java:187) | java.lang.ClassLoader.loadClass(ClassLoader.java:289) | java.lang.ClassLoader.loadClass(ClassLoader.java:235) | org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419) | org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) | org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162) | org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) | org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483) | org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) | org.apache.jasper.compiler.Parser.parse(Parser.java:126) | org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220) | org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) | org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:461) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) | org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | are there deployment descriptors or anything special that i need to put in my web.xml to get it to work in jboss? here is how my web app is layed out: | META-INF/ | META-INF/MANIFEST.MF | images/ | index.html | images/codlogo.png | index.jsp | WEB-INF/ | WEB-INF/struts-config.xml | WEB-INF/lib/ | WEB-INF/lib/taglib/ | WEB-INF/lib/j2ee.jar | WEB-INF/lib/struts.jar | WEB-INF/lib/cod.jar | WEB-INF/lib/mysql.jar | WEB-INF/lib/taglib/struts-bean.tld | WEB-INF/lib/taglib/struts-config_1_0.dtd | WEB-INF/lib/taglib/struts-config_1_1.dtd | WEB-INF/lib/taglib/struts-form.tld | WEB-INF/lib/taglib/struts-html.tld | WEB-INF/lib/taglib/struts-logic.tld | WEB-INF/lib/taglib/struts-nested.tld | WEB-INF/lib/taglib/struts-template.tld | WEB-INF/lib/taglib/struts-tiles.tld | WEB-INF/lib/taglib/struts-validator.tld | WEB-INF/lib/taglib/web-app_2_2.dtd | WEB-INF/lib/taglib/web-app_2_3.dtd | WEB-INF/lib/taglib/struts.tld | WEB-INF/lib/commons-validator.jar | WEB-INF/lib/c
[JBoss-user] [Beginners Corner] - where I can put my servlet in jboss-3.2.2RC1_tomcat-4.1.24 a
Hi all, where I can put my servlet in jboss-3.2.2RC1_tomcat-4.1.24 and how to run it? please respond me to [EMAIL PROTECTED] Thanks & Regards, Dev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840619#3840619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840619 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError in JBoss 3.2.5 but not in 3.2.3
Thanks, but I don't have any old versions lying around. Everything is packaged within the EAR, which is replaced upon deployment. I did see the problem JAR twice, though, in those directories: server\default\tmp\deploy\tmp56967console-mgr.sar-contents server\default\tmp\deploy\tmp56995capsela.ear-contents\lib This is probably because I have 2 deployments in my EAR: A SAR file with some JMX stuff and a JAR file with the EJBs. But this works fine in JBoss 3.2.3. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840618#3840618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840618 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)
The problem still exists in 3.2.5. BTW: I didn't regitsr my commons-logging.jar with application.xml. I simply put it in EAR/lib/ and have it in the classpath of one of the ejbs.jar. - Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840616#3840616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840616 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Cross context
Somebody knows how to able cross-context in Jboss. I know how in tomcat like a standalone server but not how to do it like embebed server Try this page and see if the info here helps: http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840615#3840615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840615 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Container uptime?
Is there anyway from within a session bean to determine how long the container has been running, or how long it has been since the session bean(s) were deployed? Thanks in advanced Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840614#3840614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840614 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Referencing an EJB from a scheduled task
I have written a class that runs on a schedule. I'm using the Schedulable interface. Here's a snippet: public class PropertyAutoNotify implements Schedulable | { | private static final Logger log = Logger.getLogger(PropertyAutoNotify.class); | | private String mail_jndi = null; | private String ds_jndi = null; | private String mail_from = null; | | | public PropertyAutoNotify(String mail_jndi, String ds_jndi, String mail_from) | { | this.mail_jndi = mail_jndi; | this.ds_jndi = ds_jndi; | this.mail_from = mail_from; | log.info("mail jndi name = " + mail_jndi); | log.info("datasource jndi name = " + ds_jndi); | log.info("mail from addr = " + mail_from); | } | |public void perform(Date now, long remainingRepetitions) |{ | log.info("perform, now: " + now + | ", remainingRepetitions: " + remainingRepetitions ); | | //processUserSearch(); | executeAgent(); |} | | |private void executeAgent() |{ | try | { I'm trying to reference an EJB from this code. It does not make sense to use the ENC because I'm not in a J2EE container. So how do a get a home interface from a scheduled task? I tried this: try | { | Context initCtx = new InitialContext(); | Object ref = initCtx.lookup("java:/ejb/rwTenantSearch"); | TenantSearchHome home = (TenantSearchHome) | PortableRemoteObject.narrow(ref, TenantSearchHome.class); | | Collection searches = home.findByAutoNotify("Y"); | log.info("number of searches = " + searches.size()); | } | catch (Exception e) | { | log.error("Service Exception", e); | } Didn't work. Thanks for any help. Code examples would be good. I don't want to have to clone my business logic in 2 places. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840613#3840613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840613 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - CMP with MS Access
Hello, i want to use jboss-3.2.1 with a MS Access Database. Everything works fine with Bean Managed Entity Beans but now i want to try it with Container Managed Entity Beans. I configurated jbosscmp-jdbc.xml like that: ... java:/MSAccessDS MS Access ... and xdoclet.xml as follows: ... datasource="java:/MSAccessDS" datasourcemapping="MS Access" preferredrelationmapping="foreign-key" ... know the following error occurs when i start the jboss server: ... 15:21:24,593 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=StaffBean,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping MS Access not found, ObjectName: jboss.j2ee:jndiName=CostcenterBean,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping MS Access not found] ... I'm a student and beginner in using jboss. Does anyone know what the problem is? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840610#3840610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840610 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Something wrong with manage HTML page in rc2?
did you run the ddl against the database to create the table? the core is not pure cmp yet (there are some issues preventing this that have been discussed elsewhere), so you have to manually create the tables by running the ddl. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840609#3840609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840609 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI
Title: Message lol - i'm stumped as well. I have seen a bunch of posts out there, but zero solutions. This is pretty lame. I contacted JBOSS, but they will offer nothing without a pile of cash upfront. This should just not be so hard. if it's a bug with JBOSS, I wish somebody from JBOSS would step up & let us all know or fix it or both. Thanks for your help. -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Thursday, July 01, 2004 8:59 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI I wouldn't think the DLL calling another DLL would be an issue. And even if there's a problem loading the second DLL, I wouldn't expect a Java-based exception to be the result. In light of your classloader revelation, I'm afraid I'm stumped. JBoss does some funky stuff with classloaders which it sounds like might be causing you problems. I'm all out of ideas. Sorry. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 01 July 2004 13:59To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI Thanks for your response. I do indeed have the static initializer block wrapping the call to loadLibrary() in my class that has native method. Perhaps one piece of additional usefull info would be the .dll i'm calling actually calls another .dll. You mentioned this process actually does work. Do you have a working example or can you offer any other insight into what may be causing the problem I have indicated? It almost seems JBOSS is internally doing something after the libraries are loaded. Thanks -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Thursday, July 01, 2004 4:20 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI OK. I wasn't aware of that bit of dodgy code. My apologies. Windows still won't let you load a DLL more than once, but it seems the JVM maintains a separate cache of native method -> DLL function pointers on a per classloader basis. In this case, you need to make sure that your System.loadLibrary() and your native calls are done from classes loaded by the same classloader. The easiest way to do this is, I guess, to have a static initialiser block make a System.loadLibrary() call in each class that has native methods (and this is the recommended practice anyway). I'm not sure on how JBoss's classloader architecture would affect this - especially as you're using MBeans if I recall correctly. If this still doesn't work, I would suggest externalising the JNI stuff into, say, an RMI based server. Then you can have a bunch of session beans which offer a facade to the RMI server, and you become platform neutral again. Rgds, Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 30 June 2004 15:23To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI see http://sourceforge.net/mailarchive/message.php?msg_id=1634373 in response to your first point. I explained that I looked in the .dll and updated my native function name from "aaBond_crv1_java" to "aaBond_crv1", to match what was in the .dll. this did not work & I set it back, which does not work either in my jboss mbean, but works fine in a standalone app. I also explained in detail how I generated that full method name with javah - jni, but that's getting away from the issue. Let's not do that. Once again, I have a standalone app that works. It works, so we have proven .dll and calling class have matching method names. Migrating this EXACT code to a class in a jboss mbean, and the .dll to the jboss/bin, I get the unsatisfiedLinkError on method call. As mentioned, the loadLibrary(myDll) does not throw exception when wrapped in try-catch. It is not obvious what i'm doing wrong here. If you can offer anything, please advise. thanks -Original Message-From: Ya
RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI
Title: Message I wouldn't think the DLL calling another DLL would be an issue. And even if there's a problem loading the second DLL, I wouldn't expect a Java-based exception to be the result. In light of your classloader revelation, I'm afraid I'm stumped. JBoss does some funky stuff with classloaders which it sounds like might be causing you problems. I'm all out of ideas. Sorry. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 01 July 2004 13:59To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI Thanks for your response. I do indeed have the static initializer block wrapping the call to loadLibrary() in my class that has native method. Perhaps one piece of additional usefull info would be the .dll i'm calling actually calls another .dll. You mentioned this process actually does work. Do you have a working example or can you offer any other insight into what may be causing the problem I have indicated? It almost seems JBOSS is internally doing something after the libraries are loaded. Thanks -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Thursday, July 01, 2004 4:20 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI OK. I wasn't aware of that bit of dodgy code. My apologies. Windows still won't let you load a DLL more than once, but it seems the JVM maintains a separate cache of native method -> DLL function pointers on a per classloader basis. In this case, you need to make sure that your System.loadLibrary() and your native calls are done from classes loaded by the same classloader. The easiest way to do this is, I guess, to have a static initialiser block make a System.loadLibrary() call in each class that has native methods (and this is the recommended practice anyway). I'm not sure on how JBoss's classloader architecture would affect this - especially as you're using MBeans if I recall correctly. If this still doesn't work, I would suggest externalising the JNI stuff into, say, an RMI based server. Then you can have a bunch of session beans which offer a facade to the RMI server, and you become platform neutral again. Rgds, Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 30 June 2004 15:23To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI see http://sourceforge.net/mailarchive/message.php?msg_id=1634373 in response to your first point. I explained that I looked in the .dll and updated my native function name from "aaBond_crv1_java" to "aaBond_crv1", to match what was in the .dll. this did not work & I set it back, which does not work either in my jboss mbean, but works fine in a standalone app. I also explained in detail how I generated that full method name with javah - jni, but that's getting away from the issue. Let's not do that. Once again, I have a standalone app that works. It works, so we have proven .dll and calling class have matching method names. Migrating this EXACT code to a class in a jboss mbean, and the .dll to the jboss/bin, I get the unsatisfiedLinkError on method call. As mentioned, the loadLibrary(myDll) does not throw exception when wrapped in try-catch. It is not obvious what i'm doing wrong here. If you can offer anything, please advise. thanks -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Wednesday, June 30, 2004 9:59 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI You cannot load more than one instance of a DLL into a given process. And System.loadLibrary() is specifically documented to only try and load one instance if called more than once. Like I said, when the JVM reaches a method declared as 'native' in Java, it applies a simple set of rules to the package, class and method names to arrive at a function name which it expects to be exported from the DLL. The C function name and the Java method name that you gave on the forums simply don't match. --
RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI
Title: Message Thanks for your response. I do indeed have the static initializer block wrapping the call to loadLibrary() in my class that has native method. Perhaps one piece of additional usefull info would be the .dll i'm calling actually calls another .dll. You mentioned this process actually does work. Do you have a working example or can you offer any other insight into what may be causing the problem I have indicated? It almost seems JBOSS is internally doing something after the libraries are loaded. Thanks -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Thursday, July 01, 2004 4:20 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI OK. I wasn't aware of that bit of dodgy code. My apologies. Windows still won't let you load a DLL more than once, but it seems the JVM maintains a separate cache of native method -> DLL function pointers on a per classloader basis. In this case, you need to make sure that your System.loadLibrary() and your native calls are done from classes loaded by the same classloader. The easiest way to do this is, I guess, to have a static initialiser block make a System.loadLibrary() call in each class that has native methods (and this is the recommended practice anyway). I'm not sure on how JBoss's classloader architecture would affect this - especially as you're using MBeans if I recall correctly. If this still doesn't work, I would suggest externalising the JNI stuff into, say, an RMI based server. Then you can have a bunch of session beans which offer a facade to the RMI server, and you become platform neutral again. Rgds, Dan. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 30 June 2004 15:23To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI see http://sourceforge.net/mailarchive/message.php?msg_id=1634373 in response to your first point. I explained that I looked in the .dll and updated my native function name from "aaBond_crv1_java" to "aaBond_crv1", to match what was in the .dll. this did not work & I set it back, which does not work either in my jboss mbean, but works fine in a standalone app. I also explained in detail how I generated that full method name with javah - jni, but that's getting away from the issue. Let's not do that. Once again, I have a standalone app that works. It works, so we have proven .dll and calling class have matching method names. Migrating this EXACT code to a class in a jboss mbean, and the .dll to the jboss/bin, I get the unsatisfiedLinkError on method call. As mentioned, the loadLibrary(myDll) does not throw exception when wrapped in try-catch. It is not obvious what i'm doing wrong here. If you can offer anything, please advise. thanks -Original Message-From: Yates, Danny [mailto:[EMAIL PROTECTED]Sent: Wednesday, June 30, 2004 9:59 AMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI You cannot load more than one instance of a DLL into a given process. And System.loadLibrary() is specifically documented to only try and load one instance if called more than once. Like I said, when the JVM reaches a method declared as 'native' in Java, it applies a simple set of rules to the package, class and method names to arrive at a function name which it expects to be exported from the DLL. The C function name and the Java method name that you gave on the forums simply don't match. -- Danny Yates -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff KramerSent: 30 June 2004 15:00To: '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method i n c++ .dll through JNI I appreciate your response, but there is still a gap here. I am using windows, and I've seen in some other posts how unsatisfiedLinkError actually indicates more then one instance of the .dll has been loaded. Do you have any experience or ideas about this? I have tried System.loadLibrary("CJavaWrap"), with the .dll in the jboss/bin. I'm glad to hear it should work, but I cannot see what we are doing wrong?!
[JBoss-user] [Installation & Configuration] - JMX-Console Session Timeout Configuration
Hi, I just successfully implemented the JMX-Console security login and would like to configure a session timeout to prevent user's session from hanging around the browser. Is there a way to do this? I am using JBoss 3.2.4. Thanks! regards, jOjO View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840607#3840607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840607 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - JSP Compilation problem in JBoss3.2.5
Hi, All I just updated my JBoss from 3.2.3 to 3.2.5, and the JSP can't be compiled. here is the exceptions: | org.apache.jasper.JasperException: Unable to compile class for JSP | | An error occurred at line: 38 in the jsp file: /process.jsp | Generated servlet error: | C:\j2ee\jboss-3.2.5\server\all\work\jboss.web\localhost\MT\org\apache\jsp\process_jsp.java:93: cannot resolve symbol | symbol : variable apache | location: interface **.ejb.Organiser | _jspx_page_context.forward("inputinfo.jsp" + (("inputinfo.jsp").indexOf('?')>0? '&': '?') + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("X-MMS-Account", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(account ), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("X-MMS-Organiser", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(organiser ), request.getCharacterEncoding()) + "&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("X-MMS-Password", request.getCharacterEncoding())+ "=" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(String.valueOf(password ), request.getCharacterEncoding())); | | the JSP file works files with 3.2.3, anybody know what could be the problem. THanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840606#3840606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840606 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user