[Security & JAAS/JBoss] - NameNotFoundException: jaas not bound after switching to JBo
by mdhuyn
Hi,
I'm running JBoss 4.0.4 using the 'all' configuration with JBossWS and EJB3.
Everything works, but when I tried to switch to JBossMQNullPersistence by following the directions at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence I get the exception below.
I've double-checked and triple-checked to make sure I did everything specified in the trail. I'd appreciate any assistance in finding out what's wrong. Thanks.
20:59:09,281 INFO [D] Bound to JNDI name: queue/D
| 20:59:09,281 INFO [ex] Bound to JNDI name: queue/ex
| 20:59:09,291 WARN [ServiceController] Problem starting service jboss.mq:service=SecurityManager
| javax.naming.NameNotFoundException: jaas not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
20:59:20,618 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.mq:service=SecurityManager
| State: FAILED
| Reason: javax.naming.NameNotFoundException: jaas not bound
| I Depend On:
| jboss.mq:service=DestinationManager
| Depends On Me:
| jboss.mq.destination:service=Topic,name=testTopic
| jboss.mq.destination:service=Topic,name=securedTopic
| jboss.mq.destination:service=Topic,name=testDurableTopic
| jboss.mq.destination:service=Queue,name=testQueue
| jboss.mq:service=TracingInterceptor
| jboss.mq.destination:service=Queue,name=DLQ
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966179#3966179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966179
19 years, 8 months
[JBoss Seam] - Please help me understand DataModelSelection
by Holy Joe
I'm having a problem with DataModelSelection in my application. I managed to create the same situation in the example "issues" application, so you don't need to wade through all the other crap in my real application.
My app works like the issues app, except that there is an intervening page between the editProject page and the editIssue page. I simulated this in the issues app by changing the editProject page from this:
<h:commandButton action="#{issueEditor.selectIssue}" value="#{messages.View} #{messages.Issue}"/>
To this:
<h:commandButton action="funky" value="#{messages.View} #{messages.Issue}"/>
I put an entry in faces-config so that "funky" would go to funky.jsp, which contains only:
<h:commandButton action="#{issueEditor.selectIssue}" value="#{messages.View} #{messages.Issue}"/>
(i.e., the original button from the editProject page), surrounded by the necessary other HTML.
With that change, the application no longer works correctly. Clicking on the View button in the editProject page brings up the funky page, and clicking that button takes me to editIssue, but it always edits the first issue.
Could someone explain to me the life of the DataModelSelection? Why isn't it preserved through the intervening page?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966178#3966178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966178
19 years, 8 months
[EJB 3.0] - Database triggers and entity beans
by sbivol
Hi,
We're trying to get rid of few triggers in the database, but are struggling with finding a solution in the ejb3 land. The triggers we're struggling in particular are "after insert" triggers that update other record fields or insert records in same or other tables.
First, it took us a while to figure out why within the same transaction the entities affected by the trigger would not reflect the data in the database.
Second, we wanted to replace the triggers with java code, and @PostPersist EntityListeners or Callbacks seemed perfect for this, where we thought we could create new entities or find existing ones that need updating, and then use entity manager to persist data. However, we could not find a way to get a handle to the EntityManager.
What is the correct way of doing this?
Also, in a @PostUpdate or @PreUpdate, is there a way to find old AND new values?
Thanks & Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966176#3966176
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966176
19 years, 8 months
[JBoss jBPM] - Process Definition won't open in GPD 3.0.11/Eclipse 3.2
by jakespoon
Anybody got an idea what could cause this?
I created an empty process definition with New - JBoss jBPM - Process Definition and it won't open. I have GPD 3.0.11 & Eclipse 3.2.
Pageflow definitions open fine for me, but Process definitions fail with this:
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:126)
at org.eclipse.jface.viewers.StructuredViewer.assertElementsNotNull(StructuredViewer.java:575)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:928)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1135)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:565)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:534)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:719)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:696)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1277)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323)
at org.eclipse.jface.viewers.CheckboxTreeViewer.preservingSelection(CheckboxTreeViewer.java:371)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1266)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:250)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1542)
at org.jbpm.ui.editor.form.deployment.DeploymentForm.createIncludeClassesSection(Unknown Source)
at org.jbpm.ui.editor.form.deployment.DeploymentForm.create(Unknown Source)
at org.jbpm.ui.editor.DesignerDeploymentEditorPage.createForm(Unknown Source)
at org.jbpm.ui.editor.DesignerDeploymentEditorPage.createPartControl(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:183)
at org.jbpm.ui.editor.DesignerEditor.addDeploymentPage(Unknown Source)
at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:288)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:280)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:184)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3164)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966172#3966172
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966172
19 years, 8 months