[JBoss-user] [EJB 3.0] - NPE doing queries
I've been working ok with things for a few weeks but now I'm getting NPE under some strange conditions. For example, an entity manager find method would work but a query using the id as the parameter would fail with the NPE on the query.getSingleResult(). I also found that changing the order of calls to some of the DAO methods would break, others would work - exactly the same code, called in different order. E.g. the following fails with an NPE in the second method. Teller teller = tellerDAO.findTellerByTellerNum(tellerNum, true, em); List trans = tranDAO.findAllTrans(em); List tellers = tellerDAO.findAllTellers(em); Swap method call order around and it works... List trans = tranDAO.findAllTrans(em); List tellers = tellerDAO.findAllTellers(em); Teller teller = tellerDAO.findTellerByTellerNum(tellerNum, true, em); So findAllTrans works as long as its first. BTW the NPE comes out of the query.getResultList() method. The Tran class is very basic table with 5 columns, simple Id and version - very little to go wrong and up until recently has been working fine. I've obviously (?) broken something but that hardly explains this sort of behaviour. Any ideas? Thanks Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941708#3941708 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941708 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ClassCastException if calling EJB from external servlet
Hi, I have excatly the same problem, and can't seem to fix it... Anyone have a suggestion ? :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941709#3941709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941709 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: LazyInitializationException
[EMAIL PROTECTED] wrote : Have you set jboss.entity.manager.factory.jndi.name in persistence.xml? This is my entry in the persistence.xml | property name=jboss.entity.manager.factory.jndi.name value=java:/accountingEntityManagerFactory/ | The value only references a context-param in my web.xml | context-param | param-nameaccountingDatabase.persistenceUnitJndiName/param-name | param-valuejava:/accountingEntityManagerFactory/param-value | /context-param But I don't understand what should reference the param-name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941710#3941710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941710 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: LazyInitializationException
I've found the problem the param-name was wrong in the web.xml instead of accountingDatabase.persistenceUnitJndiName it schould be entityManager.persistenceUnitJndiName. But after a quick test I still got | 08:58:03,473 ERROR [LazyInitializationException] failed to lazily initialize a collection of role: be.drapier.domain.SummaryAccount.childAccounts, no session or session was closed | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: be.drapier.domain.SummaryAccount.childAccounts, no session or session was closed | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941711#3941711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941711 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - start jboss error -NoClassDefFoundError: com/sun/activation
Why? | [exec] === | [exec] . | [exec] JBoss Bootstrap Environment | [exec] . | [exec] JBOSS_HOME: D:\j\Program\jboss-4.0.3SP1\bin\\.. | [exec] . | [exec] JAVA: C:\jdk1.5.0_01\bin\java | [exec] . | [exec] JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m | [exec] . | [exec] CLASSPATH: C:\jdk1.5.0_01\lib\tools.jar;D:\j\Program\jboss-4.0.3SP1\bin\\run.jar | [exec] . | [exec] === | [exec] . | [exec] 17:05:22,993 INFO [Server] Starting JBoss (MX MicroKernel)... | [exec] 17:05:23,023 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054) | [exec] 17:05:23,034 INFO [Server] Home Dir: D:\j\Program\jboss-4.0.3SP1 | [exec] 17:05:23,034 INFO [Server] Home URL: file:/D:/j/Program/jboss-4.0.3SP1/ | [exec] 17:05:23,044 INFO [Server] Patch URL: null | [exec] 17:05:23,044 INFO [Server] Server Name: default | [exec] 17:05:23,044 INFO [Server] Server Home Dir: D:\j\Program\jboss-4.0.3SP1\server\default | [exec] 17:05:23,044 INFO [Server] Server Home URL: file:/D:/j/Program/jboss-4.0.3SP1/server/default/ | [exec] 17:05:23,044 INFO [Server] Server Temp Dir: D:\j\Program\jboss-4.0.3SP1\server\default\tmp | [exec] 17:05:23,044 INFO [Server] Root Deployment Filename: jboss-service.xml | [exec] 17:05:24,726 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc. | [exec] 17:05:24,726 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_01-b08,Sun Microsystems Inc. | [exec] 17:05:24,736 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | [exec] 17:05:25,958 INFO [Server] Core system initialized | [exec] 17:05:30,795 INFO [WebService] Using RMI server codebase: http://jAu:8083/ | [exec] 17:05:30,865 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | [exec] 17:05:32,247 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] | [exec] 17:05:36,733 WARN [ServiceController] Problem starting service jboss.ws4ee:service=JAFConfigService | [exec] java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport | [exec] at javax.activation.MailcapCommandMap.init(MailcapCommandMap.java:111) | [exec] at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44) | [exec] at org.jboss.webservice.jaf.JAFConfigService.start(JAFConfigService.java:53) | [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [exec] at java.lang.reflect.Method.invoke(Method.java:585) | [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | [exec] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | [exec] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | [exec] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:960) | [exec] at $Proxy0.start(Unknown Source) | [exec] at org.jboss.system.ServiceController.start(ServiceController.java:428) | [exec] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [exec] at java.lang.reflect.Method.invoke(Method.java:585) | [exec] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | [exec] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | [exec] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | [exec] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | [exec] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | [exec] at $Proxy4.start(Unknown Source) | [exec] at
[JBoss-user] [JBoss Messaging] - Re: Auto-discovery
Whether your messages are persistent are not has no bearing on how many messages are stored in memory. This is controlled by the fullSize parameter on the queue and applies equally to persistent and non persistent messages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941713#3941713 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941713 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: What's this JMSRecoverable?
The JTA spec does not specify a standard method by which a transaction manager gets hold of an XAResource so it can call recover() on it when it wants to do XA recovery. The JMSRecoverable is a simple class which is put into JNDI by the server on startup, and enables the transaction manager to get a handle to such an XAResource. This is all commented out anyway, and may well disappear altogether once we integrate with JBoss Transactions, so I wouldn't worry too much about it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941714#3941714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941714 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Cascade problem
I have a code like this: | @OneToMany(mappedBy = ne, cascade={CascadeType.REMOVE,CascadeType.REFRESH}) | @Column(unique = false, nullable=false) | @Basic(fetch=FetchType.LAZY) | public ListActivity getActvs() { | return actvs; | } | and I expect that when I am removing one instance of this class the its Actvs would be removed, but it is not! the Actvs stays there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941715#3941715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941715 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Software design patterns
Dear members, As part of a research degree, I am conducting an online survey on the use of software design patterns within software design projects, especially when used within the scope of integrating applications (e.g. web services, EAI etc). The aim is to investigate how use of software design patterns can facilitate software reuse and save time and cost with software development The study doesn?t assume the use / knowledge of software design patterns as a pre-requisite for filling the online survey as we are collecting views of software developers with different background and experience. Your response would be treated as confidential and the online survey and results are anonymous (no name, address ? etc is required). All those who completed the survey with valid E-mail address will receive copy of the aggregated results and any related publications, though giving E-mail is optional. The survey is expected to take 5 minutes to complete. The link to the online survey is at http://integrationsolutions.co.uk/Patterns_may.htm Many thanks for helping with this study. Contact details: [EMAIL PROTECTED] University of Bolton UK( http://www.bolton.ac.uk) Project web site (Under construction http://www.integrationsolutions.co.uk ). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941716#3941716 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941716 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Suggested enhancement to @Observer annotation
I've added this to JIRA as http://jira.jboss.com/jira/browse/JBSEAM-229 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941718#3941718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941718 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: varification in ejb failed...
yes it is correct that you would need to remove the database=localDB bit from the depends-clause, but that's NOT ALL. the CMP error messages occurs because the ejb-jar.xml file of the j2ee tutorial (update 2) says persistence-typeContainer/persistence-type which is inconsistent with the source code of update 2. update 7 has fixed this. i am using jboss-4.0.2 with j2ee-1_4-doc-tutorial_7.zip and startguide40.zip and it works (finally, after 4 hours!) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941721#3941721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941721 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Multiple security domains for single webapp
What I'd like to do is have 2 security domains attached to one web application. The basic idea is that the client login info will be in the database, but internal admin logins, which will rarely change, will be kept in a properties fileset. So that's... 1 - UsersRolesLoginModule 1 - DatabaseServerLoginModule Looking at the structure of the jboss-web.xml, it only allows for one security-domain tag. I just tried 2, and it threw an exception. I would assume one way to do this would be a custom login module that calls both internally. If this would be the preferred method, I would also assume that somebody has done this. Possible option two would be some method of configuration in the 'login-config.xml' that would do the same. Any thoughts? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941722#3941722 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941722 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Jboss portal custom portal - custom login - security constra
i everyone. I use jboss portal 2.2.1. I have created a new portal within my application *-object.xml. Everything seems to look fine as i'm able to see the configuration into the management portlet. Now i want to access the page defined under my portal configuration. I tried the following urls but once logged in i'm not able to see and access the page defined even though i log in with a user with permission to view the page. It seems i get always logged to the default portal. localhost:8080/portal/potalname localhost:8080/portal/portal/potalname localhost:8080/portal/potalname/default localhost:8080/portal/potalname/pagename Everything works fine if i deploy my application under the default portal. Question n. 2 Is it possible to change the portal default login page to a custom login page ? I do not want to change the html of the default one. I only want my portal to log in from the customized login page. Question n.3 my application is made up by only one portlet which handle requests. I have defined some security constraint which allow certain roles to access the portlet ( let's say customAdminRole and customUserRole ). Rendering is always delegated to jsp. i want to protect a folder which contains some jsp visible only to customAdmin role. How can i do that ? Thanx for the help. IVan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941723#3941723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941723 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Build errors for jportal source compile
I am getting build errors... What shouId I be doing? I downloaded vesion 2.2.1 jboss portal source generate-parsers: _default:compile-classes: [javac] Compiling 106 source files to C:\portal\jboss-portal-2.2.1-src\common\output\classes [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:68: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setObject(AttributeType attribute, Object value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:84: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setInt(AttributeType attribute, int value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:100: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setBoolean(AttributeType attribute, boolean value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:116: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setFloat(AttributeType attribute, float value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:132: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setLong(AttributeType attribute, long value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:148: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setDouble(AttributeType attribute, double value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:164: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setChar(AttributeType attribute, char value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:180: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setShort(AttributeType attribute, short value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:196: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public void setByte(AttributeType attribute, byte value) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:212: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public final Object getObject(AttributeType attribute) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:228: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator [execmodules] public final int getInt(AttributeType attribute) throws NoSuchAttachmentException [execmodules] ^ [execmodules] C:\portal\jboss-portal-2.2.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:244: cannot find symbol [execmodules] symbol : class NoSuchAttachmentException [execmodules] location: class
[JBoss-user] [JBoss Seam] - Re: Fileupload
I am getting null pointer exception from the Extensions filter: | java.lang.NullPointerException | 20:47:15,235 ERROR [STDERR] at com.tarhyar.file.FileLogicAction.upload(FileLogicAction.java:109) | 20:47:15,235 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 20:47:15,236 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 20:47:15,236 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,236 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,238 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109) | 20:47:15,238 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) | 20:47:15,238 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | 20:47:15,239 ERROR [STDERR] at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) | 20:47:15,240 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) | 20:47:15,240 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,240 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | 20:47:15,242 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) | 20:47:15,243 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,243 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,243 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,243 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) | 20:47:15,244 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) | 20:47:15,244 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,244 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:33) | 20:47:15,245 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) | 20:47:15,245 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,246 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,246 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:68) | 20:47:15,247 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source) | 20:47:15,247 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,247 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,248 ERROR [STDERR] at
[JBoss-user] [JBoss Seam] - Re: LazyInitializationException
Use @In(create=true) | EntityManager entityManager For Seam-managed EMs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941728#3941728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941728 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - changing the websale application(very urgent!!!!!!!!)
hai Is there any way to modify the java files of the existing websale application like taskbean,homebean etc? If so how to do it.I could change the jsp pages but i could not change the class files.I have tried all the possible methods. I tried to rebuild the application after changes by running the build.deploy.xml as a ant build but that did not help. i even tried deploying this application on various web servers but that did not help either.I also tried opening this jbpm.3 project in netbeans ide and tried deploying it from there but that too did not help me. Basically i want to change the class files of the websale application and my changes should get reflected when i run the application. Jbpm experts please help me it is very urgent. thanks in advance nirmal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941729#3941729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941729 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam component hides managed bean with same name
I'm getting this warns too, I don't know why because i've done everything like in Example showing you how to generate a CRUD web application from a database using JBoss Eclipse IDE tutorial. I don't know too if that can be reason of my problem with this application. Everythin works fine but application dont see data in database and dont add any data to database. I dont know what is going on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941731#3941731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941731 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam component hides managed bean with same name
My guess is that if you use a h:dataTable you are using the same name in h:dataTable var=name as you have named one of your Seam components. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941734#3941734 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941734 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - PortletRequestImpl question
Hi all, I'm working with Portal 2.4, Seam, MyFaces, Facelets, JBoss4.0.4 and mySql 5.0. I'm trying to build some JSF components that are specific to JSF usage in portlets (like the Portlet Tag Library, but for JSF). The simplest example is a version of HtmlOutputLink that will render a link that is relative to the portal that the portlet is part of. My first question is: Is this the right approach or am I misunderstanding something about HtmlOutputLink that makes it not use Portal Container relative links ? Secondly, I'm having some trouble in getting the Portal Request URL, and I think it comes down to a decision about the specification - as indicated by the comments in org.jboss.portal.portlet.impl.jsr168.PortletRequestImpl's getContextPath() method, as follows: |// PLT.11.1.5 | |public String getContextPath() |{ | // Fixme : should use the incoming request ? | return invocation.getContainer().getWebApp().getContextPath(); |} | |// PLT.11.1.6 | I would be able to use this getContextPath() method in my subclass of HtmlOutputLink in order to form URLs relative to the Portal Container if it returned the URL Portal Container Contextpath (which it does for all portlets deployed in the Portal Container Application). Unfortunately, what I get from this method now is the ContextPath of the web application that my portlet is deployed in. This is considerably less useful to me than that portal container path as I think I get this path from ExternalContext.getRequestContextPath or from other means anyway. My question for the group is this : Is the spec ambiguous and so this is really a problem with the specification, or should the PortalRequest interface return properties that are relative to the Portal Container - making this a bug ? I will work around it in the meantime, but I'd like to know if it is something that should be fixed. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941736#3941736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941736 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JMS publisher subscriber
Does anyone have an answer to the above post... I understand that it's from last year, but I'm running in to the same issues... I want a to publish messages from a servlet and have them consumed by a MDB. I followed the JBoss Eclipse IDE Tutorial at http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html without any problems, but it's pretty basic and doesn't venture into MDBs or entity beans for that matter... I can't seem to find any references for the xdoclet tags within JBoss-IDE for either a MDB or a servlet that publishes... any examples out there? thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941737#3941737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941737 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: changing the websale application(very urgent!!!!!!!!)
You might try exploding the war (if it isn't already), then unjar the WEB-INF/lib/jbpm-webapp-3.1.jar file and place the classes in the WEB-INF/classes directory and remove the jar file (or change its name by giving it a .bak extension). This will give you direct access to the class files used by the webapp. Then you can make your changes to the Beans in your editor of choice and copy the resulting class files into the WEB-INF/classes directory (in the correct package directory too of course) overwriting the ones that you unjarred. This might be the easiest and most transparent way for you to make sure that your updated class files are getting used by the server. Then if you get everything working the way you want it, you can worry about rebuilding the application later. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941739#3941739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941739 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Deploying Documentum
Hi gurus Does anyone had any inforamtion about deploying documentum apps on jboss applicaiton server.I am trying to install Documentum Webtop on Jboss 4i. I am able to see the login page and when i enter it not showing anything. If anyone had any knowledge about this please let me know. I can mail or send him the details of my procedure. Thanks for ur help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941740#3941740 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941740 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - TestNG timeout looking for mock plugins from ant script
I have been trying to integrate our Seam appllication tests into our ant scripted build loop. The tests run fine via the Eclipse IDE but don't run in ant. Everything works fine up to the point where the embeddable-jboss plugin resolver tries to load the plugins but then the script just waits. After 5 minutes it gets a Transaction timeout. Has onyone experienced this or have any idea why it might be happening? Last few lines of the script output is: [testng] INFO 08-05 07:43:25,970 (EJBContainer.java:start:558) -STARTED EJB: com.transtoll.ui.review.actions.ListReviewQueuesAction ejbName: ListReviewQueuesAction [testng] INFO 08-05 07:43:25,978 (MCKernelAbstraction.java:install:79) -installing bean: jboss.j2ee:jar=bin,name=LoadPassageAction,service=EJB3 with dependencies: [testng] INFO 08-05 07:43:26,037 (EJBContainer.java:start:558) -STARTED EJB: com.transtoll.ui.review.actions.LoadPassageAction ejbName: LoadPassageAction [testng] INFO 08-05 07:43:26,068 (Initialization.java:init:110) -done initializing Seam [testng] INFO 08-05 07:43:26,141 (PluginFactory.java:getResolverClassFromPluginPropertiesResource:93) -plugin.properties used for resolver implementation [testng] WARN 08-05 07:48:26,280 (TransactionImpl.java:timedOut:1130) -Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1147038203713/1, BranchQual=null:1147038203713, localId=0:1] timed out. status=STATUS_ACTIVE View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941741#3941741 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941741 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Tomcat + JBoss Embeddable EJB3
A worse case, I just copied the application example name registration as another name, lets say registrar. After, I changed all the occurence of registration by registrar in the files of the directories projet. I executed the ant command to build and deploy. That's is correct. But when I use the small application et press on the Register button, I have the sames errors. Could you tell what's wrong with new Seam's applications? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941742#3941742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941742 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Problem with eclipse 3.2 RC2
Hey Max, If you get the sense that people read the sticky posts, it might be worth it to throw one up talking about integration with Eclipse 3.2 and when to expect 2.0 nightlies, etc. I just keep checking the JIRA issue: http://jira.jboss.com/jira/browse/JBIDE-287 Bradley [EMAIL PROTECTED] wrote : jbosside is not compatible with eclipse 3.2.x | | use eclipse 3.1.x or wait for nightly builds of jbosside 2.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941744#3941744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941744 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Tomcat + JBoss Embeddable EJB3
All exemples can be executed correctly on JBoss AS 4.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941743#3941743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941743 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - org.jboss.seam.core.LocaleSelector NotSerializableException
Has anyone tried Seam with EJB3 cluster. I am getting a java.io.NotSerializableException with org.jboss.seam.core.LocaleSelector. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941745#3941745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941745 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JNDI-problem with Tutorial
The only workaround works for my env (JBoss 4.0.3 SP1 jdk 1.5.0_06) is Object ref = context.lookup(ejb/Fibo); Removing WEB-INF/classes from packaging configuration doesn't work for me at all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941746#3941746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941746 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Tomcat + JBoss Embeddable EJB3
I think I fixed the problem. I forgot to change the database name in resources/persistence.xml and undeploy the original version. After I did that change, everything works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941749#3941749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941749 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - starting jboss for the first time.
installed 3.2.3 jboss, and cannot get it started, I set java_home var. Any ideas. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941750#3941750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941750 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Multiple security domains for single webapp
I've never done this, so I'm no expert, but I think what you do is have a single security domain that uses both modules and use the password-stacking option. Hopefully somebody else can offer you more definitive help. gary. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941751#3941751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941751 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - XML marshalling/unmarshalling issue
I am doing some marshalling/unmarshalling of POJOs using JAXB, and on 4.0.3SP1 it works great, the xml comes out in order, matching the schema associated with it. However, under 4.0.4CR2, the xml comes out in what appears to be alphabetical order by element, completely destroying its validity against the schema. Any ideas ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941752#3941752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941752 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Changing servers while running
I have an app that needs to change the server it is talking to mid way through running. So the program disconnects, changes the java.naming.provider.url System property to something else and creates a new InitialContext(). Trouble is, it seems to keep talking to the old server. So I thought instead I'll create a Hashtable of variables and pass that to the InitialContext constructor that takes a Hashtable. That doesn't seem to help either. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941754#3941754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941754 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to work with 2 databases simultaneously?
bump, surely there are people out there working with 2 databases? In my cases its adapting a legacy database to work with a new architecture. How do I assign an entity bean to a database? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941755#3941755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941755 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: org.jboss.seam.core.LocaleSelector NotSerializableExcept
Please report this in JIRA. I need to fix this before the 1.0 release. TIA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941756#3941756 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941756 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem with Ant wscompile on MySQL: axrpc-mapping.xml c
Bertrand, Thanks for sharing the solution. For further reference, the examples were developed using version 1.6 of JWSDP. In the near future we will discontinue the use of JWSDP in favor of the JBossWS tools. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941757#3941757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941757 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Java Client Calling Secured EJb
Hi all, I have deployed a jaas Login Module and secured my web and ejb application successfully...I also wrote a Java Client to test the secured ejb's I created a java client and invoked it as follows :- java -Djava.security.manager -Djava.security.policy=security.policy -Djava.security.auth.policy=JaasAuth.policy -Djava.security.auth.login.config=C:/jboss-4.0.3/client/auth.conf TestClient However I get the following exception :- javax.security.auth.login.LoginException: java.lang.ExceptionInInitializerError at org.jboss.security.SecurityAssociationActions$SetPrincipalInfoAction.run(SecurityAssociationActions.java:36) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.jboss.security.SecurityAssociation.ThreadLocal read) I have set all policy files (security.policy and JaasAuth.policy ) to read :- java.util.PropertyPermission * read; Inspite of that I keep getting this exception ..So is it because that I am not running Jboss 4.0.3 WITHOUT a security manager ? I am not sure where to set the PropertyPermission for this org.jboss.security.SecurityAssociation.ThreadLocal Any pointers would be appreaciated Security.policy :- //these permissions are needed by the client grant codeBase file:/C:/Projects/java/JbossJaas/JaasClient.jar { permission javax.security.auth.AuthPermission createLoginContext.client-login; permission javax.security.auth.AuthPermission doAs; permission javax.security.auth.AuthPermission doAsPrivileged; permission javax.security.auth.AuthPermission modifyPrincipals; permission javax.security.auth.AuthPermission getSubject; permission java.util.PropertyPermission *, read; }; // grant the client LoginModule AllPermission grant codeBase file:/C:/jboss-4.0.3/client/- { permission java.security.AllPermission; permission java.util.PropertyPermission *, read; }; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941758#3941758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941758 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How to run jsp on jboss
I use jboss 3.2.8. When i ran jsp pages, it occur error ( not point to JDK, can't find javac, can't compile ). It's impossible, i set PATH in /etc/profile. JAVA_HOME=java directory PATH=$PATH:$JAVA_HOME/bin JBOSS_HOME=jboss directory PATH=$PATH:$JBOSS_HOME/bin Do you know how to correct that error? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941759#3941759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941759 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: trying to figure why we are getting RegionNameConflictEx
I assumed you meant 1.3.0SP1. So you have couple JBossCache instances insides 4.0.3SP1. That should still work though. Are they running as MBean service? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941762#3941762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941762 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: InternalTransporterServices
After mulling this over for a while, I agree. http://jira.jboss.com/jira/browse/JBREM-447. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941765#3941765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941765 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Problem in DLQ
Hi, I have an MDB which uses one topic and one queue. Following is my jboss.xml | jboss |enterprise-beans |message-driven | ejb-namenotificationTopic/ejb-name | destination-jndi-namequeue/RainbowJMSTopic/destination-jndi-name | invoker-bindings |invoker | invoker-proxy-binding-namedefault-message-driven-bean/invoker-proxy-binding-name |/invoker | /invoker-bindings | resource-ref | res-ref-nameRainbowConnectionFactory/res-ref-name | jndi-nameTopicConnectionFactory/jndi-name | /resource-ref | /message-driven | message-driven | ejb-namenotificationQueue/ejb-name | destination-jndi-nametopic/RainbowJMSQueue/destination-jndi-name | invoker-bindings |invoker | invoker-proxy-binding-namedefault-message-driven-bean/invoker-proxy-binding-name |/invoker | /invoker-bindings | resource-ref | res-ref-nameRainbowConnectionFactory/res-ref-name | jndi-nameQueueConnectionFactory/jndi-name | /resource-ref | /message-driven | /enterprise-beans | | invoker-proxy-bindings |invoker-proxy-binding | namedefault-message-driven-bean/name | invoker-mbeandefault/invoker-mbean | proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory | proxy-factory-config | JMSProviderAdapterJNDIDefaultJMSProvider/JMSProviderAdapterJNDI | ServerSessionPoolFactoryJNDIStdJMSPool/ServerSessionPoolFactoryJNDI | CreateJBossMQDestinationtrue/CreateJBossMQDestination | MaximumSize15/MaximumSize | MaxMessages1/MaxMessages | MDBConfig |ReconnectIntervalSec10/ReconnectIntervalSec |DLQConfig | DestinationQueuequeue/DLQ/DestinationQueue | MaxTimesRedelivered10/MaxTimesRedelivered | TimeToLive0/TimeToLive |/DLQConfig | /MDBConfig | /proxy-factory-config | /invoker-proxy-binding | /invoker-proxy-bindings | /jboss | Following is my ejb-jar.xml | ejb-jar | | enterprise-beans | | message-driven | ejb-namenotificationTopic/ejb-name | ejb-classcom.mphasis.rainbow.sa.notification.core.ejb.RainbowMessagingListener/ejb-class | message-selector/message-selector | transaction-typeContainer/transaction-type | message-driven-destination |destination-typejavax.jms.Topic/destination-type | /message-driven-destination | resource-ref |res-ref-nameRainbowConnectionFactory/res-ref-name |res-typejavax.jms.QueueConnectionFactory/res-type |res-authContainer/res-auth | /resource-ref | resource-env-ref |resource-env-ref-nameRainbowJMSTopic/resource-env-ref-name |resource-env-ref-typejavax.jms.Topic/resource-env-ref-type | /resource-env-ref | /message-driven | | | message-driven | ejb-namenotificationQueue/ejb-name | ejb-classcom.mphasis.rainbow.sa.notification.core.ejb.RainbowMessagingListener/ejb-class | message-selector/message-selector | transaction-typeContainer/transaction-type | message-driven-destination |destination-typejavax.jms.Queue/destination-type | /message-driven-destination | resource-ref | res-ref-nameRainbowConnectionFactory/res-ref-name | res-typejavax.jms.QueueConnectionFactory/res-type | res-authContainer/res-auth | /resource-ref | resource-env-ref |resource-env-ref-nameRainbowJMSQueue/resource-env-ref-name |resource-env-ref-typejavax.jms.Queue/resource-env-ref-type | /resource-env-ref | /message-driven | | | /enterprise-beans | | | assembly-descriptor | container-transaction | method | ejb-namenotificationTopic/ejb-name | method-name*/method-name | /method | trans-attributeRequired/trans-attribute | /container-transaction | container-transaction | method | ejb-namenotificationQueue/ejb-name | method-name*/method-name | /method |
[JBoss-user] [JBoss jBPM] - Re: JBPM with portlets
hi, we are also eager in developing the portal client for the JBPM and trying to use on different portal servers but we are new to this jbpm and if any one gave some idea about the api fo the JBPM it ll be helpfull to us in developing the portlets for the JBPM if any one done this please provide me the sample portlet code. ANY help regardign this ll be appriciated Regards, Mohan Chokkakula. [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941768#3941768 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941768 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - jboss+mysql : transaction not rolling back properly!!!
Hi all, I am using jboss4.0.3spi with mysql 4.1.2. For some strange reason, my transactions are not rolling back properly. Say I am creating an Entity bean at the beginning of a business method and at the end of that method, i am rolling back the transaction. But the entity remains in the db(i find it when I check the db manually!!) My tables for CMP entity beans are created by jboss while deploying the ejb. I haven't changed any default Transaction manager property of jboss. So I am expecting the default in memory transaction manager will be working.I am using CMT for all my beans. I have set all transaction attribute to Required for all the methods of all my beans in the assembly-descriptor part. Is there anything else I need to do to make the it work? How do I see the logs related to transaction. I am in complete darkness. please help. Regards, Sajid View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941769#3941769 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941769 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: How to change JBoss AS 4.04 CR2 Default Web Root
I would suggest leaving webroot where it is and simply replacing the contents. This is easy to do from an ant script in a post-installation phase. Create the webapp you'd like to be root, and after removing the contents of the default jboss app, copy yours in. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941771#3941771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941771 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC
Unfortunalty it does not work without the 'java:/' prefix. I get javax.naming.NameNotFoundException: ConnectionFactory not bound. On a multihomed PC you have to change the HA-JNDI port by changing the jboss-service.xml in the conf directory and the cluster-service.xml in the deploy directory. So how can i look up the JMS ConnectionFactory on Node2 when Node1 is the masternode and contains the JMS service. From the admin guide: The HA-JMS client must obtain JMS connection factories from the HA-JNDI (the default port is 1100). What am i missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941772#3941772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941772 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC
How are you configuring your InitialContext? What are you setting as your javax.naming.provider.url? Should be something like javax.naming.provider.url=node1:1100,node2:1200 assuming HA-JNDI is bound to 1100 on 1 and 1200 on 2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941773#3941773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941773 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user