[Installation, Configuration & DEPLOYMENT] - Re: jboss on freebsd
by dimm
Ye, thx, i fix the problem with libs,
i'm just create perm link to another folder
| ls -s /usr/local/jboss5/lib /usr/local/jboss5/common/lib
|
but second error still exist
stderr.log
| Failed to boot JBoss:
| java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
| bindings-classloader:0.0.0 -> java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
|
| *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
| PortsDefaultBindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
| SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Real}, bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#3 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| SystemPropertyBinder -> bindings-classloader:0.0.0{Installed:**ERROR**}, SystemPropertyBinder#1{Installed:Real}
| ServiceBindingManager -> bindings-classloader:0.0.0{Installed:**ERROR**}, ServiceBindingStore{Installed:Real}
| StandardBindings#14 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| JBossWebConnectorXSLTConfig -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#4 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#2 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#15 -> JBossWebConnectorXSLTConfig{Installed:Real}, bindings-classloader:0.0.0{Installed:**ERROR**}
| Ports02Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#20 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#11 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#9 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#5 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#7 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| Ports01Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
| Ports03Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#10 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings -> bindings-classloader:0.0.0{Installed:**ERROR**}, StandardBindings#1{Installed:Real}, StandardBindings#2{Installed:Real}, StandardBindings#3{Installed:Real}, StandardBindings#4{Installed:Real}, StandardBindings#5{Installed:Real}, StandardBindings#6{Installed:Real}, StandardBindings#7{Installed:Real}, StandardBindings#8{Installed:Real}, StandardBindings#9{Installed:Real}, StandardBindings#10{Installed:Real}, StandardBindings#11{Installed:Real}, StandardBindings#12{Installed:Real}, StandardBindings#13{Installed:Real}, StandardBindings#14{Installed:Real}, StandardBindings#15{Installed:Real}, StandardBindings#16{Installed:Real}, StandardBindings#17{Installed:Real}, StandardBindings#18{Installed:Real}, StandardBindings#19{Installed:Real}, StandardBindings#20{Installed:Real}
| StandardBindings#6 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#18 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#12 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#16 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#8 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#1 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#17 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| ServiceBindingStore -> bindings-classloader:0.0.0{Installed:**ERROR**}, PortsDefaultBindings{Installed:Real}, Ports01Bindings{Installed:Real}, Ports02Bindings{Installed:Real}, Ports03Bindings{Installed:Real}, StandardBindings{Installed:Real}
| StandardBindings#13 -> bindings-classloader:0.0.0{Installed:**ERROR**}
| StandardBindings#19 -> bindings-classloader:0.0.0{Installed:**ERROR**}
|
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
| at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
|
|
stdout.log
| ....
| 21:39:48,503 ERROR [AbstractKernelController] Error installing to Instantiated: name=bindings-classloader:0.0.0 state=Described
| java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
| ....
| Caused by: java.io.FileNotFoundException: jboss-bindingservice.jar doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar, file: /usr/local/jboss5/common/lib/jboss-bindingservice.jar)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228092#4228092
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228092
16 years, 11 months
[Installation, Configuration & DEPLOYMENT] - jboss on freebsd
by dimm
hi all,
today i'm install jboss 5 from freebsd ports collection
all seems like good
but when i try to start server
| /usr/local/jboss5/bin/run.sh -p jprod -default 1>/usr/local/jboss5/log/stdout.log 2>/usr/local/jboss5/log/stderr.log &
|
or like this
| /usr/local/etc/rc.d/jboss5 start
|
i got that server started but in logfile i see
| =========================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: /usr/local/jboss5
|
| JAVA: java
|
| JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: /usr/local/jboss5/bin/run.jar
|
| =========================================================================
|
| 20:29:00,173 INFO [ServerImpl] Starting JBoss (Microcontainer)...
| 20:29:00,178 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200905011807)
| 20:29:00,180 INFO [ServerImpl] Bootstrap URL: null
| 20:29:00,181 INFO [ServerImpl] Home Dir: /usr/local/jboss5
| 20:29:00,181 INFO [ServerImpl] Home URL: file:/usr/local/jboss5/
| 20:29:00,182 INFO [ServerImpl] Library URL: file:/usr/local/jboss5/lib/
| 20:29:00,185 INFO [ServerImpl] Patch URL: file:/usr/home/demon/jprod/
| 20:29:00,186 INFO [ServerImpl] Common Base URL: file:/usr/local/jboss5/common/
| 20:29:00,187 INFO [ServerImpl] Common Library URL: file:/usr/local/jboss5/common/lib/
| 20:29:00,187 INFO [ServerImpl] Server Name: default
| 20:29:00,188 INFO [ServerImpl] Server Base Dir: /usr/local/jboss5/server
| 20:29:00,188 INFO [ServerImpl] Server Base URL: file:/usr/local/jboss5/server/
| 20:29:00,189 INFO [ServerImpl] Server Config URL: file:/usr/local/jboss5/server/default/conf/
| 20:29:00,189 INFO [ServerImpl] Server Home Dir: /usr/local/jboss5/server/default
| 20:29:00,190 INFO [ServerImpl] Server Home URL: file:/usr/local/jboss5/server/default/
| 20:29:00,190 INFO [ServerImpl] Server Data Dir: /usr/local/jboss5/server/default/data
| 20:29:00,191 INFO [ServerImpl] Server Library URL: file:/usr/local/jboss5/server/default/lib/
| 20:29:00,191 INFO [ServerImpl] Server Log Dir: /usr/local/jboss5/server/default/log
| 20:29:00,192 INFO [ServerImpl] Server Native Dir: /usr/local/jboss5/server/default/tmp/native
| 20:29:00,192 INFO [ServerImpl] Server Temp Dir: /usr/local/jboss5/server/default/tmp
| 20:29:00,193 INFO [ServerImpl] Server Temp Deploy Dir: /usr/local/jboss5/server/default/tmp/deploy
| 20:29:01,829 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/usr/local/jboss5/server/default/conf/bootstrap.xml
| 20:29:02,659 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
| 20:29:02,671 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
| 20:29:02,804 ERROR [AbstractKernelController] Error installing to Start: name=JBossVFSInitializer state=Create
| java.io.FileNotFoundException: lib doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib, file: /usr/local/jboss5/common/lib)
| at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(FileSystemContext.java:213)
| at org.jboss.virtual.VFS.getRoot(VFS.java:259)
| at org.jboss.virtual.plugins.cache.PreInitializeVFSContexts.start(PreInitializeVFSContexts.java:66)
| 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:597)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
| at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
| at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
| at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
| at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:619)
| 20:29:03,236 INFO [CopyMechanism] VFS temp dir: /usr/local/jboss5/server/default/tmp
| 20:29:03,237 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
| 20:29:05,784 INFO [ServerInfo] Java version: 1.6.0_07,The FreeBSD Foundation
| 20:29:05,785 INFO [ServerInfo] Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM 10.0-b23,The FreeBSD Foundation
| 20:29:05,785 INFO [ServerInfo] OS-System: FreeBSD 7.1-RELEASE-p4,amd64
| 20:29:05,831 INFO [JMXKernel] Legacy JMX core initialized
| 20:29:10,366 ERROR [AbstractKernelController] Error installing to Instantiated: name=bindings-classloader:0.0.0 state=Described
| java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:178)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:210)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:52)
| at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:149)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:204)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:52)
| at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:88)
| 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:597)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
| at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
| at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
| at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
| at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
| at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
| at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.io.FileNotFoundException: lib doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib, file: /usr/local/jboss5/common/lib)
| at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(FileSystemContext.java:213)
| at org.jboss.virtual.plugins.cache.AbstractVFSCache.getFile(AbstractVFSCache.java:71)
| at org.jboss.virtual.VFS.getCachedFile(VFS.java:164)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getVirtualFile(VFSClassLoaderPolicyModule.java:196)
| at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:170)
| ... 41 more
| 20:29:10,990 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@7a6dd8e1(root=/usr/local/jboss5/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
| 20:29:10,993 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@7a6dd8e1(root=/usr/local/jboss5/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
| 20:29:10,993 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@456c1227{key=org.jboss.profileservice.spi.ProfileKey(a)143b82c3[domain=default,server=default,name=default]}
| 20:29:12,193 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
| 20:29:12,201 INFO [ServerImpl] Shutdown complete
| Shutdown complete
| Halting VM
|
What problem exist? What should i do to fix this?
What not right?
Maybe i forgot something?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228084#4228084
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228084
16 years, 11 months
[JBoss Portal] - Role based landing page/portal for user
by souravm
Hi,
I face this requirement number of times whever I suggest people to use JBoss portal.
Currently JBoss portal allows all users to land up in only default portal (and default page of the default portal). Where as what many a times a project need is based on user role
a) user should be landing on to different portals or
b) user should be landing on to different pages in the default portal
I checked out the possible solution and found that it is very easy to implement this requirement by small customizing DefaultPortalObjectCommand (with the help of Identity Service module).
Just wondering why this cannot be part of the core feature of the product so that user can specify through -object.xml for a a given user role what should be the target portal ot target page in the default portal.
Any takers ? I'm pretty sure this would be a very powerful feature of the product when compared with other portal products. today Jboss Portal misses this.
Regards,
Sourav
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228074#4228074
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228074
16 years, 11 months
[JBoss jBPM] - iCal Task Management Client prototype
by aapthorp
Hi,
This is a cross-post from the jBPM design forum. I thought this would be of interest here.
To complement my jBPM iCalendar / CalDav wrapper (taskcal) I've just uploaded an experimental XUL extension for Mozilla Lightning - taskcal-x.
https://sourceforge.net/projects/taskcal/
taskcal-x adds the ability to Mozilla Lightning, to open a task form, set task status, set a task transition (reason) and a comment to task . I've had to use iCalendar 'X-' properties for exchanging the form and transition information.
The current version of taskcal (0.1) creates a default form using the task variables. These can be viewed and updated in taskcal-x. A future version of taskcal will allow the developer to design the form and experiment with different task rendering options (e.g. HTML, XUL and XForms), probably using velocity.
Therefore its currently best tested with simple approval type tasks.
I'd really like some feedback on this, especially in refining the mappings and use of the 'X-' properties.
P.S. The extensions can be enabled in taskcal by setting the experimental attribute to true in jbpm.cfg.xml. e.g.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228073#4228073
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228073
16 years, 11 months