[JBoss Seam] - Re: Seam 1.1.5.GA released/file upload problem
by shane.bryzakï¼ jboss.com
"JoviJojo" wrote : thanks for the reply...
| 1) i tried to upload two images: one jpeg size of 43kb, the other one is bitmap size of 16kb.
| 2) i did not make a copy of the exceptions, but i can see from the server log that the image was actually created... although we in our application can leave without actually displaying the image on the page, but still i would like to see it actually working.
| 3) i would also like to test this on sql server see if this binary files can actually be persisted into database. any tips on that? (have not yet started on this)
| many thanks in advance and look forward to hearing from you again, regs, Joan
|
|
Seamspace doesn't support bitmaps, so that's why they don't work. I'm not sure why the jpeg isn't working though.. do the images in the example appear on the main page? Have you tried different jpegs, or a png file?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009798#4009798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009798
19Â years, 2Â months
[Beginners Corner] - AppServer won't start from Eclipse
by arnieAustin
I downloaded the AS (did not use JEMS) and configured my -ds.xml file and supplied the drivers. If I start the AS from the command line, it starts w/o issue and the application runs (well, at least up to the bug I'm trying to diagnose). But if I start it from w/i Eclipse, it begins to start, then suddenly shuts down. (see below). What gives? I am on OS X (10.4.8)
| 2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=DestinationManager
| 2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.mq:service=DestinationManager
| 2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] Creating service jboss.mq:service=DestinationManager
| 2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.mq:service=DestinationManager waiting on jboss.mq:service=PersistenceManager
| 2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.mq:service=DestinationManager on jboss.mq:service=PersistenceManager
| 2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=PersistenceManager
| 2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.mq:service=PersistenceManager
| 2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] Creating service jboss.mq:service=PersistenceManager
| 2007-02-01 19:27:28,865 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.mq:service=PersistenceManager waiting on jboss.jca:service=DataSourceBinding,name=DefaultDS
| 2007-02-01 19:27:28,866 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.mq:service=PersistenceManager on jboss.jca:service=DataSourceBinding,name=DefaultDS
| 2007-02-01 19:27:29,108 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: hsqldb-jdbc2-service.xml
| 2007-02-01 19:27:29,109 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/Applications/jboss/jboss405ga/server/default/deploy/jms/hsqldb-jdbc2-service.xml
| 2007-02-01 19:27:29,110 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Unable to obtain watchUrl from deployer. Use url: file:/Applications/jboss/jboss405ga/server/default/deploy/jms/hsqldb-jdbc2-service.xml
| java.lang.NullPointerException
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.getDeployer(AbstractDeploymentScanner.java:88)
| at org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.getLastModified(URLDeploymentScanner.java:762)
| at org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.deployed(URLDeploymentScanner.java:734)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:432)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.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.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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.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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:613)
| 2007-02-01 19:27:29,132 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] java.lang.NullPointerException
| 2007-02-01 19:27:29,134 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
| 2007-02-01 19:27:29,134 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Destroyed jboss.deployment:type=DeploymentScanner,flavor=URL
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss.jdbc:service=metadata
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.system.ServiceController] destroying service: jboss.jdbc:service=metadata
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss.jdbc:service=metadata dependent services are: []
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Destroying jboss.jdbc:service=metadata
| 2007-02-01 19:27:29,135 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Destroyed jboss.jdbc:service=metadata
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=pooled
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=pooled
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=pooled dependent services are: []
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.pooled.server.PooledInvoker] Destroying jboss:service=invoker,type=pooled
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.pooled.server.PooledInvoker] Destroyed jboss:service=invoker,type=pooled
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=local
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=local
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=local dependent services are: []
| 2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.local.LocalInvoker] Destroying jboss:service=invoker,type=local
| 2007-02-01 19:27:29,137 DEBUG [org.jboss.invocation.local.LocalInvoker] Destroyed jboss:service=invoker,type=local
| 2007-02-01 19:27:29,137 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=jrmp
| 2007-02-01 19:27:29,137 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=jrmp
| 2007-02-01 19:27:29,137 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=jrmp dependent services are: [ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
| State: STOPPED
| I Depend On:
| jboss:service=invoker,type=jrmp
| Depends On Me:
| jboss:service=ClientUserTransaction
| , ObjectName: jboss:service=proxyFactory,target=ClientUserTransaction
| State: STOPPED
| I Depend On:
| jboss:service=invoker,type=jrmp
| Depends On Me:
| jboss:service=ClientUserTransaction
| ]
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009791#4009791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009791
19Â years, 2Â months
[JBoss jBPM] - JBPM Fork Issues
by jorell
I was using the Fork node and had some questions about it:
1- It appears that its necessary to name the outgoing transitions from a fork node. Is this true? when I didnt name them the token went to just the first transitions, proceeded to join and onwards.
2- In my tests I havent been able to get concurrent processing after a fork. I looked at the code of Fork.java and in the execute method the leave on each of the transitions is called in a loop. So the effect of this is that first one path of execution is traversed till it reaches the join node and then the other. There isnt any concurrent processing. For concurrent processing the fork node should leave on each of its outgoing transitions in a new thread. I'm probably missing something basic here so please let me know.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009786#4009786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009786
19Â years, 2Â months