[Tomcat, HTTPD, Servlets & JSP] - Add anchor of each image in datatable
by argonist
Hello,
how can I add an anchor of each image in datatable? So I can link to an image on gallery.
| <t:dataTable id="gallery" newspaperColumns="3"
| value="#{interpreterDataImageHandler.normalizedImageList}"
| newspaperOrientation="horizontal" var="imageList"
| styleClass="galleryTable" forceIdIndexFormula="#{imageList.id}"
| forceIdIndex="true" forceId="true">
| <h:column>
| <h:panelGrid columns="1" columnClasses="column2"
| styleClass="galleryRow">
| <t:graphicImage
| value="/images/#{imageList.filename}" />
| <t:outputText
| value="ID des Bildes: #{imageList.id}" />
| <t:outputText
| value="Größe: #{imageList.imageHeight}x#{imageList.imageWidth}" />
| <t:outputText value="Datum der Upload: #{imageList.uploadDate}" />
| <t:outputText value="#{imageList.comment}" /> <t:commandButton
| styleClass="button1"
| action="#{interpreterDataImageHandler.deleteImage}"
| value="Bild löschen " />
| </h:panelGrid>
| </h:column>
| </t:dataTable>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077636#4077636
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077636
18Â years, 10Â months
[JBoss Portal] - How to access portlet preferences when not logged in
by AndersF
Hello everyone!
I have installed JBoss Portal 2.41-GA on my win XP computer. It is using the 1.5.0_11 jdk.
the purpose was to try out some portlets i had made with myeclipse.
Everything worked fine except for the situation when my portlet tried to collect the portlet preferences when not logged in to the Jboss Portal.
Then the portlet returned with the default preferences statically declared in portlet.xml, or none if none defined.
When Im logged in to the Portal I can collect the preferences and also dynamically changing them with the portlet's doEdit/processAction methods. And the portlet uses my changed preferences as long as Im logged in.
I have tried many different approaches:
- setting readonly = false in the portlet.xml for each portlet preference.
- adding portlet-preferences tag to all the xml:s, like -instances.xml and -object.xml
- logged in and changed portal security in every possible way i could think of.
I also tried to change the preferences in the News-feed portlet that comes with the default installation of Jboss portal. When not logged in, the news-feed portlet used the preferences from the default declaration in portlet.xml and not the changes i had made when logged in.
So, what am I missing here?
Is there a way getting the preferences you have stored in the portlet even if your not logged in?
thankful for any response,
Anders
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077635#4077635
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077635
18Â years, 10Â months
[JBossWS] - Re: WS-Security with JAX-RPC
by FabrizioLXXIII
When I deploy my Web Service, I see the following log messages in server.log file:
2007-08-24 09:01:55,166 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:55,166 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/D:/JBoss/server/all/deploy/ws_producer.ear -> D:\JBoss\server\all\tmp\deploy\tmp63669ws_producer.ear
| 2007-08-24 09:01:55,259 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@d8a1a0
| 2007-08-24 09:01:55,259 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:55,280 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: ws_producer.war
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@7a0b49e2 { url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war }
| deployer: null
| status: null
| state: CONSTRUCTED
| watch: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| altDD: null
| lastDeployed: 0
| lastModified: 0
| mbeans:
| , isDirectory: false
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@4e79f1, cl=org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@4e79f1, cl=org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=0}
| 2007-08-24 09:01:55,301 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg:
| 2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] found 1 subpackages of file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:55,445 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer]
| 2007-08-24 09:01:55,445 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Begin init
| 2007-08-24 09:01:55,445 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Unpacking war to: D:\JBoss\server\all\tmp\deploy\tmp63669ws_producer.ear-contents\ws_producer-exp.war
| 2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Replaced war with unpacked contents
| 2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] Was unable to delete war file
| 2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] webContext: /ws_producer
| 2007-08-24 09:01:55,600 DEBUG [org.jboss.web.tomcat.service.JBossWeb] warURL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
| 2007-08-24 09:01:55,632 DEBUG [org.jboss.web.tomcat.service.JBossWeb] End init
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=52}
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.web.tomcat.service.JBossWeb] create, ws_producer.war
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=ws_producer.war,id=2047560162 dependents are: []
| 2007-08-24 09:01:55,642 DEBUG [org.jboss.ws.integration.jboss42.DeployerInterceptorJSE] create: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:55,663 DEBUG [org.jboss.ws.core.server.ServiceEndpointDeployer] create: ws_producer.ear/ws_producer.war
| 2007-08-24 09:01:55,673 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] START buildMetaData: [name=ws_producer.ear/ws_producer.war]
| 2007-08-24 09:01:55,756 DEBUG [org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsdl/Service.wsdl
| 2007-08-24 09:01:56,696 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] createConfiguration from: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/jboss-wsse-server.xml
| 2007-08-24 09:01:56,769 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] Add keystore: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsse.keystore
| 2007-08-24 09:01:56,769 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] Add truststore: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/wsse.truststore
| 2007-08-24 09:01:56,800 DEBUG [org.jboss.ws.core.server.ServiceEndpointManager] Using WebServicePort: 8080
| 2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Reconfiguration forced, new config is 'Standard WSSecurity Endpoint'
| 2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Create new config [name=Standard WSSecurity Endpoint,file=META-INF/standard-jaxrpc-endpoint-config.xml]
| 2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] getConfig: [name=Standard WSSecurity Endpoint,url=META-INF/standard-jaxrpc-endpoint-config.xml]
| 2007-08-24 09:01:56,810 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] parse: file:/D:/JBoss/server/all/deploy/jbossws.sar/META-INF/standard-jaxrpc-endpoint-config.xml
| 2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure EndpointMetaData
| 2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 1 PRE handlers
| 2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 ENDPOINT handlers
| 2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 POST handlers
| 2007-08-24 09:01:58,206 DEBUG [org.jboss.ws.metadata.builder.MetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://127.0.0.1:8080/ws_producer/service'
| 2007-08-24 09:01:58,402 DEBUG [org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder] END buildMetaData:
| UnifiedMetaData:
| implementation: jbossws-1.2.1.GA (build=200704151756)
| deploymentName: ws_producer.ear/ws_producer.war
| securityDomain: null
|
| ServiceMetaData:
| qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}Service
| refName=null
| wsdName=Service
| wsdlFile=WEB-INF/wsdl/Service.wsdl
| wsdlLocation=null
| jaxrpcMapping=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/WEB-INF/jaxrpc-mapping.xml
| publishLocation=null
| securityConfig=found
| properties=null
|
| TypesMetaData:
|
|
| ServerEndpointMetaData:
| type=JAXRPC
| qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}ServicePort
| id=jboss.ws:context=ws_producer,endpoint=WsProducerServlet
| address=http://127.0.0.1:8080/ws_producer/service
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| linkName=WsProducerServlet
| implName=it.auriga.jbossintegrationtest.wssecurity.producer.ServiceImpl
| seiName=it.auriga.jbossintegrationtest.wssecurity.producer.Service
| serviceMode=null
| portComponentName=ServicePort
| contextRoot=/ws_producer
| urlPattern=/service
| configFile=META-INF/standard-jaxrpc-endpoint-config.xml
| configName=Standard WSSecurity Endpoint
| authMethod=null
| transportGuarantee=null
| secureWSDLAccess=false
| properties={}
|
| OperationMetaData:
| qname={http://service.wssecurity.jbossintegrationtest.auriga.it/}run
| javaName=run
| style=rpc/literal
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName=String_1
| partName=String_1
| xmlType={http://www.w3.org/2001/XMLSchema}string
| javaType=java.lang.String
| mode=IN
| inHeader=false
| index=0
| ParameterMetaData:
| xmlName=int_2
| partName=int_2
| xmlType={http://www.w3.org/2001/XMLSchema}int
| javaType=int
| mode=IN
| inHeader=false
| index=1
| ReturnMetaData:
| xmlName=result
| partName=result
| xmlType={http://www.w3.org/2001/XMLSchema}string
| javaType=java.lang.String
| mode=OUT
| inHeader=false
| index=-1
|
| HandlerMetaDataJAXRPC:
| type=PRE
| name=WSSecurityHandlerInbound
| class=org.jboss.ws.extensions.security.jaxrpc.WSSecurityHandlerInbound
| params=[]
| headers=[]
| roles=[]
| ports=[]
| 2007-08-24 09:01:58,650 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding
| 2007-08-24 09:01:58,723 DEBUG [org.jboss.ws.core.server.ServiceEndpointManager] WebService created: jboss.ws:context=ws_producer,endpoint=WsProducerServlet
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ws_producer.war
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.EARDeployment] Creating jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.EARDeployment] Created jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EARDeployment,url='ws_producer.ear' dependents are: []
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ws_producer.ear
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webContext: /ws_producer
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] warURL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@1ce56f8
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
| 2007-08-24 09:01:58,816 INFO [org.jboss.web.tomcat.service.TomcatDeployer] deploy, ctxPath=/ws_producer, warUrl=.../tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/
| 2007-08-24 09:01:58,816 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@1afbbe3
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@18b70fb{ url=file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear ,addedOrder=52}
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@5d173
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@92e78c
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@9fbe93
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Bound java:comp/ORB
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] addEnvEntries
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceEnvRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkResourceRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkMessageDestinationRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkEjbLocalRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkServiceRefs
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] linkSecurityDomain
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] No security-domain given, using default: java:/jaas/other
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
| 2007-08-24 09:01:58,899 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
| 2007-08-24 09:01:58,981 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Using session cookies default setting
| 2007-08-24 09:01:59,333 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5'
| 2007-08-24 09:01:59,343 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Initialized: {WebApplication: /D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, URL: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer-exp.war/, classLoader: java.net.FactoryURLClassLoader@1afbbe3:28294115} jboss.web:j2eeType=WebModule,name=//localhost/ws_producer,J2EEApplication=none,J2EEServer=none
| 2007-08-24 09:01:59,343 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=ws_producer.war,id=2047560162
| 2007-08-24 09:01:59,343 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=ws_producer.war,id=2047560162 dependent components: []
| 2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.integration.jboss42.DeployerInterceptorJSE] start: file:/D:/JBoss/server/all/tmp/deploy/tmp63669ws_producer.ear-contents/ws_producer.war
| 2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.core.server.ServiceEndpointDeployer] start: ws_producer.ear/ws_producer.war
| 2007-08-24 09:01:59,354 DEBUG [org.jboss.ws.core.server.WSDLFilePublisher] Publish WSDL file: WEB-INF/wsdl/Service.wsdl
| 2007-08-24 09:01:59,374 INFO [org.jboss.ws.core.server.WSDLFilePublisher] WSDL published to: file:/D:/JBoss/server/all/data/wsdl/ws_producer.ear/ws_producer.war/Service.wsdl
| 2007-08-24 09:01:59,374 DEBUG [org.jboss.ws.metadata.umdm.UnifiedMetaData] Eagerly initialize the meta data model
| 2007-08-24 09:01:59,395 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.String it.auriga.jbossintegrationtest.wssecurity.producer.Service.run(java.lang.String,int) throws java.rmi.RemoteException
| 2007-08-24 09:02:00,015 INFO [org.jboss.ws.core.server.ServiceEndpointManager] WebService started: http://127.0.0.1:8080/ws_producer/service
| 2007-08-24 09:02:00,015 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ws_producer.war
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDeployment,url='ws_producer.ear'
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EARDeployment,url='ws_producer.ear' dependent components: []
| 2007-08-24 09:02:00,026 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ws_producer.ear
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/JBoss/server/all/deploy/ws_producer.ear
| 2007-08-24 09:02:00,026 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/JBoss/server/all/deploy/ws_producer.ear -> file:/D:/JBoss/server/all/deploy/ws_producer.ear
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077634#4077634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077634
18Â years, 10Â months
[JBoss Seam] - Exception with SelectManyCheckbox
by yohann49
Hello !!!!!!
I have a list of report(already persist in database), and I want to display them on a jsf page with selectManyCheckbox.But when I want to acces to the page I have this exception :
Exception during request processing: javax.servlet.ServletException: Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectMany(j_id28). Found null.
My jsf page :
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core">
|
| <body>
|
| <ui:composition template="templates/client.xhtml">
|
| <ui:define name="servicesclients">
|
| <h:form>
|
| <h:selectManyCheckbox value="#{reports}">
| <f:selectItems itemValue="#{reporte}" var="rep" itemLabel="#{rep.descReport}"/>
| </h:selectManyCheckbox>
|
|
|
| </h:form>
|
|
| </ui:define>
|
| </ui:composition>
|
| </body>
| </html>
|
My entity :
|
| @Entity
| @Name("Report")
| public class Report implements Serializable {
|
| @Id
| @GeneratedValue(strategy = GenerationType.AUTO)
| private Long reportId;
| private String repName;
| private String descReport;
|
| /**
| *Creates the foreign key in relation to the category table
| */
| @OneToMany (mappedBy = "reportId")
| private List<Category> categories;
|
| /**
| *Creates the foreign key in relation to the ContactReportBinder table
| */
| @ManyToOne
| @JoinColumn (name = "binderId_fk")
| private ContactReportBinder binderId;
|
| /** Creates a new instance of Report */
| public Report() {
| }
|
| Then Getters and setters
|
and My Bean :
| @Stateless
| @Name("ReportManager")
| @Scope(CONVERSATION)
| public class ReportManager implements com.pingwy.web.front.ReportManagerLocal, Serializable {
|
| /**
| * Creates a new instance of ReportManager
| */
|
| @In
| private EntityManager em;
|
| @DataModel @Out(required = false) private List<Report> reports;
|
| @DataModelSelection @Out(required = false) @In(required = false) SelectItem reporte;
|
| @Factory("reports")
| public List<Report> getReports() {
|
|
| return em.createQuery("select r from Report r").getResultList();
|
| }
|
| public void setReports(List<Report> reports) {
|
| this.reports = reports;
| }
|
|
|
| public SelectItem getReporte() {
| return reporte;
| }
|
|
Thanks for your help in advance.
Yohann
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077633#4077633
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077633
18Â years, 10Â months
[Beginners Corner] - jmx-console security exception when trying to start JBoss se
by sparshaadi
I have the following setup on winxp sp2
ECLIPSE FOR JEE developers
Version: 3.3.0
Build id: I20070621-1340
Plugin :
JBoss IDE 2.0.0 beta3
JBoss Server :
JBoss [Zion] 4.0.5.GA (with ejb3.0 profile)
I have setup the server in eclipse but after I try to start it, it gives me following exception :
"Failure : Security Exception: Failed to authenticate principal=null, securityDomain=jmx-console"
with following console output :
12:13:09,437 INFO [Server] Starting JBoss (MX MicroKernel)...
12:13:09,468 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
12:13:09,468 INFO [Server] Home Dir: E:\jboss_home
12:13:09,468 INFO [Server] Home URL: file:/E:/jboss_home/
12:13:09,500 INFO [Server] Patch URL: null
12:13:09,500 INFO [Server] Server Name: default
12:13:09,500 INFO [Server] Server Home Dir: E:\jboss_home\server\default
12:13:09,500 INFO [Server] Server Home URL: file:/E:/jboss_home/server/default/
12:13:09,500 INFO [Server] Server Log Dir: E:\jboss_home\server\default\log
12:13:09,500 INFO [Server] Server Temp Dir: E:\jboss_home\server\default\tmp
12:13:09,500 INFO [Server] Root Deployment Filename: jboss-service.xml
12:13:12,171 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
12:13:12,171 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_02-b06,Sun Microsystems Inc.
12:13:12,171 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:13:13,671 INFO [Server] Core system initialized
12:13:19,390 INFO [WebService] Using RMI server codebase: http://AADITECH11:8083/
12:13:19,468 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:13:20,781 WARN [NamingService] Context.PROVIDER_URL in server jndi.properties, url=localhost:1099
12:13:24,718 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://192.168.30.1:3873/]
12:13:37,859 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
12:13:40,140 INFO [SnmpAgentService] SNMP agent going active
12:13:44,609 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000D3139322E3136382E33302E3100000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E33302E3100000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
12:13:45,156 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000D3139322E3136382E33302E3100000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E33302E3100000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
12:13:47,109 INFO [Embedded] Catalina naming disabled
12:13:47,265 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
12:13:47,265 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
12:13:48,546 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:13:48,562 INFO [Catalina] Initialization processed in 1297 ms
12:13:48,562 INFO [StandardService] Starting service jboss.web
12:13:48,562 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
12:13:48,687 INFO [StandardHost] XML validation disabled
12:13:48,781 INFO [Catalina] Server startup in 219 ms
12:13:49,250 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
12:13:50,156 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:13:51,093 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
12:13:51,546 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp21770jbossws-context-exp.war/
12:13:51,937 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
12:13:54,562 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
I can start this server normally outside eclipse (using the run.bat) without any problems !
Please help .
Regards,
KJ
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077629#4077629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077629
18Â years, 10Â months