[JBoss-user] [JBoss Portal] - Re: Creating Your Own jboss-portal.sar
Doug, can you be more specific about JAAS Login modules. Where to look at JAAS Login modules in jboss portal code? schnelzer wrote : Other than that you don't need to modify the jboss-portal.sar. There a number of different JAAS Login modules that are provided with JBoss AS. If one fits your needs, then its a pretty easy configuration change. Andrej View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884480#3884480 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884480 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: examples
Here is another less hardcoded solution that reads name of the JSP file as an portlet parameter: Portlet's doView() method: String startJSPPage = getPortletConfig().getInitParameter(startPage); | PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher( | startJSPPage); | rd.include(request, response); | Portlet.xml: portlet | portlet-nameTestPortlet/portlet-name | portlet-classsi.avris.centrala.jbportal.portlet.Test/portlet-class | init-param | namestartPage/name | descriptionStart JSP page/description | value/WEB-INF/jsp/StartPage.jsp/value | /init-param | supported-localeen/supported-locale | !-- resource-bundleResource/resource-bundle -- | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | portlet-info | titleMy JSP Test Portlet/title | /portlet-info |/portlet | This way path to start JSP file can be changed without modifying code. Andrej View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884441#3884441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884441 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: jbp 2.0 has lots of pitfalls
Hi Yang, have you submited the patch already? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884283#3884283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884283 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: jbp 2.0 has lots of pitfalls
Hi yxyang! You've done a great job! Can you please share your changed source code, so we don't need to repeat the effort. This would be a very generous move. Andrej (andrej.tibaut*AT*uni-mb.si) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884176#3884176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884176 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: helloworld page reuse user/admin portlet
Hi! anonymous wrote : After rebuild and redeploy, some windows such as forum, test etc displayed properly. But user portlet window and admin window only displayed the decoration (no contents are displayed). | What have you rebuilt...? Wasn't it enough just to remove page definitions, portlet definitions ... from XML descriptors from the folder portal-core.war? I will follow your idea and want to know more details. Thanks, Andrej View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884204#3884204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884204 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: jbp 2.0 has lots of pitfalls
Hi! Would you mind to send your code to my email? andrej.tibaut*AT*uni-mb.si I want to learn from your code. Thanks, Andrej View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884205#3884205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3884205 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Runtime JMS queue creation
Hi Adrian, thank for the short but efficient answer. I have succesfully implemented my scenario! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3866310#3866310 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866310 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - How to send large XML file
In my code I generate XML file from a database (table -- XML) and want to send it as a JMS message to a MDB @ JBoss server. Max file size is 16MB. Because of the size the only reasonably way seems to be compressing the XML file using ZIP (Zipentry, compressed size is 500KB) or even better GZIP (GZIPOutputStream) from java.util.zip, then send it as an ObjectMessage to JMS queue. Now my question is what is better: 1. Send the compressed XML file as ObjectMessage? 2. Or even easier send the XML file uncompressed as TextMessage because serialization does some compression as well? Anybody with experience?! AndrejT View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3866371#3866371 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866371 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Runtime JMS queue creation
I have read the JMS documentation but although haven't found the possibility to do the following... I have N standalone clients that asinchronously send JMS messages to a MDB (JBoss app server). All messages are sent to a single incoming queue, specified in the file jbossmq-myqueues-service.xml from default/deploy map: mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=avrisQueuePrevoznik2Centrala |depends optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends | /mbean MDB should reply to each incoming message from client (for confirmation purposes). Therefore clients use setJMSReplyTo method to inform MDB about the reply-to queue. Here is my problem! I want to dynamically generate these reply queues, I don't want them permanently specified on JBoss. I also don't want the pub/sub model because I don't need the overhead (each client gets all messages). What is the best pattern to do this? AndrejT View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3866029#3866029 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866029 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Docs\examples\ejb\simplemessage
Here is my jndi.properties: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming.client j2ee.clientName=si.avris.prevoznik.SimpleMessageClient But in the mean time I have the solution. Look to the previous client code: connectionFactory = (ConnectionFactory) jndiContext.lookup(jms/QueueConnectionFactory); | destination = (Queue) jndiContext.lookup(avrisQueue); | The working version has queue/avrisQueue instead of avrisQueue: connectionFactory = (ConnectionFactory) jndiContext.lookup(jms/QueueConnectionFactory); | destination = (Queue) jndiContext.lookup(queue/avrisQueue); And now it works. I think my example (client running outside JBoss and MDB running within JBoss) is more common for real situations where one programmer works on client code while another one works on the EJB code. I have one more question. I have seen examples where people use jndi properties in different ways. My setting is the default one (from Getting started example): java.naming.provider.url=jnp://localhost:1099 Where on the JBoss is the port 1099 specified? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861530#3861530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861530 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Docs\examples\ejb\simplemessage
I work on the simplemessage MDB example (in Docs\examples\ejb\ from jbossj2ee-src.zip). Originally the SimpleMessage.ear contains mdb-app-client.jar and the code in the client is: connectionFactory = (ConnectionFactory) jndiContext.lookup | (java:comp/env/jms/QueueConnectionFactory); | | destination = (Queue) jndiContext.lookup(java:comp/env/jms/QueueName); | I want to separate the mdb-app-client.jar from SimpleMesage.ear part so that I can run them on different machines: MDB within the JBOSS 4.0 and the client on another machine without JBoss. I have removed mdb-client-jar from the SimpleMessage.ear, changed the lines: | connectionFactory = (ConnectionFactory) jndiContext.lookup(jms/QueueConnectionFactory); | destination = (Queue) jndiContext.lookup(avrisQueue); | and I got the following error message: anonymous wrote : | JNDI lookup failed: javax.naming.NameNotFoundException: jms not bound | What am I doing wrong? Please help!? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861340#3861340 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861340 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Docs\examples\ejb\simplemessage
Here are also my configuration files: CLIENT: jboss-client.xml: jboss-client | jndi-nameSimpleMessageClient/jndi-name | | resource-ref | res-ref-namejms/QueueConnectionFactory/res-ref-name | jndi-nameXAConnectionFactory/jndi-name | /resource-ref | | resource-env-ref | resource-env-ref-namejms/QueueName/resource-env-ref-name | jndi-namequeue/avrisQueue/jndi-name | /resource-env-ref | | /jboss-client application-client.xml: display-nameMyAppClient/display-name | | resource-ref | res-ref-namejms/QueueConnectionFactory/res-ref-name | res-typejavax.jms.ConnectionFactory/res-type | res-authContainer/res-auth | res-sharing-scopeShareable/res-sharing-scope | /resource-ref | | resource-env-ref | resource-env-ref-namejms/QueueName/resource-env-ref-name | resource-env-ref-typejavax.jms.Queue/resource-env-ref-type | /resource-env-ref | MDB: jboss.xml: jboss | enterprise-beans | message-driven | ejb-nameSimpleMessageEJB/ejb-name | destination-jndi-namequeue/avrisQueue/destination-jndi-name | /message-driven | /enterprise-beans | /jboss | ejb-jar.xml: ejb-jar | display-nameSimpleMessageJAR/display-name | | enterprise-beans | message-driven | display-nameSimpleMessageEJB/display-name | ejb-nameSimpleMessageEJB/ejb-name | ejb-classsi.avris.centrala.MessageBean/ejb-class | transaction-typeContainer/transaction-type | message-driven-destination | destination-typejavax.jms.Queue/destination-type | /message-driven-destination |/message-driven |/enterprise-beans | /ejb-jar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3861342#3861342 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861342 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JMS based XML messaging
I plan the following J2EE (JBoss based) system: Two Java application clients each has its own database. They asynchroniously extract database data and send it to Jboss MDB using JMS. The database data they send are in XML form. What is the best design pattern to use with such requirements? What open source technologies besides JMS to use? How to implement database to XML mapping? Any useful information appreciated! Andrej View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3858278#3858278 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3858278 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user