[JBoss Portal] - Re: Too many errors cant get JBoss Portal to work
by anthon.r
Does anyone had any idea on how could I possibly solve my problem to my recent posts in this thread? Here is my configuration of my datasource:
| <?xml version="1.0" encoding="UTF-8"?>
| <datasources>
| <local-tx-datasource>
| <jndi-name>PortalDS</jndi-name>
| <connection-url>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=jbossportal;SelectMethod=cursor,"portal","portalpassword"</connection-url>
| <driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>
| <user-name>portal</user-name>
| <password>portalpassword</password>
| </local-tx-datasource>
| </datasources>
|
Im using MS Sql Server 2000 Driver for JDBC SP3.
I think there's a problem in transaction manager or something.. maybe a problem from my JDBC driver? It's been almost a month and cant find any answers to my problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970077#3970077
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970077
19 years, 7 months
[JBossWS] - jbossws / problem in generating client. NoSuchMethod
by MmarcoM
hi all,
i m trying to generate a client using jbossws wstools ant task (within maven2)..
here's my task
| <tasks>
| <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
| <classpath refid="maven.dependency.classpath"/>
| <classpath>
| <fileset dir="${jboss.libdir}\client">
| <include name="activation.jar"/>
| <include name="javassist.jar"/>
| <include name="jbossall-client.jar"/>
| <include name="jbossretro-rt.jar"/>
| <include name="jboss-backport-concurrent.jar"/>
| <include name="jbossws-client.jar"/>
| <include name="jboss-xml-binding.jar"/>
| <include name="jbossws14-client.jar"/>
| <include name="log4j.jar"/>
| <include name="mail.jar"/>
| <include name="wsdl4j.jar"/>
| </fileset>
| <fileset dir="${jboss.libdir}\lib\endorsed">
| <include name="*.jar"/>
| </fileset>
| </classpath>
| </taskdef>
| <echo message="********** Running jboss ws **************"/>
| <mkdir dir="dd/ws" />
| <wstools dest="${project.build.outputDirectory}/META-INF"
| config="${workspace.dir}/middleware/ngenMiddleware/jboss/wstools-messenger-config.xml"/>
|
| <wstools dest="${project.build.outputDirectory}/META-INF"
| config="${workspace.dir}/middleware/ngenMiddleware/jboss/wstools-translation-config.xml"/>
|
| <wstools dest="client"
| config="${workspace.dir}/middleware/ngenMiddleware/client/wstools-messenger-client-config.xml"/>
|
|
the first two (generation of wsdl ) worked fine, the latter not..
and here's the exception
| [ERROR] FATAL ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(Lorg/xml/sax/EntityReso
| lver;)V
| [INFO] ------------------------------------------------------------------------
| [INFO] Trace
| java.lang.NoSuchMethodError: com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(L
| org/xml/sax/EntityResolver;)V
| at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio
| nsFactory.java:142)
| at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:121)
| at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too
| lsHelper.java:324)
| at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
| at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
| at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
| at org.apache.tools.ant.Task.perform(Task.java:364)
| at org.apache.tools.ant.Target.execute(Target.java:341)
| at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA
| ntMojo.java:99)
| at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:82)
|
| at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
| nManager.java:412)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
| ultLifecycleExecutor.java:534)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
| fecycle(DefaultLifecycleExecutor.java:475)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
| ltLifecycleExecutor.java:454)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
| dleFailures(DefaultLifecycleExecutor.java:306)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
| ts(DefaultLifecycleExecutor.java:273)
| at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
| fecycleExecutor.java:140)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
|
i followed what has been described here
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3968854
but still i am getting same exception........
can anyone help? thanx and regards
marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970075#3970075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970075
19 years, 7 months
[JBoss Eclipse IDE (users)] - Configure JBoss AS in Eclipse 3.2
by ssrrini
adding the log.
!ENTRY org.eclipse.ui 4 4 2006-09-07 17:45:07.843
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2006-09-07 17:45:07.858
!MESSAGE org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss40xTabGroup.createTabs(JBoss40xTabGroup.java:60)
at org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:70)
at org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:106)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321)
at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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=3970074#3970074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970074
19 years, 7 months
[Security & JAAS/JBoss] - LDAP Security Domain - Mapping DN ?
by rsoika
Hi,
I have successfull configured a JBoss Security Domain for IBM Lotus Domino using the org.jboss.security.auth.spi.LdapLoginModule.
I can authenticate to my Demo WebApp and also searching for roles (isUserInRole) works correct.
My question is how to map the CallerPricipal to the DN.
My users cann login in by using a unique UserID (Shortname). But inside my webApp I need the full DN. But the call:
ctx.getCallerPrincipal().toString()
returns the username which the user used to login (shortname).
I can not use:
principalDNPrefix + username + principalDNSuffix;
because the username is a EmployeeID.
For Example
The Login ID is "12345"
The DN of the Username is "CN=Ralph Soika/O=MYCOMPANY"
I need that getCallerPriciapal returns the DN not the Loginname.
Can anybody give me a hint? or is it a Problem of the LDAP configuration?
Thanks for help
Ralph
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970072#3970072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970072
19 years, 7 months
[JBoss Messaging] - Re: Configuring Destinations
by Ensonik
Hi.
It starts up the example queues and topics fine:
07:50:50,404 INFO [Queue] Queue[/queue/C] started, fullSize=75000, pageSize=2000, downCacheSize=2000
I then copy the definition for one of those topics to my deployment file:
<mbean code="org.jboss.jms.server.destination.Topic"
| name="jboss.messaging.destination:service=Topic,name=testTopic"
| xmbean-dd="xmdesc/Topic-xmbean.xml">
| <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
| <attribute name="SecurityConfig">
| <security>
| <role name="guest" read="true" write="true"/>
| <role name="publisher" read="true" write="true" create="false"/>
| <role name="durpublisher" read="true" write="true" create="true"/>
| </security>
| </attribute>
| </mbean>
This will show the following error:
| org.jboss.deployment.DeploymentInfo@b5701711 { url=file:/F:/jboss-4.0.4.GA/server/messaging/deploy/my.ear/ }
| deployer: org.jboss.deployment.EARDeployer@738a71
| status: Deployment FAILED reason: No ClassLoaders found for: org.jboss.jms.server.destination.Topic; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.server.destination.Topic)
| state: FAILED
| watch: file:/F:/jboss-4.0.4.GA/server/messaging/deploy/my.ear/META-INF/application.xml
| altDD: null
| lastDeployed: 1157630180754
| lastModified: 1157487949404
| mbeans:
|
My definition file is in an exploded ear file.
my.ear
--META-INF
--myEjb.jar
--myWeb.war
The destinations are defined in a file called myfile-destinations-service.xml which is at the root of the myEjb.jar file/directory.
Thanks for the help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970070#3970070
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970070
19 years, 7 months