[JBoss Tools (users)] - Re: MyEclipse cannot install JBoss Tools
by tony.herstell@gmail.com
"rob.stryker(a)jboss.com" wrote : Unfortunately, the seam plugins currently depend on the JBoss AS Tools. The specific portion the seam plugins depend on is the ability to deploy a single file using WTP API's (standard APIs).
|
| The problem here is that the ability to turn a single file into a "module" and publish it upon project creation (specifically the datasource) is not a standard part of WTP and is an extension only the JBoss Tools AS-Tools plugin provides. The Seam plugin makes use of this.
Thanks for your reply Rob,
Humm not that I really know what you mean but I have had Seam working in MyEclipse using exploded deployment for well over a year... (i.e. NO ANT for over a year!)
I create three projects EAR, Jar and War... (the MyEclipse wizard now actually helps with this since the EJB3 stuff was added a few months ago). I Link these together to for an Ear deployment.
I dont what everyones hangup was about having ONE file... works fine having the three for me and so what ifI have three "prjects" in CM... e.g. (current "project" is Sec, SecEJB, SecWeb).
I have to turn off a lot of helpers from MyEclipse (like keeping the EAR application.xml up to date as its messes up the Seam application.xml you carefully create).
Then I just "deploy" the Ear, in MyEclipse, as exploded and start the server (from the MyEclipse Run/Stop/Re-Start MyEclipse server button).
If I can run quite well without a single module why do the tools depend on a single module?
Assuming I don't give a rats ass about the deployment helper tools (as MyEclipse ones work fine) but still want the little nice windows'ey type stuff like the Seam file wizards; .xhtml viewer (with decent EL support) then is it possible to give me the seam tool's without the AS bits... I have had to live without EL completion for over a year; and it would be nice!
After all; Seam tools should not mean JBoss AS tools should it?
??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131275#4131275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131275
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Error when deploying
by b7518
Hi,
I'm new in JAVA. Can anyone help to solve below errors? Thanks.
12:35:12,795 INFO [Server] Starting JBoss (MX MicroKernel)...
12:35:12,795 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
12:35:12,795 INFO [Server] Home Dir: C:\jboss4
12:35:12,795 INFO [Server] Home URL: file:/C:/jboss4/
12:35:12,795 INFO [Server] Patch URL: null
12:35:12,795 INFO [Server] Server Name: default
12:35:12,795 INFO [Server] Server Home Dir: C:\jboss4\server\default
12:35:12,795 INFO [Server] Server Home URL: file:/C:/jboss4/server/default/
12:35:12,795 INFO [Server] Server Temp Dir: C:\jboss4\server\default\tmp
12:35:12,795 INFO [Server] Root Deployment Filename: jboss-service.xml
12:35:13,014 INFO [ServerInfo] Java version: 1.4.1_02,Sun Microsystems Inc.
12:35:13,014 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.1_02-b06,Sun Microsystems Inc.
12:35:13,014 INFO [ServerInfo] OS-System: Windows XP 5.2,x86
12:35:13,326 INFO [Server] Core system initialized
12:35:13,342 ERROR [MainDeployer] Could not make local copy for file:/C:/jboss4/server/default/conf/jboss-service.xml
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1313)
at java.io.File.createTempFile(File.java:1401)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1149)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:822)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:536)
12:35:13,357 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss4/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:580)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:536)
Thanks,
Buddy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131273#4131273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131273
18 years, 2 months
[Security & JAAS/JBoss] - Re: Using database for authorization ONLY?
by tresspicher
Thanks, that was very useful and exactly what I was looking for. Unfortunately, if I remove the Roles parameters from the LdapExtLoginModule configuration, the login fails. Is there any straightforward way to use LdapExtLoginModule for only the authentication portion of the login and to delegate all role assignment to the DatabaseServerLoginModule? Will I need to modify LdapExtLoginModule? If so, can you give me some pointers for doing so?
If there is a better solution, I would also like to hear your suggestions. In our particular setup, the user names and passwords are part of a huge company-wide server. We have specific roles we need that will be used by a tiny subset of the company so modifying the LDAP server is not an option. We want to use the company's LDAP server for username/password verification, but use our own database to assign roles.
I am desperately hoping for a response. I need to get this working in the next 2 days or I'm in trouble.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131266#4131266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131266
18 years, 2 months
[JBossCache] - JBoss cache + Mobicents. I cant start the cache
by cmaluend
Hi,
I am newbie in JBoss Cache and I'm trying to use JBoss Cache and Mobicents.
I have this problem, and I haven't solve yet
| 2008-02-22 16:51:00,355 ERROR [STDERR] java.lang.NoClassDefFoundError: Could not initialize class org.jboss.aop.instrument.MethodExecutionTransformer
| 2008-02-22 16:51:00,355 ERROR [STDERR] at org.jboss.aop.ClassAdvisor.initializeMethodChain(ClassAdvisor.java:462)
| 2008-02-22 16:51:00,355 ERROR [STDERR] at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:594)
| 2008-02-22 16:51:00,355 ERROR [STDERR] at org.jboss.aop.ClassAdvisor.access$300(ClassAdvisor.java:82)
| 2008-02-22 16:51:00,355 ERROR [STDERR] at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:299)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:591)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:579)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.jboss.cache.pojo.impl.PojoCacheImpl.<clinit>(PojoCacheImpl.java)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.jboss.cache.pojo.PojoCacheFactory.createCache(PojoCacheFactory.java:42)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbb.<init>(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.service.httpservletra.example.HttpServletRAExampleSbbImpl.<init>(HttpServletRAExampleSbbImpl.java)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:355)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:308)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.SbbObject.createConcreteClass(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.SbbObject.<init>(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.SbbObjectPoolFactory.makeObject(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.sbbentity.SbbEntity.assignAndCreateSbbObject(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.EventRouterImpl.processInitialEvents(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.EventRouterImpl.routeQueuedEvent(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.EventRouterImpl.access$000(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at org.mobicents.slee.runtime.EventRouterImpl$EventExecutor.run(Unknown Source)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
| 2008-02-22 16:51:00,371 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
|
|
My code looks like:
| PojoCache cache = PojoCacheFactory.createCache("replSync-service.xml",false);
| cache.start();
|
and the config file is: replSync-service.xml (from the example).
could anybody help me?.
Cheers,
Cristian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131263#4131263
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131263
18 years, 2 months