[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4
hi, glad to see i'm not the only one with a similar problem. could you let me know when you find a solution ? I will post it here too if I should find it. about the problem, a similar problem also surfaced when moving from RC3 to RC4, but this time it's in the server thread. It seems that a SerializationException is thrown when the server tries to passivate a stateful session bean. Again this worked fine with RC3. This is the exception: | 03:56:17,872 ERROR [SimpleStatefulCache] problem passivation thread | javax.ejb.EJBException: Could not passivate; failed to save state | at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:354) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:191) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:127) | Caused by: org.jboss.serial.exception.SerializationException | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.persister.ArrayPersister.saveObjectArray(ArrayPersister.java:96) | at org.jboss.serial.persister.ArrayPersister.writeData(ArrayPersister.java:87) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:111) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287) | at org.jboss.serial.io.MarshalledObject.init(MarshalledObject.java:51) | at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:368) | at org.jboss.serial.persister.ExternalizePersister.writeData(ExternalizePersister.java:45) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:111) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287) | at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:342) | ... 2 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:73) | ... 18 more | Caused by: org.jboss.serial.exception.SerializationException | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:45) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287) | at java.util.HashMap.writeObject(HashMap.java:985) | ... 22 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:73) | ... 27 more | Caused by: org.jboss.serial.exception.SerializationException | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81) |
[JBoss-user] [JBoss jBPM] - children stay active after join [token.getActiveChildren()]
Hello, The following graph produces the problem: | ?xml version=1.0 encoding=UTF-8? | | process-definition | xmlns=http://jbpm.org/3/jpdl; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd; | name=simple |start-state name=start | transition name=tr1 to=state1/transition |/start-state |state name=left | transition name=tr1 to=join1/transition |/state |end-state name=end/end-state |state name=right | transition name=tr2 to=join1/transition |/state |fork name=fork1 | transition name=tr1 to=left/transition | transition name=tr2 to=right/transition |/fork |join name=join1 | transition name=tr1 to=state2/transition |/join |state name=state1 | transition name=tr1 to=fork1/transition |/state |state name=state2 | transition name=tr1 to=end/transition |/state | /process-definition | I am using the following code: | package com.sample; | | | | import java.util.Iterator; | | import java.util.Map; | | | | import junit.framework.TestCase; | | | | import org.jbpm.graph.def.ProcessDefinition; | | import org.jbpm.graph.exe.ProcessInstance; | | import org.jbpm.graph.exe.Token; | | import org.jbpm.graph.node.Join; | | | | public class SimpleProcessTest extends TestCase { | | | | private ProcessInstance processInstance = null; | | | | public ProcessInstance getProcessInstance() { | | return processInstance; | | } | | | | public void setProcessInstance(ProcessInstance processInstance) { | | this.processInstance = processInstance; | | } | | | | public void testSimpleProcess() throws Exception { | | | | // Extract a process definition from the processdefinition.xml file. | | ProcessDefinition definition = ProcessDefinition | | .parseXmlResource(simple.par/processdefinition.xml); | | | | // Create an instance of the process definition. | | ProcessInstance instance = new ProcessInstance(definition); | | this.setProcessInstance(instance); | | | | this.signalProcess(tr1); | | this.signalProcess(tr1); | | this.signalProcess(tr1); | | this.signalProcess(tr1); | | this.signalProcess(tr2); | | this.signalProcess(tr2); | | this.signalProcess(tr2); | | this.signalProcess(tr1); | | } | | | | public void signalProcess(String signal) { | | if (signal != null) { | | System.out.println(signal : + signal); | | ProcessInstance processInstance = this.getProcessInstance(); | | this.signalTokens(processInstance.getRootToken(), signal); | | System.out.println(--); | | } else { | | System.out.println(signal = null\n); | | } | | } | | | | public void signalTokens(Token token, String signal) { | | Map activeChildrenMap = token.getActiveChildren(); | | | | | | // if (token.hasActiveChildren()) | | if (activeChildrenMap.isEmpty() == false) { | | System.out.println(token has active children\n); | | Iterator itr = activeChildrenMap.values().iterator(); | | while (itr.hasNext()) { | | Token signalToken = (Token) itr.next(); | | | | if ((signalToken.getNode() instanceof Join)==false) | | signalTokens(signalToken, signal); | | else | | System.out.println(it's a join\n); | | } | | } else { | | // token itself must be active | | System.out.println(token name : + token.getName()); | | System.out.println(node name : + token.getNode().getName()); | | Map leavingTransitions = token.getNode().getLeavingTransitionsMap(); | | | | for (Iterator it = leavingTransitions.entrySet().iterator(); it | | .hasNext();) { | | Map.Entry entry = (Map.Entry) it.next(); | | String
[JBoss-user] [EJB 3.0] - Re: Many to many plus additional value
Try this | @Entity | public class Flights_Customers{ | @ManyToOne | private Flight flight; | | @ManyToOne | private Customer customer; | ... | } | | @Entity | public class Customer{ | @OneToMany(mappedBy=customer) | private CollectionFlights_Customers flights_Customers; | ... | } | | @Entity | public class Flight{ | @OneToMany(mappedBy=flight) | private CollectionFlights_Customers flights_Customers; | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922012#3922012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922012 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Help on jBPM
I've found the solution for question 4: to deploy right click on the process in eclipse and (sometimes) works. To deploy via console do (as someone said): Deploy | 1) Use JBoss 4.0.2 | 2) Fresh jBPM | 3) modify build.properties (gives system paths to jBPM and JBoss) | 4) ant tasks from build.xml: compile, build, build.processes | 5) ant tasks from build.deploy.xml (create.jbpm.configuration, start.jboss) | | That should get you going and using websale. To deploy your own .par | 1) At jbpm/src/process.examples/ add a directory process name.par | 2) Inside there should be your processdefinition.xml, gpd.xml, and processimage.jpg | 3) Add any java packages created in GPD to jpbm/src/java.examples | 3) modify ant taget build.process in build.xml (at about lines 182-193). This should reflect your process name.par, package name, temporary staging directory. | 4) Repeat the 5 steps mentioned above | I know it's not complicated, but one has to know what has to do and until that point it is complicated. I'd appreciate if someone could give me any advice about the other questions, over all number 5. Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922013#3922013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922013 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Installing jboss 4.0.3 SP1: No custom langpack available
Hi, I've been trying to install Jboss 4.0.3 SP1 on a windows XP pro. I get a blank screen when I start installation. Here is how it goes: 1. I execute the installation jar (java -jar jboss-4.0.3SP1-installer.jar) 2. I get a language selection screen. I choose english (eng) 3. Next screen is blank and following error is found in installation log: No custom langpack available. com.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language engcom.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language eng at com.izforge.izpack.installer.ResourceManager.getLanguageResourceString(ResourceManager.java:137) at com.izforge.izpack.installer.ResourceManager.getInputStream(ResourceManager.java:154) at com.izforge.izpack.panels.PacksPanelBase.(PacksPanelBase.java:149) at com.izforge.izpack.panels.PacksPanel.(PacksPanel.java:59) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame.java:201) at com.izforge.izpack.installer.InstallerFrame.(InstallerFrame.java:158) at com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:387) at com.izforge.izpack.installer.GUIInstaller.(GUIInstaller.java:123) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.izforge.izpack.installer.Installer.main(Installer.java:53) Replacing variables in set=default Variable set.substring(1)=null Replacing variables in set=default Replacing variables in set=jmx-console Variable set.substring(1)=null Replacing variables in set=jmx-console Replacing variables in set=admin Variable set.substring(1)=null Replacing variables in set=admin Replacing variables in set=admin Variable set.substring(1)=null Replacing variables in set=admin Any suggestions??? /delley View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922014#3922014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922014 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: 3.0.2 and hibernate configuration
Raj, Are you able to connect to HSQL with a database client (e.g. DBVisualizer)? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922015#3922015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922015 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Help on jBPM
Sure you can do your point 5. Of course they will appear in the same default webapp. But if you need the (web) applications associated with the different workflows to be isolated from each other, you will have to develop your own... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922017#3922017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922017 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: How to download and install JBossWS?
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDeployJBossWS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922016#3922016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922016 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ServiceLifeCycle
Why are you not using an EJB endpoint implementation? It offers implicit pooling and lifecycle management. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922019#3922019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922019 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Injecting doesn't work
Hi folks, I've searched the forum, but I didn't find a topic solving my problem. I modified the booking example to test the capabilities of Seam. I have to say, Seam is very nice. As I said, I modified the booking example. I left the LoginAction as it was. After logging in, the user sees a personalized welcome message. The Name is retrieved from a database. It works fine. The User enters his token and is welcomed with his name. A panelNavigation2 (nested in a f:view) displays some sort of navigation in the sidebar. As you see, I use myFaces. One of the navigation Items calls a method in a stateless bean, where I want the user component to be injected. But this doesn't work. Debugging this code reveals that as soon as the called method is invoked, user equals null. I don't know, what's wrong with my code. It's similar to the booking example (i.e. ChangePasswordAction). User.java: package myprog.entities; | | import java.io.Serializable; | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.Id; | import javax.persistence.Table; | | import org.hibernate.validator.Length; | import org.hibernate.validator.NotNull; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import static org.jboss.seam.ScopeType.SESSION; | | @Entity | @Table(name=USERS) | @Name(user) | @Scope(SESSION) | public class User implements Serializable { | private String m_ID; | private String m_Name; | private String m_Phone; | private String m_Email; | private int m_isDeveloper; | private int m_isTester; | private Integer m_isAdmin; | private String m_Password; | private String m_TOTRoot; | private String m_PWToken; | private Integer m_isQPV; | | public User(String p_id, String p_name, String p_password, String p_email, String p_phone) { | super(); | m_ID = p_id; | m_Name = p_name; | m_Password = p_password; | m_Email = p_email; | m_Phone = p_phone; | } | | public User() { | } | | @Column(name=USR_ID) | @Id | @NotNull | @Length(min=2, max=10) | public String getID() { | return m_ID; | } | | //Here follow all the needed getters and setters | } The LoginAction: package myprog.sessions; | | import java.util.List; | | import javax.ejb.Interceptor; | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.faces.application.FacesMessage; | import javax.faces.context.FacesContext; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.contexts.Context; | import org.jboss.seam.ejb.SeamInterceptor; | | import myprog.entities.User; | | @Stateless | @Name(login) | @Interceptor(SeamInterceptor.class) | public class LoginAction implements ILogin { | @In @Out | private User user; | | @PersistenceContext(unitName=myProgDatabase) | private EntityManager em; | | @In | private Context sessionContext; | | @In | private FacesContext facesContext; | | public String login() { | ListUser results = em.createQuery( | from User where ID=:username) | .setParameter(username, user.getID()).getResultList(); | | if (results.size() == 0) { | facesContext.addMessage(null, new FacesMessage(Invalid login)); | return login; | } else { | user = results.get(0); | sessionContext.set(loggedIn, true); | return main; | } | | } | } Here is the component with the called method: package myprog.sessions; | | import java.util.List; | | import javax.ejb.Interceptor; | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.hibernate.validator.Valid; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.contexts.Context; | import org.jboss.seam.ejb.SeamInterceptor; | | import myprog.entities.Testaction; | import myprog.entities.User; | | @Stateless | @LoggedIn | @Name(showListForDevelopers) | @Interceptor(SeamInterceptor.class) | public class ShowListForDevelopers implements IShowListForDevelopers { |
[JBoss-user] [JBoss jBPM] - Re: Help on jBPM
Hi Koen, thank you for your answer. I don't think i'm able to develop such a thing as i can not even work by now fluently with jBPM ;). But thanks for your answer. What I have to do is to model differente processes, eg: Task A - a clerk starts one process with different states, nodes and actions (and schedulings) Task B - the same (or another) clerk start a process with other states completely (or partially different with A). Task C, D... I suppose the only way to model this would be to set at the very beginning a decission (?) node to see whick task will i follow, doesn't it? Maybe selecting from a combo which task to make and depending on it go thought one branch or another. And other question :): i suppose that all the information stored on the hibernate database remains there forever (until someone deletes it), I mean, it doesn't dissapear when the task is finished, doesn't it? Is there a way to get statistics from this database? I need to know how did it took a process (and the average) to finish. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922022#3922022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922022 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Injecting doesn't work
Here is the stacktrace: javax.faces.el.EvaluationException: /showListForDeveloper.xhtml @12,78 value=#{showListForDevelopers.testactions}: $Proxy104 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIData.getValue(UIData.java:779) | at org.apache.myfaces.component.html.ext.HtmlDataTableHack.createDataModel(HtmlDataTableHack.java:350) | at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getDataModel(HtmlDataTableHack.java:333) | at org.apache.myfaces.component.html.ext.HtmlDataTable.getDataModel(HtmlDataTable.java:428) | at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getRowCount(HtmlDataTableHack.java:75) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94) | at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeChildren(HtmlTableRenderer.java:57) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:539) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:544) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:544) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:450) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Bean: $Proxy104, property: testactions | at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:404) | at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141) | at com.sun.el.parser.AstValue.getValue(AstValue.java:96) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | ... 34 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400) | ... 40 more | Caused by: javax.ejb.EJBException: null; CausedByException is: | null | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70) | at
[JBoss-user] [EJB 3.0] - Re: entity manager not working on RC4
maybe the problem could be that no JNDI name is specified in the persistence.xml file, i read on the wiki that this is necessary in RC4.. i also had problems with this couple of days ago View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922024#3922024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922024 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: unable to run servlets using jboss4.0.3SP1
rai_adi wrote : i am new to jboss server .i installed jboss4.0.3sp1,i deployed my application to server/default/deploy folder. | | jsp html pages are running but servlets does'nt.i kept servlet.jar file in lib folder of my application .please help me i m trying to fix it for last one week but failed .thanking in adavance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922028#3922028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922028 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Microcontainer] - Re: How to access beans created by the bootstrap
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Moderated: HIJACK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922029#3922029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922029 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Have to look for seam alternative :(
Hi folks, we are on 2 projects with the target to share code and to use the seam framework. everything running fine. now, one of our customers fixed the architecture to tomcat using remote interfaces on bea 8.x. As u pointed out, seam will not be extended to remote connection via remote interface, only to use local once. now we are in the dilemma to migrate this one project to a framework managing remote communication. :( can you help me with the second best framework? Thx alot Timo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922030#3922030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922030 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Filter on Seam application
Could you please tell me how can I access my Seam components in a Filter class? I have tryed: UserLogic userLogic = (UserLogic) Component.getInstance(userLogic,false); Which returns null and InitialContext ctx = new InitialContext(); UserLogic userLogic = (UserLogic) ctx.lookup(mcipro/UserLogicAction/local); which returns ok but trying to access a method of it gives: javax.ejb.EJBException: java.lang.NullPointerException at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922031#3922031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922031 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Learn Ejb
i want to learn Ejb 3 ? what should i do? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922032#3922032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922032 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin
i agree with Rainer that API is the best way to go forward. someting like a migrate method in the ProcessInstance class: ProcessInstance migrate(ProcessDefinition newDefinition, Map nodeMapping); the resulting process instance would be a new, cloned object structure with: * a copy of the runtime structure * a bidirectional link to the old process instance * no shared objects to old process instance objects (meaning it must be a deep copy) so that the returned result can be saved by hibernate. so the biggest challenge will be to extend jbpm with a generic mechanism for deep copies of the process instance data. probably that will imply an extension of the ModuleInstance interface (a module interface is an extension of a process instance for a perticular module) regards, tom. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922034#3922034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922034 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: When deploy mdb,durable attribute is failure,,,
Hi, the problem is that Jboss (4.0.3 SP1) is not setting the subsriber-id and subscription-id by default (the current implementation returns null values). You can specifiy this ID´s in your jboss.xml. | message-driven | ejb-nameRemoteDurableTopicTest/ejb-name | destination-jndi-nametopic/myTestTopic/destination-jndi-name | mdb-subscriber-idSubscriberID_NY_STATION_1/mdb-subscriber-id | mdb-subscription-idSUBSRICPTION_NO_1/mdb-subscription-id | invoker-bindings | invoker | invoker-proxy-binding-namemy-mdb-invoker/invoker-proxy-binding-name | /invoker | /invoker-bindings | /message-driven | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922035#3922035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922035 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Does JBOSS sell email addresses?
Since registering with JBoss using a unique email address I have started to receive the usual spam for meds, pre-approved loans and the usual crap these morons think people will buy. Is there public access to the details of those registered with JBoss or is the organisation active in selling email details. This is the first time I have been active in forums so the only way I can see for anyone to get my jboss contact email address is if the organisation actively markets them. Needless to say I take a very dim view on such activity. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922037#3922037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922037 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Does JBOSS sell email addresses?
I don't receive any spam e-mails on the email address that I've registered with JBoss... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922039#3922039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922039 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - stateful session bean and beforeCompletion
Hello! I try to make sending an email transactional. In a stateless session bean I create a Mail-Entity instance (a data entry that persists the mail). In the server log an insert statment is logged. When I init a stateful session bean with the mail data. The stateful session implements SessionSynchronization and I send in the beforeCompletion method the mail. In the same method I update the Mail-Entity with the sending date. The problem is that this update does not happen (no update statment in server log). This runs all in the same transaction. Is this a configuration problem? I use JBoss 4.02 on Java 5.0. Apropos creating new Entity Bean instances works in beforeCompletion! regards Sven View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922040#3922040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922040 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Does JBOSS sell email addresses?
Do you mean that you receive spam on [EMAIL PROTECTED] ? The email you chose as username ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922041#3922041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922041 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Does JBOSS sell email addresses?
Hi guys, I can confirm that I recieve spam against the email address I registered with Jboss and regrettably use as a user name. I acknowledge that I probably should have used something else for the username, but I'm still puzzled as I have never before today contacted a forum and seldom have I logged in, thus exposing myself on the list of active users. It is no big deal as my spam software normally takes care of the unwanted mail, but I was interested in knowing if it was something done deliberately or something happening as the result of some form of email harvesting that I have inadvertantly exposed my self to. Any advice most welcome. Best regards Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922042#3922042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922042 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Does JBOSS sell email addresses?
You probably got your email address harvested on this page, a day you logged on: http://www.jboss.com/index.html?module=userop=whosonline I don't see any other place it could be (since you didn't post before and didn't participate to the Wiki) Such companies don't buy their email addresses to companies like ours but to companies like the one who harvested the active member page (unless they do the harvesting themself) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922043#3922043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922043 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - clustering
Hello, Why is the partition name part of the ejb-clustering annotation? Suppose there are three clusters: one for integration, one for test, one for production and each has a distinct partition name. It would not be possible to 'move' the application from integration to test without changing the code. Thanx, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922044#3922044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922044 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Configuration
The issue is whenever the application invokes castMessage on an instance of RpcDispatcher , then handler does'nt get invoked in all the other nodes. This solution was working in our qa environment but not working in our prod env. The following is the config UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE We rolled out a jgroups cache based propogation solution in production. This solution was working in our qa environment. But unfortunately the solution is not working in production. I am using the following configuration string UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15): PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;): MERGE2(min_interval=100;max_interval=200): FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5): pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true): pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true): UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true): pbcast.GMS:VIEW_ENFORCER:QUEUE From the below log messages I can see every node is seeing the other nodes. When I turn on debug for jgroups I can see the following messages in the log file. [org.jgroups.protocols.pbcast.STABLE] received digest xx.xx.105.65:33163#5 (5), xx.xx.105.67:33020#0 (0), xx.xx.105.69:33018#2 (2), xx.xx.105.71:32975#3 (3) from xx.xx.105.69:33018 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,868 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] received (mcast) 51 bytes from /xx.xx.105.65:33166 (size=51 bytes) 2006-02-01 14:00:34,868 DEBUG [org.jgroups.protocols.UDP] message is [dst: 228.8.8.8:7600, src: xx.xx.105.65:33165 (2 headers), size = 0 bytes], headers are {UDP=[UDP:channel_name=dictionary], PING=[PING: type=GET_MBRS_REQ, arg=null]} 2006-02-01 14:00:34,869 WARN [org.jgroups.protocols.UDP] discarded message from different group (dictionary). Sender was xx.xx.105.65:33165 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.PING] received GET_MBRS_REQ from xx.xx.105.65:33165, sending response [PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]] 2006-02-01 14:00:34,869 DEBUG [org.jgroups.protocols.UDP] sending msg to xx.xx.105.65:33165 (src=xx.xx.105.67:33023), headers are {PING=[PING: type=GET_MBRS_RSP, arg=[own_addr=xx.xx.105.67:33023, coord_addr=xx.xx.105.65:33165, is_server=true]], UDP=[UDP:channel_name=dictionary]} View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922046#3922046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922046 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: RC4 or RC5
Then shouldn't it be listed as a sticky in this thread, and have links in the download section of this site? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922048#3922048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922048 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Layout Strategy - TARGET PORTLET
When I click on a portlet decoration to either change mode or window state, I get null as the context.getTargetPortlet() Is this a bug in version 2.2.1 ? If not, when does it return something? thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922049#3922049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922049 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Datasource EJB3
Hi, I would like to package my data source definition together with my application EAR file. So I created a SAR as part of the EAR, containing an MBean. When the MBean starts, I invoke deploy on the MainDeployer via JMX, pointing to a -ds.xml file that I constructed at run-time. The problem here is that for somehow reason the data source is not yet visible for the EJB3's when they get loaded... and thus the thing explodes. How can I package my data source definition together with my application EAR so that it works? It's really important for me that I can package my application in one self-configuring EAR file. Regards, Frank. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922050#3922050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922050 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: RC4 or RC5
The links on the site says RC 4 also: http://www.jboss.com/products/list/downloads#ejb3 Regards Peter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922051#3922051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922051 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Can i run JBoss only using JRE with tools.jar or i need JDK
Hi Guys!!! It would be a great help for me if you can answer this question. So... my question is: is it possible to run jboss using only JRE together with tools.jar. I mean my environment variable JAVA_HOME points to JRE folder not JDK folder. But in the %JAVA_HOME%\lib folder i placed file tools.jar to satisfy this requirement from run.bat: set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar. I know it is crazy question, but if you can give me yours comments!! - it will be great deal for me. Thanks in advance!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922052#3922052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922052 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Help with login-config.xml configuration
Can this even be done? Surely. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922053#3922053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922053 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Grid Services in JBossWS
I want to know about the JBossWS project future developments. Are there WSRF compliant webservices implementation inside JBossWS project. If not then when it will be coming? regards kensky View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922054#3922054 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922054 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB3 RC5 JNDI lookup in JSF WAR
Hi, Since RC4 there is the JNDI ear prefixing which is very useful to prevent name clashes. But, when I try to call an EJB3 from within my JSF based WAR I have to do very crazy things to find out about the runtime name of the ear file. This because my ear file has a format like EARNAME-A_VERSION.ear. The A_VERSION is something I don't feel like hard coding into my JSF BB's, I need to find out about it at runtime. Isn't there something like an EAR local JNDI tree which all WARs within the same EAR can use to find their EAR local stuff? I already tried via 'java:comp', but this is not populated with the EJB3 beans at all. BTW: the runtime full EAR name detection code looks like (anyone, please, how do I avoid such f*cking things): private static final String EAR_PREFIX = myapplication-deploy; private T getEJB3(Class clazz) { try { ClassLoader classLoader = Thread.currentThread() .getContextClassLoader(); String fullEARPrefix = ; if (classLoader instanceof URLClassLoader) { URLClassLoader urlClassLoader = (URLClassLoader) classLoader; URL[] urls = urlClassLoader.getURLs(); for (URL url : urls) { String path = url.getPath(); if (path.matches(.* + EAR_PREFIX + .*\\.ear.*)) { fullEARPrefix = path.substring( path.indexOf(EAR_PREFIX), path.indexOf(.ear)); break; } } } LOG.debug(full EAR prefix: + fullEARPrefix); InitialContext initialContext = new InitialContext(); T instance = (T) initialContext.lookup(fullEARPrefix + clazz.getSimpleName() + /local); return instance; } catch (NamingException e) { throw new RuntimeException(naming error: + e.getMessage(), e); } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922055#3922055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922055 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Grid Services in JBossWS
Why would you want to use WS-RF, let alone implement it? If you are really interested in distributed objects, then use something like CORBA or even RMI if you want pure Java. If you want to use Web Services and leverage SOA, then don't go down the WS-RF route. Check out http://www.idealliance.org/proceedings/xml05/ship/54/xml2005-wssessions.HTML and http://www.webservices.org/weblog/mark_little/next_stop_the_twilight_zone as examples. Although WS-RF is going to become a standard, I wouldn't like to say whether it will see a lot of take up in the market. So far, only really IBM has backed it. Now I know there's backing in the GGF - afterall, that's where it all started. However, now that Microsoft is moving into the Grid space in a big way, I think we'll see some changes in the next few weeks and months that may sideline some of this stuff. Plus, you can do it better anyway (check out http://webservices.sys-con.com/read/44675.htm). So unless you've got interoperability requirements (like someone else has gone and implemented the spec and you need to interact with them), I'd suggest taking a step back and look at alternatives that don't blow the benefits of Web Services/SOA out of the water. Mark. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922056#3922056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922056 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Myfaces Tomahawk Components in JBOss Portal ?
Hi ! I want to use some of the Tomahawk Components in my JBoss Portal. Somebody said that this is not supported. Is he right ? thanks sessa View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922057#3922057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922057 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Obtaining user data
Hi I'm using JBossSX security infrastructure on my webapp. I specified ClientLoginModule and DatabaseServerLoginModule in my login-config.xml file. I'm authenticating users with the form authentication method. Everything seems to work allright - the resources are secured correctly. The issue is - how do I obtain authenticated user data? I want to personalize the web page depending on the roles assigned to that user. How do I access the user roles from the JSP level? tzablock View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922058#3922058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922058 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: No ClassLoaders found for Service
Thanks to all who provided help. While the solution probably indicates either a bug or oversight in JBoss, well, thats the way it goes I guess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922060#3922060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922060 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Passivate problem + SerializationException
Hi., I'm getting the passivate problem (sometimes after 5 mins / 10 mins) together with Serialization exception. Here's the stack trace: | 15:25:57,140 ERROR [SimpleStatefulCache] problem passivation thread | javax.ejb.EJBException: Could not passivate; failed to save state | at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:354) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:191) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:127) | Caused by: org.jboss.serial.exception.SerializationException | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:46) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.java:260) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81) | Any help is highly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922061#3922061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922061 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Datasource EJB3
this should be fixed in the latest RC4/RC5 releases. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922062#3922062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922062 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3 RC5 JNDI lookup in JSF WAR
why don't you just define your own jndi mappings for the EJBs within jboss.xml or @Local/RemoteBinding? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922063#3922063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922063 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3 RC5 JNDI lookup in JSF WAR
[EMAIL PROTECTED] wrote : why don't you just define your own jndi mappings for the EJBs within jboss.xml or @Local/RemoteBinding? If I use @Local/RemoteBinding I lose the EAR prefix behaviour. I need to keep the EAR prefix because I have to deploy the same application multiple times, each time with a different EAR filename. Thus I need the EAR prefixes to scope my applications, but I don't want to have the prefix all over my WAR servlets. It should (IMHO) be possible to do an 'EAR scoped JNDI lookup' without too much pain. Frank. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922065#3922065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922065 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Passivate problem + SerializationException
Hi., I'm getting passivate problem (sometimes after 5 mins / 10 mins) together with Serialization exception. Here's the stack trace: Code: | | 15:25:57,140 ERROR [SimpleStatefulCache] problem passivation thread | javax.ejb.EJBException: Could not passivate; failed to save state | at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessi | onFilePersistenceManager.java:354) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:191) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java: | 127) | Caused by: org.jboss.serial.exception.SerializationException | at org.jboss.serial.persister.PrivateWritePersister.writeData(PrivateWritePersister.java:83) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory. | java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.jav | a:260) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81) | at org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:46) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory. | java:117) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerOutput.writeObject(DataContainer.jav | a:260) | at org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:81) | | Any help is highly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922066#3922066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922066 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ServiceLifeCycle
Typically so does the jaxrpc based imlementations on a servlet. At this point we don't want to be committed to a full J2EE server, unless we have too. I am also wanting to stay pretty portable across the app servers. At this point, given many of the other shortcomings that we have ran into with bugs, I think it will be easier to use GlassFish or the Sun App Server. They both resolved the three seperate bugs that we were waiting on. including this issue. In the end I want to ensure our war files can run on any of the app servers. Tomcat and Axis are not there, which is why JBoss split off. I think JBoss WS is just early in it's lifecycle and will work these issues out as well. I do appreciate the idea, we had considered it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922069#3922069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922069 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Filter on Seam application
Perhaps you could chain the SeamServletFilter in before your filter to initialise all of the Seam stuff before it gets to your custom filter. Don't know if this will work but just a thought. James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922073#3922073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922073 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Passivate problem + SerializationException
Hi First thing to check is that all of your entity and SFSB are Serializable, and have defined a serialVersionUID. James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922071#3922071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922071 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3 RC5 JNDI lookup in JSF WAR
Ok, I think this is something we could do. Let me move this thread to EJB3 Design to see if it is something we *want* to do. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922068#3922068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922068 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Program execute at every hour
Hi, Are there any settings in JBoss which fires my program to run every hour or every two hours. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922059#3922059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922059 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - schema export unsuccessful You cannot commit during a manage
Hi , I am getting this error when I am starting my jboss application server: 10:26:15,093 ERROR [SchemaExport] schema export unsuccessful java.sql.SQLException: You cannot commit during a managed transaction! at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcComm it(BaseWrapperManagedConnection.java:432) at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConne ction.java:331) at org.hibernate.tool.hbm2ddl.SchemaExport$ProviderConnectionHelper.getC onnection(SchemaExport.java:470) at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:183 ) at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:135) at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSchema(Ses sionFactoryBinder.java:377) at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(Ses sionFactoryBinder.java:280) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 81) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo ssService.java:73) My datasource file is : ?xml version=1.0 encoding=UTF-8? local-tx-datasource jndi-namePortalDS/jndi-name connection-urljdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false/connection-url driver-classorg.gjt.mm.mysql.Driver/driver-class user-nameportal/user-name portalpassword /local-tx-datasource My hibernate configuration file is : ?xml version='1.0' encoding='utf-8'? !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; hibernate-configuration session-factory java:PortalDS false org.hibernate.cache.EhCacheProvider true !-- Force the dialect instead of using autodetection -- !-- org.hibernate.dialect.PostgreSQLDialect -- org.hibernate.dialect.MySQLDialect !-- Mapping files -- /session-factory /hibernate-configuration I am using jboss application server version 4.0.3 and jboss-portal-2.2.0 and mysql version 4.1. Help me in this regard. Qaiser View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922075#3922075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922075 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: which version of jbosscache with JDK 1.3?
Yes, you can do that. Or you can grab it from cvs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922078#3922078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922078 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: ClassNotFoundException in PrimaryKey object
No, I don't think there is a Jira issue associated with it. -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922079#3922079 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922079 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Obtaining user data
Well the problem persists... I'm using standard installation of JBoss 4.0.3 EJB3 version. I didn't change anything about the container. Using the first option: request.getUserPrincipal() returned org.jboss.security.SimplePrincipal and this class doesn't supply me with getRoles() method. I'm quite confused about the second option though I'm interested in storing the subject data in the session rather than in the request - but still I can't understand how to do it...I'd like to have the subject stored in the HttpSession object and later on retreive the subject's principals and credentials... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922081#3922081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922081 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Grid Services in JBossWS
WSRF is being used in all grid middleware technologies, even though it is not considered as an open standard, but grid founders and other vendors use it as a standard. In my scenario I want to write some interoperable services or ejb's(service oriented) that will be deployed on any of the present grid middlewares. So far, in terms of my requirement I want to use a high quality open source middle ware(AS). For which I am recommended to use JBoss as an application server. I thought if it provides some implementation and deployment of Grid Services. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922082#3922082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922082 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Injecting doesn't work
You are missing @Interceptors(SeamInterceptor.class). See the docs and examples. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922083#3922083 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922083 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Injecting doesn't work
Try @Intercept(ALWAYS), or upgrade to CVS version of Seam, where that is the new default. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922084#3922084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922084 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Have to look for seam alternative :(
I don't understand. EJB3 already gives you a framework for remoteable components. No, it will not have Seam's nice contextual stuff, but it has virtually everything that any other framework has... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922085#3922085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922085 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Filter on Seam application
Yes, that ,might work. But if you do that, you should make sure you *don't* use SeamPhaseListener or subclasses. Personally I would avoid use of a servlet filter for this, and try to do the work in a phase listener. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922086#3922086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922086 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Grid Services in JBossWS
WS-RF is certainly not used in all grid middleware technologies. Far from it. Show me the Oracle or MSFT implementation? Show me where [EMAIL PROTECTED] uses it (that's probably the best and biggest example of a Grid around today). I think you're right to look at JBoss. But stay clear of WS-RF for now, until (and unless) it really does get adopted by everyone. There is a lot you can do with what currently exists and what is available everywhere. Take a look at http://www.arjuna.com/library/reports/2003-08-12-GAF-v1_0.pdf for instance: it's a little old now, but the principles are right: build on what everyone supports (basically WS-I compliance) and don't rush into something that only one or two vendors support, because chances are it won't be there in a couple of years time. Mark. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922087#3922087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922087 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Layout Strategy - ACTIVATED PORTLET ???????????
How do I know within the Strategy which portlet is activated? When I trace things under the debugger, even the HttpServerRequest never return the URL that has the window activated. How can I define a strtegy if I do not know which portlet was activated ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922088#3922088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922088 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Web Service Stack? What is it?
russray wrote : How do I check what modules are working within the application server? You can look at the JMX console: http://your server url/jmx-console russray wrote : what is the Web Service Stack? Web Service stacks are different implementations of what is needed to isolate web service related code from your application code. This includes stubs, skeletons and marshalling/unmarshalling code. JBossWS offers 2 different stacks: * ws4ee, which is based on Apache Axis and which will be phased out (access it at http://your server url/ws4ee) * jbossws, which is the new stack implemented from scratch (access it at http://your server url/jbossws) Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922089#3922089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922089 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Many to many plus additional value
Thanks Alximik, I suppose one will then get all the customers for a flight (or vice versa) straight from the relationship table. I am quite sure this may actually work. Thanks again. Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922090#3922090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922090 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBoss 4.0.2 JBPM 3.0.2
Hi...i run http://192.168.1.193:8080/jbpm in order to view the websale example ..and i don't see any user in the combobox to select ..and i insert some in the hsql database manually.. now it appears but i can't start New Process Execution does not appear any link to select..somebody knows why?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922091#3922091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922091 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Namespace qualified wsdl-port still not found
My wsdl-port names are qualified with a namespace, yet JBoss WS still cannot find them... | org.jboss.ws.WSException: Cannot find port in wsdl: {http://org.jboss.portal/wsrp}WSRPServiceDescriptionService | at org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:139) | at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:187) | at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99) | at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:65) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:175) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:92) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) | at $Proxy91.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:218) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:197) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922092#3922092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922092 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - How can I build jbossws14 from jboss-head?
I need fixes that are currently available only in CVS. How can I build jbossws14 from jboss-head? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922093#3922093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922093 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Message Driven Bean Pojo using JCA 1.5 inflow
Please can someone tell me how to create a MDB pojo which uses a jca 1.5 inflow resource adaptor. I followed the instrctions in section 6.2 of the JBoss EJB 3.0 Reference Documentation RC5-PDF but jboss always assumes that jms is being used. e.g. @javax.ejb.MessageDriven(name = MailMDB, activateConfig = { @ActivationConfigProperty(propertyName=messagingType, propertyValue=trevan.resource.MailMessageListener), @ActivationConfigProperty(propertyName=resourceAdaptorName, propertyValue=smtp.rar), @ActivationConfigProperty(propertyName=expression, propertyValue=test) }) public class MailMDBEJB3 implements MailMessageListener { The resource adapter works fine with a 2.1 MDB. Rgeards Trevor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922094#3922094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922094 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Defining which portlet handles requests by default
This works perfectly, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922095#3922095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922095 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Storing subject in the session
Hi I'm having this sort of issue - I'm using JBossSX infrastructure with ClientLoginModule and DatabaseServerLoginModule. I would like to have the logged user data available in the session. Can i do it without using the EJB? I would like to retreive the subject from HttpSession to obtain his roles and later on, personalize the web page look depending on his role set. Is it possible ? How can I do that? tzablock View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922097#3922097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922097 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: scheduler-service
I did the same way but for me, my class not even running! Could you help me how to run a scheduler which has to fire an event at every hour! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922098#3922098 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922098 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Dynamic Reload of JSP Edits
Okay, I figured this one out by digging into the $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml file. I'm very surprised there isn't more (easily accessible) documentation on this. I Googled searched on the JBoss wiki, looked through the 4.0.2 AS docs, etc... Anyway, I simply edited/added the servlet params below to the jsp servlet-name tag: init-param param-namedevelopment/param-name param-valuetrue/param-value /init-param init-param param-namemodificationTestInterval/param-name param-value0/param-value /init-param View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922101#3922101 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922101 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Composite keys of foreign keys
search the docs for @IdClass View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922102#3922102 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922102 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - JSP Save Not Showing
When I run JBossIDE, start the server (via Debug...) and deploy my EAR (via Deployment - Deploy to...), I can save a java file and then instantly see my change via reloading the browser. However, I cannot do this with a JSP (which seems rather backwards). If I save a JSP from within Eclipse/JBossIDE, I have to then Run Packing and redeploy the EAR. Am I doing something wrong? I'm deploying my EAR as exploded with an exploded WAR. I have my jbossweb-tomcat55.sar/conf/web.xml set up as a development environment to check each JSP everytime. Thus I can manually go to the deployment, edit a JSP and instantly see the change in a browser. I'm using JBossIDE-1.5-Bundle-win32.zip, JBoss 4.0.2, j2sjdk1.5.0_04 and WinXP. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922106#3922106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922106 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: JBoss 4.0.2 JBPM 3.0.2
Did you download the starter kit or the applications separately? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922107#3922107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922107 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Using an EJB as a client of a web service
I think that either somebody is not monitoring this other forum, our questions are misguided, or there is an answer that we just don't know how to find. Is there some way that somebody could please look into this? http://www.jboss.com/index.html?module=bbop=viewtopict=60187 Sorry to cross post, but I think there are a few people (I am one) who really need an answer. Thanks and have a good one! --Jeff View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922108#3922108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922108 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - user limitations
Forgive my explaination as I am new to jboss and not too web server savvy. My question is, in An apache to tomcat to jboss to sybase configuration. What are my limitations for user connections? I believe apache can serve 150 users with the default configuration ( httpd.conf ) and tomcat can handle x maxconnections based on the setting in jbossweb-tomcat41.sar/META-INF/jboss-service.xml. So is this stating that I can only have 150 connections to my application based on apache parameters? At the same time, sybase has a user connection limitation. If i allow for 1000 user connections to sybase and specify 1000 maxconnections in the jboss-server.xml could or would i do the same in apache? How's this all work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922111#3922111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922111 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: scheduler-service
hassanm wrote : Hi, I wrote a class to be executed as a scheduled service, and made an entry accordingly in scheduler-service.xml | ... | | Now one way I thought to solve the problem was to make scheduler-service start after deployment of application. Now does anyone know how to do that? | How is your application deployed? How is the SchedulableClass that you wrote deployed? I would suggest one of 2 solutions: | * In scheduler-service.xml, after the opening element and before the elements, put a depends element with your application/service's name, that contains your SchedulableClass, as is appears in your jmx-console. Something like: dependshassanm:service=SuperCoolApp/depends | * Package your SchedulableClass in a .jar and deploy it in the lib directory of your jboss configuration (all/default/whatever). | Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922112#3922112 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922112 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Can i run JBoss only using JRE with tools.jar or i need
I have no idea why you would do that but the best thing to do would be to try by yourself :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922113#3922113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922113 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] - Re: How to create a DB pool in JBoss??
If you have create a datasource, you have added a oracle-ds.xml (for instance) into your /deploy directory. This is the file you need to edit, adding a min-pool-sizewhatever/min-pool-size View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922114#3922114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922114 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Help! Cannot get a reference to the MBean server from a WAR
I?m trying to create and use my own cache in a clustered environment running under jboss web server. I am currently using JBossCache version 1.2.4 deployed as an mbean in JBoss 4.0.2, running under Java 1.5. I created a my-service.xml in the deploy folder to configure the mbean. My config file is as follows: | ?xml version=1.0 encoding=UTF-8? | | !-- == -- | !-- -- | !-- Customized TreeAopCache Service Configuration for API session Info Replication -- | !-- -- | !-- === -- | | server | | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/ | | !-- -- | !-- Defines TreeCacheAop as API cache -- | !-- -- | | mbean code=org.jboss.cache.TreeCache |name=jboss.cache:service=MyCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | | !-- | Configure the TransactionManager | -- | attribute name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute | | !-- | Isolation level : SERIALIZABLE | REPEATABLE_READ (default) | READ_COMMITTED | READ_UNCOMMITTED | NONE | -- | attribute name=IsolationLevelREPEATABLE_READ/attribute | | !-- | Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC | -- | attribute name=CacheModeREPL_SYNC/attribute | | !-- | Just used for async repl: use a replication queue | -- | attribute name=UseReplQueuefalse/attribute | | !-- | Replication interval for replication queue (in ms) | -- | attribute name=ReplQueueInterval0/attribute | | !-- | Max number of elements which trigger replication | -- | attribute name=ReplQueueMaxElements0/attribute | | !-- Name of cluster. Needs to be the same for all clusters, in order | to find each other | -- | attribute name=ClusterNameTreeCache-Cluster/attribute | | !-- JGroups protocol stack properties. Can also be a URL, | e.g. file:/home/bela/default.xml |attribute name=ClusterProperties/attribute | -- | | attribute name=ClusterConfig | !-- Use this for TCPIP -- | config | TCP bind_addr=IP_ADDRESS_1 start_port=7820 loopback=true/ | TCPPING initial_hosts=IP_ADDRESS_1[7820],IP_ADDRESS_2[7820] port_range=3 timeout=3500 | num_initial_members=1 up_thread=true down_thread=true/ | MERGE2 min_interval=5000 max_interval=1/ | FD shun=true timeout=2500 max_tries=5 up_thread=true down_thread=true/ | VERIFY_SUSPECT timeout=1500 down_thread=false up_thread=false/ | pbcast.NAKACK down_thread=true up_thread=true gc_lag=100 |retransmit_timeout=3000/ | pbcast.STABLE desired_avg_gossip=2 down_thread=false up_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=false | print_local_addr=true down_thread=true up_thread=true/ | pbcast.STATE_TRANSFER up_thread=true down_thread=true/ | /config | /attribute | | | !-- | Whether or not to fetch state on joining a cluster |-- | attribute name=FetchStateOnStartuptrue/attribute | | !-- | The max amount of time (in milliseconds) we wait until the | initial state (ie. the contents of the cache) are retrieved from | existing members in a clustered environment | -- | attribute name=InitialStateRetrievalTimeout5000/attribute | | !-- | Number of milliseconds to wait until all responses for a | synchronous call have been received. | -- | attribute name=SyncReplTimeout1/attribute | | !-- Max number of milliseconds to wait for a lock acquisition -- | attribute name=LockAcquisitionTimeout15000/attribute | | !-- Name of
[JBoss-user] [Beginners Corner] - Re: user limitations
To get a clearer picture here's how things are configured. Users hit a content switch that round robbins to 3 redhat servers each running apache web server. Those web servers reference another machine running 1 instance of jboss which has the maxconnections set to 1000 in the jbossweb-tomcat41.sar/META-INF/jboss-service.xml. This instance of jboss points to another server running Sybase dataserver. How many simultaneous users will this handle? Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922117#3922117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922117 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions
I have implemented your MBean solution and the dll's are being loaded, but the methods are not visible even from the MBean. All classes have the same class loader. I'm using JBOSS 4.0.1sp1. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922118#3922118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922118 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] - Re: Hibernate Locking Problem
This might come from wrong transaction demarcation between insert and select. Do you let JTA manage transactions or are you starting/committing/rollbacking them yourself with the Hibernate Transaction object ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922119#3922119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922119 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: user limitations
version information if necessary: $ /usr/sbin/httpd -version Server version: Apache/2.0.46 Server built: Nov 5 2004 10:58:21 jboss-3.2.3 ( tomcat came with this version of jboss. Not sure of the tomcat version) Redhat LInux ASE 3 Sybase ASE 12.5.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922120#3922120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922120 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: ClassNotFoundException in PrimaryKey object
I am sorry if I am missing something here. The issue mentioned in the Topic http://www.jboss.com/index.html?module=bbop=viewtopict=39881 is raising a similar issue. Did we find a solution to the ClassLoaders not found for custom PK issue? In the topic WT has talked of three options : 1.) Stop using custom pk objects. In this case it shouldn't have any problems loading from the java.lang package. 2.) Deploy the pks seperately in the server's lib/ dir. I would like our application to be self contained inside the ear, so this isn't ideal. 3.) Stop using a scoped classloader. Not sure about this one. I deployed all my PK objects under all/lib folder and everything worked fine. Is there a way we can keep PK objects with regular EARs that go in all/farm so that these classes can also be hot deployed? By the way, I am using JBoss 4.0.3 Please suggset. Thanks, Haseen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922115#3922115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922115 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Forgot to mention that the code to persist process instance starts a transaction, saves process instance and commits the transaction. So the signal is outside of transaction. I do not think this should matter as I have seen same problem when the signal is with in transaction. Raj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922122#3922122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922122 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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] - Problem with the InformixDS mapping?
Hi, I'm using JBoss 4.0.2 running on Java 1.5. Database and JDBC driver information is: Informix Dynamic Server 9.21.HC4 IBM Informix JDBC Driver for IBM Informix Dynamic Server 3.00.JC3 I want to install the EJBCA Certificate Authority and I'm in the task of porting the Entity beans to Informix, but I found that the default datatype mappings on the file standardjbosscmp-jdbc.xml to be not quite precise (I'm posting this to see if someone can tell me if I'm doing something wrong or not). First, I changed the default Informix BLOB mapping that is: java-typejava.lang.Object/java-type jdbc-typeBLOB/jdbc-type sql-typeBLOB/sql-type to this: java-typejava.lang.Object/java-type jdbc-typeVARBINARY/jdbc-type sql-typeBLOB/sql-type because it throwed me NPE when trying read the data from database. This worked but now I have a CMP entity bean that has a boolean property but it throws me an exception when I want to Create it: 2006-02-07 14:49:37,027 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.AccessRulesData] Executing SQL: INSERT INTO accessrulesdata (pK, accessRule, rule, isRecursive, AdminGroupData_accessRules) VALUES (?, ?, ?, ?, ?) 2006-02-07 14:49:37,177 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.AccessRulesData] Could not create entity java.sql.SQLException: No cast from boolean to smallint. at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3204) at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3518) at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2353) at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2269) at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:775) at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:291) at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1253) at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java:408) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:316) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.executeInsert(JDBCAbstractCreateCommand.java:352) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:308) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:138) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572) at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266) at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508) at org.jboss.ejb.Container.invoke(Container.java:894)
[JBoss-user] [JBoss Seam] - Cannot Instantiate seam component O_o !!
I was working on a project with jboss-4.0.3SP1 and a old version of seam (3 month ago) the project has some query stuff nicely working with datamodel and facelets, the thing is that we updated to jboss-4.0.4RC1 the last seam version 1.0 beta 2 , to try it. The problem now is that the action buttons of my pages cannot call the actions methods linked to them. So I made into the proyect a simple class with a simple xhtml page in order to find the trouble. They go like this: The Page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets; xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / TEST h:form h:commandButton class=button id=testButton value=Test action=#{test.test} / /h:form My stateless bean | package py.com.caro.seam; | | import javax.ejb.Interceptors; | import javax.ejb.Stateless; | | import org.jboss.seam.annotations.*; | import org.jboss.seam.ejb.SeamInterceptor; | | /** | * @author carolina | * | */ | @Stateless | @Name(test) | @Interceptors(SeamInterceptor.class) | public class TestAction implements Test | { | | | public String test() | { |return success; | } | } | | And its interface | | package py.com.caro.seam; | | import javax.ejb.Local; | | @Local | public interface Test | { | | public String test(); | | } | And as in all the others pages, I get this error when I try to execute that action button: ERROR [SeamExceptionFilter] uncaught exception handled by Seam javax.servlet.ServletException: Error calling action method of component with id _id0:test at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 14:58:30,625 INFO [SeamExceptionFilter] killing transaction 14:58:30,625 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id0:test at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
[JBoss-user] [Beginners Corner] - ScheduleManager Bug
This may not be a good posting for Beginners Corner, but I sure wasn't able to find another forum that seemed like a good fit. Here goes. We are using the org.jboss.varia.scheduler.ScheduleManager class, and have been getting ClassCastExceptions. Looking at the code, I can see why. There are a number of places where there is code like this: | Iterator i = mSchedules.entrySet().iterator(); | while (i.hasNext()) { | ScheduleInstance lInstance = (ScheduleInstance) i.next(); | ... | Unless the mSchedules map is empty, this code is going to throw a ClassCastException every time, because the entrySet method on a Map produces a set of Map.Entry objects. The code should say something line the following instead: | Iterator i = mSchedules.values().iterator(); | while (i.hasNext()) { | ScheduleInstance lInstance = (ScheduleInstance) i.next(); | ... | If you need the key and the value, you would do something like: | Iterator i = mSchedules.entrySet().iterator(); | while (i.hasNext()) { | Map.Entry entry = (Map.Entry) i.next(); | Integer id = (Integer) entry.getKey(); | ScheduleInstance lInstance = (ScheduleInstance) entry.getValue(); | ... | I would be happy to submit a bug report, if someone could (politely) point me to the right place to do so. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922127#3922127 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922127 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!
Sorry the Title of this post is wrong :S Should be : Uncaught exception handled by Seam O_o !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922128#3922128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922128 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Layout Strategy - ACTIVATED PORTLET ???????????
Well, this is a bug in 2.2.1 : getTargetPortlet() returns null !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922129#3922129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922129 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - BPEL - abnormal end of process
I have a BPEL process that use to end abnormally, somewhere in the middle of a sequence and no reason (or exception) was logged - I can see just the process end event there. The use case is: - have a global message type variable, store the response of some invoke activity (the message is multi-part, each is a string) - after an unrelated reply activity try to access a property part using bpel:getVariableData You will notice in log file how end process event is sent immediately after assign (even though there a lot of activities that follow). Sometimes, you may even have an exception logged, but when is not, it is very disturbing to see your process end without a cause - it takes a huge amount of time to debug. How do I know that is the cause? Simple, immediately after the first invoke, store the message part in a type variable and use that instead later on. The process ends successfully. Please let me know if you want more details, but I cannot share the BPEL code with you. Regards, AA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922130#3922130 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922130 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!
Can you put a breakpoint here: Component.java:1054 and tell us what kind of object result is? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922131#3922131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922131 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - HOw to upload a servlet to JBoss container when itself is st
I want to upload certain servlet when my JBoss applicatoin server is starting up. How can I do it? Thanks for helping me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922132#3922132 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922132 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Beta Relase of 2.4 Portal
2.4 Portal realease was scheduled for April 2006. Is that the schedule and if so, when are you planning to release the beta version View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922133#3922133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922133 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Which JBoss to Use for Web Services?
Hi Everyone, My team and I are trying to decide the best SOA stack to use for building our web services and wanted to get some guidance from the community regarding whether we should use JBossWS today or fall back and use JBoss 4.0.3 and manually integrate WSIF, jUDDI together. We are Java based and plan to focus on implementing all services using Java in a J2EE environment. We have been attempting to use JBoss 4.0.3sp1 and customize jUDDI as well as WSIF together to form our initial web services stack but we have been encountering problems integrating these technologies. We have also noticed that there is not alot of documentation available on how to use WSIF together with jUDDI as well as for each respective technology on its own. JBossWS looks like an attractive way to go given all of it's standards support and especially support for JSR-181 but we see that there are still several major open issues. We can afford to start now with JBossWS assuming that there will be a stable production release available within the first half of 06. Here are my specific questions: 1. Should we use JBossWS today despite it's immaturity or continue to use JBoss 4.0.3sp1 and manually integrate WSIF and jUDDI together? 2. Does JBossWS provide us an integrated collection of services components like jUDDI and WSIF out of the box? Will we still need to integrate these tools together? 3. Does the use of the JBoss SOAP implementation provide us advantages over Axis? 4. Any suggestions on how to best integrate jUDDI and WSIF? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922134#3922134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922134 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!
ok ill take a look now View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922135#3922135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922135 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: error deploying seam-booking example...
I just tested the current CVS of booking app against the current (4.0.4rc1) CVS of JBoss, and all was working fine. I have not tried to install the EJB3 release in JBoss 4.0.3SP1, but I understood that Thomas had tried that out and had no problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922136#3922136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922136 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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: DTMManagerDefault.getDTM(int) line: 628 source not found
Hello.. Could you provide more details about your environment so we could try to replicate your error? - What version of eclipse are you running? (Are you just running the bundled Eclipse 3.1.1?) - What version of the JVM is JBoss running with? Are you sure it's running with a JDK and not a JRE? - What jboss configuration are you using? Is it a standard configuration? (i.e. default, all?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922137#3922137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922137 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=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: JSP Save Not Showing
Hello, unfortunately you are doing nothing wrong =). This is a known drawback at the moment, and is on our feature request list. You can track it/vote for it here: http://jira.jboss.com/jira/browse/JBIDE-264 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922138#3922138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922138 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user