4 Replies Latest reply on Jun 16, 2007 7:00 AM by ilhami visne

    Seam 1.3.0 Alpha - pdf component causes problem

    ilhami visne Newbie

      i was trying seam 1.3.0. i created a new seam project, added a few entity classes. it has successfully deployed.

      After that i wanted to try pdf component. therefore i made these changes:

      in components.xml: added a pdf name space and this declaration <pdf:document-store use-extensions="true" />

      in web.xml: added these lines

      <servlet-name>Document Store Servlet</servlet-name>
      <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>

      <servlet-mapping>
      <servlet-name>Document Store Servlet</servlet-name>
      <url-pattern>*.pdf</url-pattern>
      </servlet-mapping>

        • 1. Re: Seam 1.3.0 Alpha - pdf component causes problem
          ilhami visne Newbie

          unintentionally i clicked on submit. here i go on writing:

          after those changes, if i try to deploy, i am getting these warnings:

          WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
          WARN [ServiceController] Problem starting service persistence.units:ear=methcancerdb.ear,unitName=methcancerdb
          javax.persistence.PersistenceException: [PersistenceUnit: methcancerdb] class or package not found

          Could this be a bug? Or am i doing something wrong?

          • 2. Re: Seam 1.3.0 Alpha - pdf component causes problem
            Norman Richards Master

            It doesn't look remotely related to PDF. Do you get an error from a full restart of the server?

            • 3. Re: Seam 1.3.0 Alpha - pdf component causes problem
              ilhami visne Newbie

               

              "norman.richards@jboss.com" wrote:
              It doesn't look remotely related to PDF. Do you get an error from a full restart of the server?


              Yes, you are right. it has nothing to do with it. But i am still getting exceptions. So i tried to prognosis it: i still don't know why, but here what i did:

              first i've created a fresh new seam project with default settings. it has deployed itself successfully. so i have added an entity bean. before redeploying i call undeploy evertime. Deployed and it was successfull.

              from my other project, i copied an entity and pasted in this new project. But this time i couldn't deploy successfully. i deleted it immediately and redeployed. still got the same error. after that i couldn't deploy it. i tried even to shutdown and restart the server. here is the exact output.

              21:35:09,843 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DenemeDatasource' to JNDI name 'java:DenemeDatasource'
              21:35:09,953 INFO [EARDeployer] Init J2EE application: file:/D:/projects/jboss-4.2.0.GA/server/default/deploy/Deneme.ear
              21:35:13,265 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
              21:35:13,265 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=Deneme.ear,unitName=Deneme with dependencies:
              21:35:13,265 INFO [JmxKernelAbstraction] jboss.jca:name=DenemeDatasource,service=DataSourceBinding
              21:35:13,265 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=Deneme.ear,unitName=Deneme
              21:35:13,281 INFO [Ejb3Configuration] found EJB3 Entity bean: model.com.mydomain.methcancerdb.NewClassentitt
              21:35:13,437 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
              21:35:13,437 WARN [ServiceController] Problem starting service persistence.units:ear=Deneme.ear,unitName=Deneme
              javax.persistence.PersistenceException: [PersistenceUnit: Deneme] class or package not found
               at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1089)
               at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:886)
               at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:772)
               at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:407)
               at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
               at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
               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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
               at sun.reflect.GeneratedMethodAccessor3.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 $Proxy130.start(Unknown Source)
               at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
               at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:551)
               at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:333)
               at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
               at sun.reflect.GeneratedMethodAccessor3.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 $Proxy33.start(Unknown Source)
               at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
               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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
               at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
               at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
               at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
               at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
               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 $Proxy34.start(Unknown Source)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
               at sun.reflect.GeneratedMethodAccessor18.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.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 $Proxy9.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
               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$ScannerThread.loop(AbstractDeploymentScanner.java:274)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
              Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: model.com.mydomain.methcancerdb.NewClassentitt
               at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
               at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
               at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
               at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
               at java.lang.Class.forName0(Native Method)
               at java.lang.Class.forName(Class.java:242)
               at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:112)
               at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1005)
               at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1077)
               ... 102 more
              21:35:14,437 INFO [EJB3Deployer] Deployed: file:/D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme.jar
              21:35:14,453 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
              21:35:14,453 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Deneme.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies:
              21:35:14,687 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TimerServiceDispatcher ejbName: TimerServiceDispatcher
              21:35:14,953 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
              21:35:14,953 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Deneme.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 with dependencies:
              21:35:14,968 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener
              21:35:14,984 INFO [EJB3Deployer] Deployed: file:/D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/jboss-seam.jar
              21:35:15,437 INFO [TomcatDeployer] deploy, ctxPath=/Deneme, warUrl=.../tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/
              21:35:15,750 INFO [ContextConfig] WARNING: Security role name NONE used in an <auth-constraint> without being defined in a <security-role>
              21:35:16,812 INFO [ServletContextListener] Welcome to Seam 1.3.0.ALPHA
              21:35:16,828 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-remoting.jar
              21:35:16,843 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/jboss-seam.jar
              21:35:16,859 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-ioc.jar
              21:35:16,953 INFO [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
              21:35:16,953 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
              21:35:16,953 INFO [Initialization] Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
              21:35:16,953 INFO [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
              21:35:17,437 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
              21:35:17,437 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-debug.jar
              21:35:17,437 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme.jar
              21:35:17,437 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-pdf.jar
              21:35:17,437 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-ui.jar
              21:35:17,453 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-mail.jar
              21:35:17,937 INFO [Initialization] Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
              21:35:17,937 INFO [Initialization] reading /WEB-INF/components.xml
              21:35:18,031 INFO [Initialization] reading jar:file:/D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/jboss-seam.jar!/META-INF/components.xml
              21:35:18,031 INFO [Initialization] reading jar:file:/D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
              21:35:18,437 INFO [Initialization] reading jar:file:/D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
              21:35:18,437 INFO [Initialization] reading properties from: /seam.properties
              21:35:18,437 INFO [Initialization] reading properties from: /jndi.properties
              21:35:18,453 INFO [Initialization] initializing Seam
              21:35:18,500 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-debug.jar
              21:35:19,000 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme.jar
              21:35:19,250 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-pdf.jar
              21:35:19,359 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-ui.jar
              21:35:19,593 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-mail.jar
              21:35:19,625 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-remoting.jar
              21:35:19,765 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/jboss-seam.jar
              21:35:21,125 INFO [Scanner] scanning: /D:/projects/jboss-4.2.0.GA/server/default/tmp/deploy/tmp59329Deneme.ear-contents/Deneme-exp.war/WEB-INF/lib/jboss-seam-ioc.jar
              21:35:21,234 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
              21:35:21,250 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
              21:35:21,250 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.ajax4jsfFilter
              21:35:21,515 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
              21:35:21,562 WARN [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
              21:35:21,562 INFO [Initialization] Installing components...
              21:35:21,578 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
              21:35:21,578 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
              21:35:21,953 INFO [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
              21:35:21,953 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
              21:35:21,953 INFO [Component] Component: org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
              21:35:21,953 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
              21:35:22,453 INFO [Component] Component: org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
              21:35:22,453 INFO [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
              21:35:22,453 INFO [Component] Component: org.jboss.seam.core.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ThreadPoolDispatcher
              21:35:22,515 INFO [Component] Component: org.jboss.seam.core.eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
              21:35:22,953 INFO [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
              21:35:22,953 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
              21:35:22,968 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
              21:35:22,968 INFO [Component] Component: org.jboss.seam.core.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
              21:35:23,453 INFO [Component] Component: org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
              21:35:23,453 INFO [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
              21:35:23,453 INFO [Component] Component: org.jboss.seam.core.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
              21:35:23,453 INFO [Component] Component: org.jboss.seam.core.image, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Image
              21:35:23,953 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
              21:35:23,953 INFO [Component] Component: org.jboss.seam.core.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
              21:35:23,953 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
              21:35:23,953 INFO [Component] Component: org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
              21:35:24,453 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
              21:35:24,468 INFO [Component] Component: org.jboss.seam.core.messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
              21:35:24,468 INFO [Component] Component: org.jboss.seam.core.methodContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.MethodContext
              21:35:24,468 INFO [Component] Component: org.jboss.seam.core.pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
              21:35:24,953 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
              21:35:24,968 INFO [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceContexts
              21:35:24,968 INFO [Component] Component: org.jboss.seam.core.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
              21:35:24,968 INFO [Component] Component: org.jboss.seam.core.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
              21:35:25,453 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
              21:35:25,453 INFO [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions
              21:35:25,453 INFO [Component] Component: org.jboss.seam.core.servletSession, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ServletSession
              21:35:25,453 INFO [Component] Component: org.jboss.seam.core.sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
              21:35:25,953 INFO [Component] Component: org.jboss.seam.core.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
              21:35:25,953 INFO [Component] Component: org.jboss.seam.core.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.TimeZone
              21:35:25,953 INFO [Component] Component: org.jboss.seam.core.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.TimeZoneSelector
              21:35:25,953 INFO [Component] Component: org.jboss.seam.core.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
              21:35:26,453 INFO [Component] Component: org.jboss.seam.core.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
              21:35:26,453 INFO [Component] Component: org.jboss.seam.core.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Validation
              21:35:26,453 INFO [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
              21:35:26,453 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
              21:35:26,453 INFO [Component] Component: org.jboss.seam.debug.hotDeployFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.hot.HotDeployFilter
              21:35:26,468 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
              21:35:26,484 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
              
              21:35:26,484 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
              21:35:26,484 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
              21:35:26,484 INFO [Component] Component: org.jboss.seam.jsf.jsfProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.jsf.JsfProvider
              21:35:26,500 INFO [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
              21:35:26,500 INFO [Component] Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
              21:35:26,515 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
              21:35:26,515 INFO [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
              21:35:26,515 INFO [Component] Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
              21:35:26,531 INFO [Component] Component: org.jboss.seam.security.configuration, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
              21:35:26,531 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
              21:35:26,546 INFO [Component] Component: org.jboss.seam.theme.theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
              21:35:26,546 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
              21:35:26,546 INFO [Component] Component: org.jboss.seam.transaction.transaction, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
              21:35:26,546 INFO [Component] Component: org.jboss.seam.ui.entityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverter
              21:35:26,562 INFO [Component] Component: org.jboss.seam.ui.entityConverterStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.EntityConverterStore
              21:35:26,578 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
              21:35:26,578 INFO [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
              21:35:26,578 INFO [Component] Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
              21:35:26,578 INFO [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
              21:35:26,578 INFO [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilter
              21:35:26,593 INFO [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
              21:35:26,609 INFO [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
              21:35:26,609 INFO [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
              21:35:26,609 INFO [Component] Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
              21:35:26,625 INFO [Lifecycle] starting up: org.jboss.seam.ui.resource.styleResource
              21:35:26,625 INFO [Lifecycle] starting up: org.jboss.seam.remoting.remoting
              21:35:26,625 INFO [Lifecycle] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
              21:35:26,625 INFO [Lifecycle] starting up: org.jboss.seam.web.multipartFilter
              21:35:26,625 INFO [Lifecycle] starting up: org.jboss.seam.web.exceptionFilter
              21:35:26,640 INFO [Lifecycle] starting up: org.jboss.seam.debug.hotDeployFilter
              21:35:26,640 INFO [Lifecycle] starting up: org.jboss.seam.ui.resource.webResource
              21:35:26,640 INFO [Lifecycle] starting up: org.jboss.seam.web.ajax4jsfFilter
              21:35:26,671 INFO [Lifecycle] starting up: org.jboss.seam.web.redirectFilter
              21:35:26,671 INFO [Initialization] done initializing Seam
              21:35:26,718 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
              21:35:26,718 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.ajax4jsf.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
              21:35:27,156 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
              21:35:27,187 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
              21:35:27,187 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.ajax4jsf.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
              21:35:27,656 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
              21:35:27,656 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
              21:35:27,656 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
              21:35:27,656 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.ajax4jsf.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
              21:35:28,156 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
              21:35:28,171 INFO [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
              21:35:28,171 INFO [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.ajax4jsf.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, javax.faces.DEFAULT_SUFFIX=.xhtml, javax.faces.STATE_SAVING_METHOD=client}
              21:35:28,656 INFO [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
              21:35:28,656 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
              21:35:28,656 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
              21:35:28,656 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
              21:35:28,656 INFO [SeamFilter] Initializing filter: org.jboss.seam.debug.hotDeployFilter
              21:35:28,750 INFO [EARDeployer] Started J2EE application: file:/D:/projects/jboss-4.2.0.GA/server/default/deploy/Deneme.ear
              21:35:29,156 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
              
              --- MBeans waiting for other MBeans ---
              ObjectName: persistence.units:ear=Deneme.ear,unitName=Deneme
               State: FAILED
               Reason: javax.persistence.PersistenceException: [PersistenceUnit: Deneme] class or package not found
               I Depend On:
               jboss.jca:service=DataSourceBinding,name=DenemeDatasource
              
              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: persistence.units:ear=Deneme.ear,unitName=Deneme
               State: FAILED
               Reason: javax.persistence.PersistenceException: [PersistenceUnit: Deneme] class or package not found
               I Depend On:
               jboss.jca:service=DataSourceBinding,name=DenemeDatasource
              
              
              


              • 4. Re: Seam 1.3.0 Alpha - pdf component causes problem
                ilhami visne Newbie

                I found the source of problem. i explain here, maybe some other netbeans users too need this.

                i am a netbeans user and open seam projects with netbeans. on my computer are jdk 5 and jdk 6 installed.
                i run netbeans with jdk 6 because of swing improvements in java 6.

                i knew already, that i have to use jdk 5 for seam and jboss.
                therefore i set java_home to jdk 5 and tested, while building a seam project, but outside of netbeans.

                the reason was that the built-in ant uses the jdk of netbeans on which it runs. it has compiled sources with jdk 6.
                i couldn't figure out it immediately, because sometimes it deploys successfully, but most of the times not.

                one should set explicitly in netbeans jdk to 5 for a seam project, if jboss runs on jdk 5.

                a question: can't error log show a proper message like: hey, this is compiled with jdk 6 and i am not happy with it :)