[JBoss-user] [Installation, Configuration & Deployment] - Re: War unable to find classes from common.jar in ear
sorry, but I am not getting your point plz explain it in more detail. Also i have another problem How will I set a my class path to a jar within a jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948599#3948599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948599 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: JBPM Designer giving NullPointerException
You can temporarily uninstall XML Buddy and it works. It's kind of an annoying work around because XML Buddy is a really nice plugin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948600#3948600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948600 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Known Bug: conflict with XML Buddy
This is a known bug, I guess, and its a conflict with XML Buddy: http://jira.jboss.com/jira/browse/JBPM-587 It's marked as "workaround exists" but there is no URL listed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948598#3948598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948598 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: GPD 3.0.9.2 Available
I swear I'm not drunkbut after I closed the Processes and reopened them, it stopped doing the annoying check box thingso I don't know, weird. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948597#3948597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948597 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: I think I shut JBoss down incorrectly.
Hello, Check whether any jboss instance is running or not by using the commands provided below. #ps -exf | grep -i jboss (or) #ps -exf | grep -i java If any instance of jboss is still running, kill that process. Also please check you have proper access rights to that directory. -Thanks, Visolve JBoss Team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948595#3948595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948595 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheListener doesn't receive all cache events
If you don't want to expose the cache, pass an object that talks to the cache and exposes the API you need. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948594#3948594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948594 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBPM Designer giving NullPointerException
Hello, I am attempting to evaluate jBPM 3.1 and running into an issue installing the Designer into Eclipse. The first problem was that the starter kit installation instructions assume that I will be installing Elclipse for the first time. This assumption was false in my case (and I suspect in most cases). To work around this, I read: jbpm-starters-kit-3.1.1/jbpm-designer/jbpm-gpd-feature/readme.html and copied the 'features' and 'plugins' directories into my eclipse installation. Upon starting Eclipse, I was able to create a new Process Project, as expected. However when I right-click on a process definition and select "Open With->jBPM Graphical Process Designer" I recieve an "Unsupported Content Type" dialog, and a message "Unable to create this part due to an internal error. Reason for the failure: An unexpected error was thrown." The editor allows me to see the NullPointerException. Here is the file I tried this on: ${myproject}/processes/simple/processdefinition.xml Obviously my workaround is not sufficient. Can someone please provide instructions on installing Designer into an already-installed Eclipse? Thank you. Stack trace and Eclipse configuration follows. Here is the full stack trace: java.lang.NullPointerException at org.jbpm.ui.editor.DesignerContentProvider.addProcessDiagramDimension(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.initInput(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.init(Unknown Source) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152) at org.jbpm.ui.editor.DesignerEditor.addGraphPage(Unknown Source) at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:269) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.add(PartStack.java:442) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:758) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2360) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295) at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268) at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279) at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271) at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.ui.internal.Workbench.ru
[JBoss-user] [Beginners Corner] - Re: JBOSS Datasource
Hello, Sorry, we coludn't get you. The http://jdbc.postgresql.org/download.html page contains only the jar files in JDBC3 column for all the postgres versions. We couldn't find where you get the zip file instead of jar file. Download the jdbc jar from http://jdbc.postgresql.org/download/postgresql-8.2dev-503.jdbc3.jar and place the downloaded file in the server/default/lib. Regards, ViSolve JBoss Team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948592#3948592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948592 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - SubProcess Logging
I'm trying to work with the jBPM logging to provide process details for a customer. I know begging is frowned upon, but I really really need some enlightenment here. I want to get the full trace of the process from the LoggingSession. However, when I get the logs for the main super process, I can see no indication that a sub process was created. The sub process executed, and its logs are in the database, but I have no idea how to actually get at them. I can see a TransitionLog where it goes to my Process State, but then the next thing I see basically is the signal leaving the Process State and going to the next node in the process. I tried to test the destination node in the TransitionLog to see if it is an instanceof a ProcessState, but it's not, it's some CGLIB thing (org.jbpm.graph.def.Node$$EnhancerByCGLIB$$46898e07). The only other solution I can think of is to set a process variable in the super process from the sub process that holds that sub process' ID and then key off of the Variableinstance.StringUpdateLog to grab the ID and go get the process' logs. *sigh* I really don't want to do that, and I have to think there is a way to do what I want...but alas, the solution eludes me. Thanks for any help that anyone can offer. This is in jBPM 3.1.1. by the way. -David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948591#3948591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948591 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...
Thank you Emmanuel. The following does in fact work for me. private Long id; | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_coupling_spec") | @Id | @SequenceGenerator(name = "seq_coupling_spec", sequenceName = "seq_coupling_spec", allocationSize=1) | public Long getId() { return this.id; } | public void setId(Long id) { this.id = id; } Could you please tell me why 1 is not the default or allocationSize a required parameter? If this is not specified it seems to ignore the entire tag. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948590#3948590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948590 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheListener doesn't receive all cache events
You guessed right... So that means I have to pass a reference to the TreeCache object instead? The nice thing of being able to just pass the Node is that the class doesn't have to worry about the location in the tree. Now I'll need to pass the Fqn of the branch as well as a reference point. Because I didn't want the whole tree exposed in the sub class, just the branch it's allowed to use. Is that correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948589#3948589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948589 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Performing a Global Transaction on multiple EMs
Hi All, I have a use case where the application has to complete a global transaction by calling various components. Each component maintains its own EnityManagerFactory and persists data [using a JPA provider]. Would it be possible to commit/rollback transactions globally on the multiple EntityManagers., i.e., if any one component's EM fails would the application [assuming running on a managed environment] be able to rollback other EM operations that have been performed on the database so far?. I was looking into the JBoss Trailblazer - it speaks of a single EntityManager using a session bean. Any reply would be appreciated. Thanks Karthik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948588#3948588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948588 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheListener doesn't receive all cache events
>From what you wrote I'm guessing that the other class directly manipulated the >Node object to do its update, rather than calling cache.put(). You'll only get notifications if operations are performed on the cache. Directly manipulating Node objects will bypass all the logic that results in things like notifications, replication, locking, etc. In 2.0 we are going to change the JBossCache API won't even expose the Node object so people won't be tempted to bypass the cache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948587#3948587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948587 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: 4.0.4.CR2 => 4.0.4.GA @SequenceGenerator now ignored...
@SequenceGenerator(allocationSize=1) is the way to do it property View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948585#3948585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948585 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - TreeCacheListener doesn't receive all cache events
I have a class that creates a TreeCache and registers a TreeCacheListener. All nodes created in this class trigger an event. But when I pass a Node object to another class and that one adds/updates a node I don't get the event (but it does end up in the tree). Is there a way to get all events, regardless of which object adds/updates a node? I'm new to this forum (but did search all docos and forums for a solution to my issue), so let me know if you need any code snippets or other info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948584#3948584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948584 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ApplicationException in ejb-jar.xml
I've opened a JIRA task for this issue. Thanks. http://jira.jboss.com/jira/browse/EJBTHREE-611 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948583#3948583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948583 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - CMS portlet - crush :(
Hi, Lately I`ve used cms portlet from JBoss Portal and i have a question about it. When I try to access to folder or file witch no exist (i send modified request with where folder path was changed to not existing folder) the portlet throw an exception(pathNotFoundException) and say me good bye;) So portlet is unstable, what from security site is very bad behaviour. I`m using version 2.0. Have u any idea how resolve this problem? Maybe I should catch this exception in a source code? reg. MB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948582#3948582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948582 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: DeploymentException: Trying to install an already regist
I removed the offending mysql-ds.xml file from the jboss-hibernate.deployer dir and restarted the server. It now picks up the file from the deploy dir as expected. I have not yet seen the file getting copied into the jboss-hibernate.deployer this time, but I'll lookout for it in case it happens again to find what causes that (if it does again). Once again, thanks for your very useful help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948581#3948581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948581 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Can I add another lib directory to the server for static jar
Does anyone know if there is a configuration file in JBoss 4.0.4GA that will allow me to add another 'lib' directory to my desired server configuration? Our co. has a large number of third-party jars that our application relies on and I'd prefer not to copy them into the standard server lib dir. We have several ejb3 files we'd like to deploy, but they depend on the third-party stuff - which would typically require us to copy the static jars into the servers lib folder and then deploy the ejb3's The the number of static jars we rely on is subject to frequent change. Typically, a subsystem developer will require a jar, and put it into our development 'jar pool' - At deployment time we have been copying all of these into the servers lib dir - The problem is that when a jar is no longer needed, we need a way to delete it from the servers lib dir. I really don't want to have to maintain (in ant) an exact list of these jars so that we can 'clean' the servers lib dir ocassionally. It will more often than not be out-of-date and cause problems. A better solution for us would be to have another 'lib' folder that the server draws upon, along with the standard server lib folder. I if had this directory then I could delete everything within it before deployment to prevent clutter-n-conflicts. Thanks, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948580#3948580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948580 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Q on JBoss MBean error
I used the Hibernate Tools to build an Seam App and deployed it to JBOSS with ejb3 profile. The following error is in the JBOSS startup process. 16:13:54,624 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=seama pp.ear,jar=seamapp.ejb3,name=EmployeeEditorBean,service=EJB3 with dependencies: 16:13:54,634 WARN [ServiceController] Problem starting service jboss.j2ee:ear=s eamapp.ear,jar=seamapp.ejb3,name=EmployeeEditorBean,service=EJB3 java.lang.NullPointerException at org.jboss.ejb3.stateful.StatefulRemoveFactory.createPerJoinpoint(Stat efulRemoveFactory.java:56) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948579#3948579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948579 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: An exception or error occurred in the container during t
Thank you very much . I will try it . Shi Lei from China View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948578#3948578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948578 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: GPD 3.0.9.2 Available
It's even worse than I thought. It appears to reset all those check boxes every time I save a Java file too (which means it could happen when I save any type of file I guess, but I don't want to spend the time to figure that out right now). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948577#3948577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948577 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: TrailBlazer EJB 3.0 in JBoss 4.0.4GA
javax.ejb.InvocationContext was recently moved to javax.interceptor.InvocationContext View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948576#3948576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948576 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: GPD 3.0.9.2 Available
Hmm, I thought everything seemed cool with this release, but I just realized that in the Deployment tab, the plugin seems to select every single class that is under the same directory as any class that is referenced by the process. You can change the selection, but then it just goes right back the next time you edit the process and save it. Is anyone else noticing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948575#3948575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948575 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem using TimerService
Please add a feature request to JIRA and assign to me. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948574#3948574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948574 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: BPEL Descriptor Question
BPEL process definitions rely on WSDL abstract definitions (messages and port types) only. Just as in EJB development, the involved parties agree on a service interface; each party gets a copy of the interface documents and starts working separately on getting their side working. Pointing to a deployed document from bpel-definition.xml is possible, but inconvenient for the very reason you mention. A better practice is downloading the document and removing the binding and service elements. In the case of bpel-application.xml, you need a registry (such as a UDDI server) to shield you from changes in the partner endpoint addresses. That's in our roadmap but not available yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948573#3948573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948573 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Building without cleaning a directory
I have 2 projects in my Eclipse IDE that are both required to run our application, but should be managed as separate projects. To run them together, the build output of our .java files should go to the same directory where our JBoss server picks it up. However, if I configure each project to have the same output in the build path, I cannot do a Clean... on the projects. The clean on the first project wipes out all files in the output directory and then generates all the new .class files. The clean on the second project then wipes out all the files in the same output directory (which are just the output from project 1's build) before trying to compile its output. Is there any way I can configure Eclipse to do a build without deleting the files in the output directory first? This way our second build will not clean out the first build's output. Thanks in advance, Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948572#3948572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948572 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Dependency Injection Problem
The implementation of EJB3 style injection in Tomcat is underway. Stay tuned. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948571#3948571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948571 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - CreateEntityManagerFactory problem
I trying to get a EntityManagerFactory from a POJO using this code: | private EntityManagerFactory emf; | | emf = Persistence.createEntityManagerFactory("fonocontrolDatabase"); | | but when I run the app I get and Exception. I'm using Seam with the embedded microcontainer in a Tomcat server so I think the problem is with the tomcat JNDI beacuse the datasource its in the microcontainer and the method it's looking in the in the wrong enviroment. | FATAL 01-06 17:04:41,781 (DatasourceConnectionProvider.java:configure:55) -Could not find datasource: java:/fonocontrolDatasource | javax.naming.NameNotFoundException: El nombre fonocontrolDatasource no este asociado a este contexto | at org.apache.naming.NamingContext.lookup(NamingContext.java:769) | at org.apache.naming.NamingContext.lookup(NamingContext.java:152) | at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:28) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1885) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1178) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:500) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:627) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:126) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:180) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:110) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at com.antartec.fonocontrol.procesador.bean.impl.ProcesadorEntityManagerBean.(ProcesadorEntityManagerBean.java:35) | at com.antartec.fonocontrol.procesador.bean.impl.ProcesadorEntityManagerBean.getInstance(ProcesadorEntityManagerBean.java:30) | at com.antartec.fonocontrol.procesador.bean.impl.ParserBeanThread.getEntityManager(ParserBeanThread.java:118) | at com.antartec.fonocontrol.procesador.bean.impl.ParserBeanThread.run(ParserBeanThread.java:63) | javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:188) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:110) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at com.antartec.fonocontrol.procesador.bean.impl.ProcesadorEntityManagerBean.(ProcesadorEntityManagerBean.java:35) | at com.antartec.fonocontrol.procesador.bean.impl.ProcesadorEntityManagerBean.getInstance(ProcesadorEntityManagerBean.java:30) | at com.antartec.fonocontrol.procesador.bean.impl.ParserBeanThread.getEntityManager(ParserBeanThread.java:118) | at com.antartec.fonocontrol.procesador.bean.impl.ParserBeanThread.run(ParserBeanThread.java:63) | Caused by: org.hibernate.HibernateException: Could not find datasource | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:28) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1885) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1178) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:500) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:627) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:126) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:180) | ... 6 more | My Persistent.xml: | | org.hibernate.ejb.HibernatePersistence | java:/fonocontrolDatasource | | |
[JBoss-user] [Clustering/JBoss] - Re: Farm on Linux
Sounds like http://jira.jboss.com/jira/browse/JBAS-3145 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948567#3948567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948567 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: SEAM booking example app config issue
Thanks Gavin. After I installed the ejb3 profile and it is ok for the seam-booking example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948566#3948566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948566 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Top Down Web Services Development With wstools
I would like to start with an existing WSDL file and do top-down development for web services so I can have better control of the schema for data types and validation. I can find no documentation on generating the classes from the wsdl file and eventually deploying as a stateless session ejb. Am I missing something ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948564#3948564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948564 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How many users can jboss service at the same time?
1.) "That's not the first time this question was answered" Yes, I agree. But still never answered. 2.) "Google is our friend", but finding informaton on Google on this very subject is not easy and never from the source - JBoss. 3.) "we have made tests and we have used several concurrent users" YES! Now this is what I am talking about. How many is "several"? And how complex was the app/test? Which J2EE technologies were tested? 4.) "The answer will depend in your application." Exactly. So tell us about your (JBoss) applications and how you tested it and what the results were. Again, I restate, it is completely obvious so far in all of the posts that I have read on this subject that JBoss does not want to reveal what kinds of performance it receives from its Application Server. For companies like mine, it would be great to judge the performance of our own JBoss applications by looking at the performance measurements taken by JBoss engineers. Nobody in this world knows how well JBoss performs better than JBoss. Share your numbers please. Toyota, General Motors, Ford and BMW all build cars that are different from top to bottom. But they all publish performance numbers that the others try to meet or beat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948563#3948563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948563 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: wstools failing on XSDs using xs:import
Correction on the end of my previous post... The xsd directory is a CHILD of the wsdl directory, NOT a sibling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948562#3948562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948562 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Farm on Linux
| [FarmMemberService] Could not rename /usr/java/jboss-4.0.3SP1/server/default/tmp/darfportlet.war to /usr/java/jboss-4.0.3SP1/server/default/farm/darfportlet.war | The above error occur in one node when I put a WAR in farm directory of another node of the partition. Why? Obs.: I am using linux and the tmp folder under ${jboss_HOME}/server/default/ ins a soft link to a folder in /var/tmp on another disk partition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948560#3948560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948560 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: How to implement Web services using Jboss Eclipse IDE?
I recommend you use jax-ws tools that are wsimport for client side and for server side you just need to anotate with @WebService over the class declaration, @WebMethod over the method and @WebParam(name = "name") on the params of the method, don't forget to include jax-ws libraries, I believe that jas-ws or something like it will be on jbossws on a future release, in the meantime use jax-ws which is a glassfish project see ya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948559#3948559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948559 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: end-tasks attribute on task-node causes ALL task instanc
Done. Jira: http://jira.jboss.com/jira/browse/JBPM-669 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948557#3948557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948557 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: New build for Spring Integration
FYI, i've set up Ales with release permissions. So bug him if it doesn't get out :-) Thanks ales for taking this over. One less thing I have to worry about. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948553#3948553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948553 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Problems with JBossWS in JBOss CR2
Regarding JSR-109 with a deployed client proxy Still no answer to my previous question on if we can take to wstools-config into wstools to make it produce a common webservice.xml in cases where we want to have more than 1 Session EJB with SOAP interface Also, I have problems with inheritance. I tried making a return type class that could be subclassed for different return values in JBossWS, but they should all inherit a class with the property boolean success; This worked fin in wscompile and olver JBoss versions 4.0.4 RC1, but with 109/wstools I get an error saying it cannot find the namespace of the super type. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948555#3948555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948555 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Using Velocity or XSLT Templates in Seam
Create your own response resource loader by extending org.apache.velocity.runtime.resource.loader.ResourceLoader, and override the getResourceStream() method. Then set the Velocity engine "service.resource.loader.class" property to point to your new resource loader class. Then you can use getClass().getResourceAsStream() to load your templates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948554#3948554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948554 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Three part identifiers prohibited in statement
All, I am using: Jboss seam 1.0.0.CR3 JBoss IDE 1.6 JBoss 4.0.4GA (ejb3 config) SQL Server 2000 MS SQL Server 200 JDBC drivers I am trying to complete the CRUD example from the example movie. I get everything up and running and go to the web interface and try to run a search and I get the following issue. I have tried a variety of things, but I consistently receive the exception: Three part identifiers prohibited in statement I copied the sql statement from the stack trace and ran it against the SQL Server db (replacing the ?'s with values) using Sql Server's Query Analyzer and the sql statement runs fine. Is anyone familiar with this exception? I apologize if this is more of a JDBC related issue, but I am at a loss for where to start on this one. Thanks, -MLA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948552#3948552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948552 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: War unable to find classes from common.jar in ear
You should not use both. Either add common.jar to your classpath or your application.xml. In my app, a lib is inthe root dir of the ear ans class-path is set to lib.jar with no dor or slash. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948550#3948550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948550 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: New build for Spring Integration
I forwarded your request to Bill Burke, since he did the two previous releases. I hope he finds some time as soon as possible. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948544#3948544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948544 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with @EJB injection in a @MessageDriven bean
Crap, sorry guys!!! They kept switching package names around over the last few weeks in committee. I'll get out a new release ASAP. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948545#3948545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948545 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: ExtendedFormAuthenticator touch-up
I also think that ExtendedFormAuthenticator should include the invoke method such that j_username/j_password get added to the session at the first invocation. This will allow us to completely deprecate FormAuthValve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948547#3948547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948547 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: JSR-220 Final Release Support
It is still in release candidate stage, but yes, we have mostly implemented the final release of the spec. I can't say 100% implemented because we haven't run against the TCK yet. Or do you mean professional support? Yes we offer this (for awhile now), contact sales. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948543#3948543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948543 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - wstools failing on XSDs using xs:import
Using the wstools shipped with the JBossWS stack in JBoss 4.0.4.GA (and using Java 1.5.0_06), we can successfully generate artifacts for our WSDL if the XSD it references contains every xs:complexType therein. However, we want to reuse many XML structures. Hence we have put our re-useable xs:complexType's into separate .xsd files. We then simply import them (they're in a different namespace) into our main XSD. So here's a recap of our files. OurService.wsdl | http://www.ourcompany.com/wsdl/OurService"; | xmlns:tns="http://www.ourcompany.com/wsdl/OurService"; | xmlns:our="http://schemas.ourcompany.com/public"; | xmlns:xs="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; | xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";> | | | http://schemas.ourcompany.com/public"; | elementFormDefault="qualified" attributeFormDefault="unqualified"> | | | | | | | | | | | | ... OurService.xsd | http://schemas.ourcompany.com/public"; | xmlns="http://schemas.ourcompany.com/public"; | xmlns:common="http://schemas.ourcompany.com/common"; | xmlns:xs="http://www.w3.org/2001/XMLSchema"; | elementFormDefault="qualified" attributeFormDefault="unqualified"> | | http://schemas.ourcompany.com/common"; schemaLocation="../common/BaseRequest.xsd" /> | http://schemas.ourcompany.com/common"; schemaLocation="../common/BaseResponse.xsd" /> | | | | | | | | | | | | | | | | | | | | | | | | | | . | BaseRequest.xsd | | http://schemas.ourcompany.com/common"; | xmlns="http://schemas.ourcompany.com/common"; | xmlns:xs="http://www.w3.org/2001/XMLSchema"; | elementFormDefault="qualified" attributeFormDefault="unqualified"> | | | | | | | | | BaseResponse.xsd | | http://schemas.ourcompany.com/common"; | xmlns="http://schemas.ourcompany.com/common"; | xmlns:xs="http://www.w3.org/2001/XMLSchema"; | elementFormDefault="qualified" attributeFormDefault="unqualified"> | | | | | | | | And here is the wstools config file we use when running our WSDL -> Java approach: | | http://www.jboss.org/jbossws-tools"; |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; |xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd";> | | | http://www.ourcompany.com/wsdl/OurService"; /> | | | | | | When we run this via the wstools ANT task, it freezes up with a StackOverflowError. We had the same issue (with a different error than the stack overflow) with JWSDP 2.0. Is JBossWS (or any Web Services tool) supposed to support the and standard schema functionality? If we put all types (including BaseRequest and BaseResponse) into our master OurService.xsd, all the artifacts are generated just fine. It just doesn't work when they're in separate files. Also, here's our directory structure... WEB-INF |wsdl | OurService.wsdl |xsd | common | BaseRequest.xsd | BaseResponse.xsd | public | OurService.xsd Please advise. Thanks in advance, Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948546#3948546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948546 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Newbie XML Question
Hello all, I'd like to include the forward slash character in my task names. When I try to do this I get an XML parsing error. Does anyone know a way I can do this? Thanks, Shannon Sumner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948540#3948540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948540 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Ok, it worked out but now...
Thank you very much, now I'm getting another message, I've been seeing the thread on Reverse Engineering but there was no reponse to this, what happens is that my the symbol pageTitle cannot be found javax.servlet.ServletException: Cannot get value for expression '#{tableNameSelector.pageTitle}' etc, etc... any suggestions, I've commented but it doesn't work either... thanxs in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948539#3948539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948539 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: my-service.xml having access to local ejbs
I have included the the service withing the ear by added a jboss-app.xml to to the META-INF directory. This new jboss-app.xml | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";> | | | | ambient.sar | | | I then added to the root of the exploded ear an directory called ambient.sar that only contained one file a jboss-service.xml located in the META-INF subdirectory (ext.ear/ambient.sar/META-INF/jboss-service.xml) Now within the jboss-service.xml the previously seperately defined services are defined | | | | | orb | jboss:service=Naming | | | | dashboard | jboss:service=Naming | | | | marketWatcher | jboss:service=Naming | | | | weatherGlass | jboss:service=Naming | | | | weatherWizard | jboss:service=Naming | | | | ambient/billing/BillingServer | jboss:service=Naming | | | | true | jboss:type=billing,name=Billing | doDailyBilling() | NOW | 2160 | 1 | | | | | Now when the schedulable thread executes an error occurs with Spring but that seems like a sperate issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948536#3948536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948536 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.4 deployment exception: Could not open jboss-s
I guess I should also ask how you installed JBoss: via the installer jar file or did you download and unzip the zip file? If you used the installer jar file, what did you name your server (i.e., what directories appear under jboss-4.0.4.ga/server)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948535#3948535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948535 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - New build for Spring Integration
When will the new spring integration build with the lastest ejb3 changes be released? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948534#3948534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948534 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: BPEL Descriptor Question
FYI it would be nice to have an example where the process calls an external webservice (not packaged within the process) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948532#3948532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948532 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate tools with annotations?
Yes I want it to be more automatic but only have two hands ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948531#3948531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948531 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - BPEL Descriptor Question
So i have a process that is working however i have a question. For any webservice that you call inside of a process you have to define where to get the wsdl... how is this done. I am currently doing this by defining the absolute location inside the bpel-definition.xml like this: | | http://webservice"; location="http://localhost:8080/SimpleMessageWS/SimpleWriter?wsdl"/> | http://com.test.jtm.webservice/"; location="JTMFusionCaller.wsdl"/> | Like i said this works but is this the correct way? It does not seem like a good standard because if the server address changes i am in trouble? The same question applies for the bpel-application.xml | | | http://localhost:8080/SimpleMessageWS/SimpleWriter?wsdl"; /> | | ? Can someone please help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948530#3948530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948530 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate tools with annotations?
Thanks Max. I do believe that was the fastest response ever. You did say currently. Are there any plans to make this more automatic? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948529#3948529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948529 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Using Velocity or XSLT Templates in Seam
I am transporting over a web framework action over to a session bean to use in Seam. The webframework action transformed either a Velocity template or a XSLT into an email that I can send out. Now that my service is on the session bean instead of a web framework action, how do I get a velocity template or XSLT template into the session bean for transformation. Before as a web action I used to do something like this: Properties properties = new Properties(); String realPath = servletContext.getRealPath("WEB-INF"); properties.put("file.resource.loader.path", realPath); Velocity.init(properties); This would retrieve all the velocity templates from the WEB-INF directory. Now there is no dependency of the WEB-INF or servletContext. Does anyone have any strategy for something like this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948528#3948528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948528 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate tools with annotations?
current this is required yes. It is possible to implement some kind of autoscanning; but that is not done yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948527#3948527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948527 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Hibernate tools with annotations?
I am able to do queries in Hibernate tools, but I have to explicitly declare each mapped class in my hibernate.cfg.xml file. | | Is this necessary? Is there any way that by including the jar containing my model these classes can automatically be loaded. I stripped this list out of my AS log for the 120+ entites for one of my projects. And added them manually. This seems to work fine, but if I change my enties name or package I will have to fix it in this file as well. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948526#3948526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948526 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - WS-Security Signing for EJB
I am trying to use WS-Security to sign the contents of my SOAP requests/responses. I have successfully compile, deployed, and tested the wssecurity example from http://labs.jboss.com/file-access/default/members/jbossws/downloads/jbossws-samples-1.0.0.GA.zip. However, the example uses a servlet based Web Service and I am attempting to deploy an EJB (JSR-109) based Web Service and I can't seem to make the server enforce WS-Security message signing. I took the wsse.keystore and wsse.truststore from the example as well as the jboss-wsse-server.xml (but I changed "WEB-INF" to "META-INF") and put them all into the META-INF directory of my EJB. Here is the structure of my EJB jar: com com\mycompany com\mycompany\us com\mycompany\us\ejb com\mycompany\us\ejbConstants.class com\mycompany\us\ejbJBossTest2Bean.class com\mycompany\us\ejbJBossTest2Endpoint.class com\mycompany\us\ejbJBossTest2Endpoint_prescreen_RequestStruct.class com\mycompany\us\ejbJBossTest2Endpoint_prescreen_ResponseStruct.class com\mycompany\us\ejbJBossTest2SessionBean.class META-INF META-INF\wsdl META-INF\wsdl\JBossTest2.wsdl META-INF\ejb-jar.xml META-INF\jaxrpc-mapping.xml META-INF\jboss-wsse-server.xml META-INF\jboss.xml META-INF\MANIFEST.MF META-INF\webservices.xml META-INF\wsse.keystore META-INF\wsse.truststore This jar is in an ear with a few other jars (libraries). It deploys and runs fine - it just won't enforce WS-Security signing. Here is my jboss-wsse-server.xml: | | http://www.jboss.com/ws-security/config"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd";> | META-INF/wsse.keystore | jbossws | META-INF/wsse.truststore | jbossws | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948525#3948525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948525 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with @EJB injection in a @MessageDriven bean
Well. This was smart. :-/ In another recent message here I asked about using Sun's javaee.jar and whether that could cause trouble. Well .. looks like JBoss 4.0.4GA still has javax.annotation.EJB instead of javax.ejb.EJB. The result was that JBoss silently ignored the (wrong) annotation and DI did not work. Ah well. Another learning moment :-) S. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948524#3948524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948524 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Configure default portal instance to load
How would one go about setting JBoss Portal to use the Virtual Hosting capabilities of JBoss? For instance I would like to have multiple Portal Web Apps exist on the same physical box and access each web app uniquely using a different domain. Example: http://mymachinea:8080 > hits jboss-portal.sar\WebApp1 code http://mymachineb:8080-> hits jboss-portal.sar\WebApp2 code I've setup virtual hosting and have gotten it to work for the most part. Its just that whenever I go to one of my virtual hosts as mentioned above - it gives me the "default" goop. How do I turn off the default goop and make it only show the page/portlets that pertain to each individual application? thx... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948523#3948523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948523 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Can´t see st art new process execution link
thank you very much! I forgot to add a task to the start node. [/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948522#3948522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948522 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - JSR-220 Final Release Support
I would like to know if Jboss AS is already supporting the final release of EJB3.0 spec? If not when is the expected time will the support be available? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948521#3948521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948521 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - my-service.xml having access to local ejbs
My app has muliple MBean services all defined through thier own *-service.xml located at the same level in the deployment as the EAR file. One of the services is a schedulable service that starts a thread outside the EAR and attempts to use a local ejb within the EAR that has only a local interface. I don't want to make the ejb remotely accessible. How can I make the ear's local ejb's accessible to this service? ejb-local-ref? Alternatively, how can I include all the *-service.xml within my EAR so the services have local access to all the local ejbs? -fazle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948519#3948519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948519 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Updating instead of deleting
"abronson" wrote : I am not sure what you mean by bulk operations. | | The cascade does not work if I do either of these: | | Query query = em.createQuery("delete from Parent where lastUpdated < :deletePrior").setParameter("deletePrior", deletePrior); | int updatedEntities = query.executeUpdate(); | | or | | if I do | | Query query = em.createQuery("from Parent where lastUpdated < :deletePrior").setParameter("deletePrior", deletePrior); | List list = query.list(); | | loop | { | | em.remove( Parent Obj ); | } | | I get: | cannot update ("SYSTEM"."CHILD"."LOCATIONID") to NULL; | | | | allan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948517#3948517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948517 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Dependency Injection Problem
"guidomuelleraventis" wrote : I have created an EE application with an ear deployment file containing an application.xml, a jar file containing the EJBs and a war file containing the web application. Automatic dependency injection of a session bean into a servlet or a JSF managed bean does not work. A manual JNDI lookup of the session bean works. Are EJB dependencies not automatically injected into web applications? No. See http://jira.jboss.com/jira/browse/EJBTHREE-212 S. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948515#3948515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948515 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Updating instead of deleting
I am not sure what you mean by bulk operations. The cascade does not work if I do either of these: Query query = em.createQuery("delete from Parent where lastUpdated < :deletePrior").setParameter("deletePrior", deletePrior); int updatedEntities = query.executeUpdate(); or if I do Query query = em.createQuery("delete from Parent where lastUpdated < :deletePrior").setParameter("deletePrior", deletePrior); List list = query.list(); loop { em.remove( Parent Obj ); } I get: cannot update ("SYSTEM"."CHILD"."LOCATIONID") to NULL; allan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948514#3948514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948514 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Why is jboss.management.local missing in the EJB3 profil
It's probably not installed. You can add it by hand, by copying the JSR-77 Single JBoss Server Management Domain entry from the conf/jboss-service.xml of the .zip distro You'll need also the jboss-management.jar in the server/lib directory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948513#3948513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948513 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS - javax.jms.IllegalStateException in JBOSS
Hello I have a problem with a new JMS test app. that I have tried out. I get a javax.jms.IllegalStateException when I make a call to TopicSubscriber setMessageListener(listener). Can anyone help me PLEASE?? Source code for the test class: public class SubscriptionHelper { private TopicConnection _tc = null; public SubscriptionHelper(MessageListener listener) throws JMSException { // Get references to topic connection factory // and topic. TopicConnectionFactory tcf = null; Topic topic = null; try { InitialContext initialContext = new InitialContext(); tcf = (TopicConnectionFactory) initialContext.lookup("TopicConnectionFactory"); topic = (Topic)initialContext.lookup ("topic/testTopic"); } catch (NamingException e) { System.err.println(e.toString()); e.printStackTrace(System.err); } try { // Create a connection and so on // Subscribe self to topic--messages will be // delivered to this.onMessage() _tc = tcf.createTopicConnection(); TopicSession ts = _tc.createTopicSession( false, Session.AUTO_ACKNOWLEDGE); TopicSubscriber tsub = ts.createSubscriber(topic); tsub.setMessageListener(listener); } catch (JMSException e) { System.err.println(e.toString()); e.printStackTrace(System.err); _tc.close(); } } } Here is the stacktrace from jboss: 15:21:58,193 ERROR [STDERR] javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6 15:21:58,193 ERROR [STDERR] javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6 15:21:58,193 ERROR [STDERR] at org.jboss.resource.adapter.jms.JmsSession.checkStrict(JmsSession.java:542) 15:21:58,193 ERROR [STDERR] at org.jboss.resource.adapter.jms.JmsMessageConsumer.setMessageListener(JmsMessageConsumer.java:136) 15:21:58,193 ERROR [STDERR] at dk.itu.projekt.jms.SubscriptionHelper.(Unknown Source) 15:21:58,193 ERROR [STDERR] at dk.itu.projekt.jms.MessageReceiver.recieveMessage(Unknown Source) 15:21:58,193 ERROR [STDERR] at dk.itu.projekt.gui.servlets.EmployeeServlet.service(Unknown Source) 15:21:58,193 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:21:58,193 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 15:21:58,193 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 15:21:58,193 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 15:21:58,193 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 15:21:58,193 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 15:21:58,193 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: 664) 15:21:58,193 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 15:21:58,193 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 15:21:58,193 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948352#3948352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948352 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jbos
[JBoss-user] [JBoss Seam] - Validation without @IfInvalid
I understand that the @IfInvalid annotation is no longer the best way to perform validation and that the and tags can be used to validate data-entry entity fields on the front-end. How would I go about validating the entire entity bean (not just the data-entry fields) on form submission? For example: A user enters two numbers - they're multiplied together and saved in the db. The entered numbers are validated by @Max(5) but the calculated result has a validation of @Max(10). Consequently, entering a value of 4 and 4 stores a result of 16 and yields an exception in the log, but an apparent success on the front-end. Is there a nice way to validate (or even just catch the exception) and then warn the user? (As a side note: is the @Valid tag now obsolete too?) Thanks in advance, Peter. Exception in log | 01-06 11:04:56 ERROR [PhaseListenerManager] Exception in PhaseListener INVOKE_APPLICATION(5) afterPhase | java.lang.IllegalStateException: Could not commit transaction | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.commitOrRollback(SeamExtendedManagedPersistencePhaseListener.java:98) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:52) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:345) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | 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.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:45) | 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.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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1149156241562/8, BranchQual=null:1149156241562, localId=0:8], status=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.validator.InvalidStateException: validation failed for: uk.co.iblocks.data.NumberTest) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:1286) | at org.jboss.tm.TxManager.commit(TxManager.java:588) | at org.jboss.ejb3.embedded.UserTransactionImpl.commit(UserTransactionImpl.java:90) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.commitOrRollback(SeamExtendedManagedPersistencePhaseListener.java:87) | ... 28 more | Caused by: org.hibernate.validator.InvalidStateException: validation failed for: uk.co.iblocks.data.NumberTest | at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:104) | at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:127) | at org.hibernate.act
[JBoss-user] [JBossWS] - Re: problems compiling jbossws trunk.
thanks Heiko, that was it.. regards! /Ole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948349#3948349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948349 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss deploy
I have installed the latest jboss > jboss-4.0.4.GA then in my C:\jboss-4.0.4.GA\server\default\deploy i got ROOT.war as my app. what i have noticed is if i dont have any .war files in there, my jboss home page come up if i type http://localhost:8080/. In my ROOT.war i got \contactus\appForms\hello.jsp. but when i type http://localhost:8080/contactus (which should bring up my dir. structure) or i type http://localhost:8080/contactus\appForms\hello.jsp it cant fine my page > type Status report message /internal description The requested resource (/internal) is not available. and jboss is started. what may be wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948346#3948346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948346 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Problem with tree2
no ideas how to manipulate it?:( opening all first two level nodes howto would be welcome too please help me out guys. Then we could add one more component howto to the seam wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948345#3948345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948345 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Plain DAO's and @PersitenceContext
"anders.hedstrom" wrote : anonymous wrote : Why in heavens name, would I want to add a service locator between my As and DAO? | | Why in heavens name, would you want to use a service locator between your As and DAO? Because JNDI code doesn't below in an Application Service? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948344#3948344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948344 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Plain DAO's and @PersitenceContext
Just implemented the DAO's as Sessions that are aquired by the POJO AS through a DAO Factory that does the JNDI lookup by menas of a ServiceLocator. result: 8.1% increase in response time with 100 users 13.4% increase in response time with 1.000 users 16.9% increase in response time with 10.000 users Does anyone have a good idea on how to avoid turning DAO's into Sessions and still have access to the EntityManager in a transaction context? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948343#3948343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948343 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal state retention
I've added a flash via management portal It displayed as expected, but when i restarted jboss whatever i've created just dissappeared. I understand this is not being saved in DB and initial values are hard-coded. Any ideals how to retain the state after a appserver restart? many thanks sunil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948342#3948342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948342 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Dependency Injection Problem
I have created an EE application with an ear deployment file containing an application.xml, a jar file containing the EJBs and a war file containing the web application. Automatic dependency injection of a session bean into a servlet or a JSF managed bean does not work. A manual JNDI lookup of the session bean works. Are EJB dependencies not automatically injected into web applications? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948341#3948341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948341 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP-->how to implement a home page
Resolved. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948340#3948340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948340 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Process Instantiation
hello.. i am trying to start a process execution by code.. that aparently is well done, because i had it from your examples... but.. the process don't start.. this code..don't show any errors.. and runs ok..but the aprently it doesn´t do nothing to the process... can anybody give me a help here? code: public class instanciacao{ static JbpmConfiguration jbpmConfiguration = null; static { jbpmConfiguration = JbpmConfiguration.parseXmlString( "" + // A jbpm-context mechanism separates the jbpm core // engine from the services that jbpm uses from // the environment. " " + "" + " " + // Also all the resource files that are used by jbpm are // referenced from the jbpm.cfg.xml " " + " " + " " + " " + " " + " " + " " + "" ); } public void inst (int i) { JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { GraphSession graphSession = jbpmContext.getGraphSession(); ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition("ultima"); ProcessInstance processInstance = new ProcessInstance(processDefinition); } finally { // Tear down the pojo persistence context. jbpmContext.close(); } } } this line: " new ProcessInstance(processDefinition);"--> shouldn´t simply start the process choosed? what is missing? thanks..[ ] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948338#3948338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948338 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Plain DAO's and @PersitenceContext
anonymous wrote : Why in heavens name, would I want to add a service locator between my As and DAO? Why in heavens name, would you want to use a service locator between your As and DAO? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948337#3948337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948337 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - [Jboss qualification Preliminary Question] Installing Jboss
Hi everybody, This is my first message here, and it should surprise some of you ! My company is currently looking to start new developments on J2EE environment. My question is pretty obvious and surely stupid but as I am just a newbie under Jboss Application server I think it's best to ask to personn who are using it for months, maybe years :) Question is : Can you please confirm that there's no compatibilities' issues installing Oracle (9i) and JBoss 4.0.4 on the same server (under Windows OS for my concern) Yeah, I know, I personnaly don't see any reason it should be incompatible or lead to problems but as the question has been asked by the personn in charge of a customer project, I rather ask you guys ! Thanks for your answer and maybe your personnal feedbacks on version installed (Oracle/Jboss/OS), installation deployment, performance... Anyway, I should be here a lot more starting today so hope you'll welcome me in the big and great Jboss communauty :) Regards, Yannick Biet View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948336#3948336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948336 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - A question about the scheduler
Hi, I want to write a JMX service that upon the activation of its "test" method, a perioudic job will begin. I added the following lines to the jboss-service.xml: I then wrote the interface of the service: @Local @Remote public interface TestTimer { public void test(); } And then I implemented the service itself: @Service (objectName="trail:service=TestTimer") @Management(TestTimer.class) @Depends ("acme:service=Scheduler") public class TestTimerMBean implements TestTimer, Schedulable { private SchedulerMBean schedulerMBean; public void test() { try { System.out.println("Hello time " + System.currentTimeMillis()); MBeanServer server = MBeanServerLocator.locate(); schedulerMBean = (SchedulerMBean) MBeanProxyExt.create( SchedulerMBean.class, "acme:service=Scheduler", server); if (schedulerMBean != null) System.out.println("succeeded in looking up scheduler"); System.out.println("@My class name is " + getClass().getName()); schedulerMBean.setSchedulableClass(getClass().getName()); schedulerMBean.setInitialRepetitions(20); schedulerMBean.setInitialStartDate("NOW"); schedulerMBean.setSchedulePeriod(2000); schedulerMBean.start(); schedulerMBean.startSchedule(); } catch (Exception e) { e.printStackTrace(); } } public void perform(Date arg0, long arg1) { // TODO Auto-generated method stub try { File f = new File("c:\\sched.txt"); FileOutputStream fos = new FileOutputStream(f,f.exists()); fos.write(("date is " + arg0 + "arg is " + arg1).getBytes()); fos.close(); } catch (Exception e) { e.printStackTrace(); } } } When I deploy, I can see that there is a perioudic job that runs, but I dont see that the method "perform" is executed (the file c:\sched.txt is not created and i do have permissions - i also tried using system.out.println - and nothing - the jboss application server runs on my machine ) What am I doing wrong here? Thanks Yair View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948335#3948335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948335 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Please help me: naming exception
THank you...but I can't understand: did you create a new class with these methods or you put in every bean file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948333#3948333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948333 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: problems compiling jbossws trunk.
Take a look at your ant.properties and make sure 'force.thirdparty.get=true' is uncommented. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948332#3948332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948332 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBOSS Datasource
great, that make sense, just two more questions - 1.) what is the best jdbc driver to use for jboss with posgresql, we want to use conn pooling also. 2.) i downloaded the postgresql drivers, but there are alot of files in there. I download it from http://jdbc.postgresql.org/download.html > 8.2dev-503 JDBC 3, then it consist of two folders - org and META-INF. what must i use. 3.) then, where in my jboss folder must i put what? my structure is C:\jboss-4.0.4RC1> bin, lib, server... > in server > all, default, minimal. I use default. In default there are conf, data, deploy, lib ... in deploy i have my web app called xxx.war. so in which lib must i put my driver files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948330#3948330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948330 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - TrailBlazer EJB 3.0 in JBoss 4.0.4GA
does not get deployed, any idea? | 006-06-01 17:14:31,187 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:service=EJB3,module=beans.jar | java.lang.NoClassDefFoundError: javax/ejb/InvocationContext | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:2365) | at java.lang.Class.getDeclaredMethods(Class.java:1763) | at org.jboss.ejb3.injection.PersistenceContextHandler.loadMethodDependencies(PersistenceContextHandler.java:284) | at org.jboss.ejb3.injection.PersistenceContextHandler.loadDependencies(PersistenceContextHandler.java:409) | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:236) | at org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:77) | at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:431) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:480) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy34.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[JBoss-user] [JCA/JBoss] - Problem while trying to create Oracle JCA connection
Hi folks, I hope you can help with this: JBoss 3.2.7 Java 1.4.2_11 Oracle 9.2 I've tried the guide in the documentation and copied the oracle-ds.xml into my server/default/deploy directory. The error stack trace I got after that tells me, that JBoss is unable to find the org/jboss/resource/connectionmanager/TxConnectionManager$LocalXAResource file. This is the complete stack trace: 11:04:06,112 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException | 11:04:06,112 ERROR [MainDeployer] could not create deployment: file:/C:/jboss_328sp1/server/default/deploy/oracle-xa-ds.xml | org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss_328sp1/server/default/deploy/oracle-xa-ds.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:274) | at $Proxy26.create(Unknown Source) | at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:215) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) | at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) | Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:142) | at org.jboss.system.ServiceController.install(ServiceController.java:199) | at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204) | ... 32 more | Caused by: java.lang.reflect.UndeclaredThrowableException | at org.jboss.system.ServiceCreator.i
[JBoss-user] [EJB/JBoss] - Re: Please help me: naming exception
Hi, I had this kind of problem with local EJB sessions. COMP_NAME ( java:Comp/env ... ) doesn't work for me, I'm using only the JNDI name. /** * Retourne l'interface LocalHome du bean ApolloDataBean. * @see ApolloDataBean * @return ApolloDataLocalHome * @throws Exception */ protected ApolloDataLocalHome getHome() throws Exception { Context ctx = new InitialContext(); Object o = ctx.lookup(ApolloDataLocalHome.JNDI_NAME); /* ApolloDataLocalHome.JNDI_NAME = "ejb/ApolloDataLocal */ ApolloDataLocalHome intf = (ApolloDataLocalHome) PortableRemoteObject.narrow(o, ApolloDataLocalHome.class); return intf; } /** * Evalue les contraintes sur le portefeuille passé en paramètre. * @param pfCode */ public void evaluateMopPortfolio(int pfCode) throws ConstraintException { ApolloDataLocal dataBeanLocal; try { dataBeanLocal = this.home.create(); Portefeuille ptf = (Portefeuille)dataBeanLocal.getEntity(this.mapSystemProperties, PojoClass.Portefeuille.fullName(), pfCode); dataBeanLocal.remove(); } catch(Exception e) { logger.error("[Object]ConstraintsMgr,[method]evaluatePortfolioConstraint,[catch]Exception,[throw]ConstraintException,[Message]" + e.getMessage()); throw new ConstraintException(ConstraintException.ERR_PTF); } this.constraintsResultat = Math.max(this.constraintsResultat,ConstraintConstants.EVAL_CTR_RESULT_WARNING); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948327#3948327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948327 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - 401 Error handling in jboss-3.2.7
we are trying to handle error 401 by placing fallowing code in web.xml 401 /message.html wich present under fallowing path : \jboss-3.2.7\server\im\deploy\jbossweb-tomcat50.sar\conf message.html is getting displayed always i.e we are unable to open the application View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948324#3948324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948324 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: java.lang.ArrayIndexOutOfBoundsException / NullPointerEx
Hi again, Now I "solved" the problem. It was as simple as replacing ws4ee 4.0.3 by ws4ee from JBoss 4.0.4GA. Sorry for the spam, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948323#3948323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948323 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP-->how to implement a home page
can i create a region in generic-->index.jsp like this to implement the above functionality? and add this to theme? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948320#3948320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948320 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBP-->how to implement a home page
hi all, i'm trying to implement a home page based on JBP. I need to implement a full width flash object by overriding Region A and Region B or combine both of them any thoughts? thanks sunil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948316#3948316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948316 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Forum portlet error
i've got one version of forum from CVS working with JBP 2.2.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948314#3948314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948314 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @DataModel with Tomahawk with JBoss AS 4.0.4 and Seam 1.
My web.xml didn't include Seam Redirect Filter and the Seam Exception Filter. It doesn't further include those security constraints and the MyFacesExtensionsFilter. Apart from this my web.xml is the same as you have. For debug purposes, I think, in the faces-config.xml the SeamVariableResolver wasn't included. But apart from this it didn't diffre from yours. I tried all the combinations but I'm still getting the error that there are multiple @DataModelSelection fields. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948313#3948313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948313 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Please help me: naming exception
Hello People! I'm doing the porting of a project from SUN tu JBOSS. I'm using Netbeans 5.0 and jboss 4.0.2. Plese help me: I'm becoming mad...this error is very strange anonymous wrote : | 10:16:41,127 ERROR [LogInterceptor] EJBException in method: public abstract java.util.Collection SessBean1.CommessaCntrlLocal.readAll(), causedBy: | javax.naming.NameNotFoundException: AnaClientiBean not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:49 at org.jnp.server.NamingServer.getBinding(NamingServer.java:49at org.jnp.server.NamingServer.getObject(NamingServer.java:50 | The Source code is anonymous wrote : | Context initial = new InitialContext(); | CommessaHomeLocal home = (CommessaHomeLocal)initial.lookup("java:comp/env/ejb/CommessaBean"); | | AnaClientiHomeLocal home_clienti = (AnaClientiHomeLocal) initial.lookup("java:comp/env/ejb/AnaClientiBean"); | Another strange thing: in the first lookup (in the code above) i should do "java:comp/env/ejb/CommessaHomeLocal" but as it doesn't work I've changed to "java:comp/env/ejb/CommessaBean" and it works... But with the second lookup (in the code above) there is no way to make it work... I post the ejb-jar CommessaBean anonymous wrote : | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | EntBean1 | | | CommessaEB | CommessaBean | EntBean1.CommessaHomeLocal | EntBean1.CommessaLocal | EntBean1.CommessaBean | Bean | java.lang.String | false | | jdbc/prologic | javax.sql.DataSource | Container | Shareable | | | | | | | CommessaBean | * | | Required | | | | AnaClientiBean anonymous wrote : | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | AnaClienti | | | AnaClientiEB | AnaClientiBean | AnaClienti.AnaClientiHomeLocal | AnaClienti.AnaClientiLocal | AnaClienti.AnaClientiBean | Bean | java.lang.String | false | | jdcb/prologic | javax.sql.DataSource | Container | Shareable | | | | | | | AnaClientiBean | * | | Required | | | | If someone has the solution...please help me...I'm going mad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948311#3948311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948311 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ApplicationException in ejb-jar.xml
With the assembly descriptor tag it still not works: | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"; | version="3.0"> | | Sample | Sample | | | mypackage.OptimisticVerificationException | false | | | | It looks to be compliant with the schema but it is ignored by embeddable jboss ejb3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948310#3948310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948310 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: XMBean and a new JDBCAttributePersistenceManager
I don't think there is an easy way out. If you want to use the datasource you'll only be able to use it after it is started, and so all your related persistent xmbeans. You can have more than one persistence managers active, and override in the xmbean descriptor which one should be contacted. Since the dependencies won't work correctly (load() is called very early) you can try to put all your jdbc persisted xmbean in the deploy/deploy.last folder, maybe. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948308#3948308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948308 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek
Yep. And the worst thing is that in docs there is no example how to use generated client and jaxrpc-mapping.xml file. Maybe someone can give an example? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948307#3948307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948307 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=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: Automatic generation of primary key
Thank you for your answer. It was the way I found. I use | | HiLoKeyGeneratorFactory | | | Unfortunatly, I get a ClassCastException because it generates a Long and I need an Integer. Do you now the name of an appropriate factory? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948306#3948306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948306 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user