[jboss-user] [EJB 3.0 Users] - Re: How to find Entity by Id

2009-12-10 Thread Fuchs
Thanks Wolfgang Knauf and jaikiran. That helped me much. Know its working fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269994#4269994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269994 ___

[jboss-user] [EJB 3.0 Users] - Re: How to find Entity by Id

2009-11-17 Thread Fuchs
I couldnt find a JNDIView where my CustomerHome is listed, so i took CustomerHome because of the console output where the ejbname is CustomerHome. Where could i proof the name of the jndi name for my CustomerHome? I made a lookup in the client. Context context = new InitialContext(); | Custom

[jboss-user] [EJB 3.0 Users] - How to find Entity by Id

2009-11-13 Thread Fuchs
Hello, i am using jboss portal 2.7.2 bundle with jboss 4.2.3 and i like to use ejb3 persistence for database query. But i get this exception: 15:45:31,530 ERROR [CustomerHome] get failed | java.lang.NullPointerException | at swk.hibernate.dao.CustomerHome.findById(Unknown Source) |

[jboss-user] [JBoss Portal Users] - Re: No border around portlets in 3column layout in IE7

2009-11-13 Thread Fuchs
in my experience, the only difference between firefox and ie are additional pixels in the richfaces styles. the responsible style isnt found easily. the fastest way are ie-hacks in combination with the richfaces style. | .ie-hack{ | padding: 0; | margin: 0; | } | | | or in

[jboss-user] [JBoss Portal Users] - Re: Beginer Porblem with a portlet deployment

2009-11-12 Thread Fuchs
i could be a wrong or missing deployment-deskriptor in the portal-imagegallery.sar. could you describe your ear environment? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265359#4265359 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[jboss-user] [JBoss Portal Users] - Re: No border around portlets in 3column layout in IE7

2009-11-12 Thread Fuchs
i think these "some" portlets have moved, because of the additiol pixels in ie. use a simelar tool like firebug in ie, which can display the borders to locate them. for example "firebug lite". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265356#4265356 Rep

[jboss-user] [JBoss Portal Users] - Re: Cause: java.lang.NullPointerException

2009-11-09 Thread Fuchs
What a big exception! More information about which jboss you using could be helpful. maybe, a look at the log-files could give further or more clearly information. Have you create your own page? Have you done something before this exception? View the original post : http://www.jboss.org/index.htm

[jboss-user] [JBoss Portal Users] - Re: hibernate database connection

2009-11-09 Thread Fuchs
The mappings and classes together with the hibernate-service.xml will be packaged into a HAR-File in the deploy-archiv of jboss. But for the JNDI-binding i need a hibernate configuration file. In the Book "JBoss in Action" this file is called XX-hibernate.xml. Hibernate is calling this file hibe

[jboss-user] [JBoss Portal Users] - hibernate database connection

2009-11-05 Thread Fuchs
hello, iam using jboss portal 2.7.2 bundle. i like to use my own mysql database with hibernate functionality which is called from some portlets. But i get this error: 19:48:07,463 ERROR [*Home] Could not locate SessionFactory in JNDI javax.naming.NameNotFoundException: SessionFactory not bound

[jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service

2009-10-31 Thread Fuchs
thanks for your fast response. but still it doesnt work. whats about the "from" field? Must this address: nob...@myhost.domain.com be a valid address ? do i have to define a category, like : | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=42

[jboss-user] [JBoss Portal Users] - Writing a log4j email service

2009-10-31 Thread Fuchs
Hello, i am using the jboss-portal-2.7.2 bundle and i like to know, how i could write an email service, to be informed, if the server throws any ERRORs. what i know is that i have to edit the jboss-log4j.xml: | | | | | | | |

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-27 Thread Fuchs
An easy one, thanks. The problem ist solved! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262336#4262336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262336 ___ jboss-user

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-26 Thread Fuchs
The Bean class: | @Stateless | @Remote (CustomerArchivTimerBean.class) | public class CustomerArchivTimerBean implements CustomerArchivTimerProxy | { |private @Resource SessionContext ctx; | |public void scheduleTimer(Date expiration, Serializable info) |{ |

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-26 Thread Fuchs
after i deploying my application i get this error from the java console: [java] Exception in thread "main" javax.naming.NameNotFoundException: CustomerArchivTimerBean not bound | [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | [java] at

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-22 Thread Fuchs
Thank you jaikiran! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261765#4261765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261765 ___ jboss-user mailing list jboss-user

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-20 Thread Fuchs
Thanks! thats correct, I used the old example. This explains why I had to change so much things. :-). But now, if I use the timer-example for jboss 5, the result is the same: | 16:52:33,365 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS | deploymentcont...@5005412{vfszi

[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once

2009-10-20 Thread Fuchs
Excuse that I have not explained my post enough. Now, I want to make up this. build.xml: The build.xml script generates an *.ejbjar file which is not deployed by my jboss 5.0.1.GA default server. So I changed the build-script to make a *.jar file. I also changed the directories, where EJB is fou

[jboss-user] [EJB 3.0 Users] - Client calls Timer only once

2009-10-19 Thread Fuchs
Hello. I am using JBoss 5.0.1.GA. I need to build a TimerService with EJB3. Therefor, I am using the Tutorial, which can be found under the documentation of EJB3. After some changes the Timer-Tutorial is running. Now, the Server-Methode should be called every fifth sec. In my Application it is o

[jboss-user] [EJB 3.0 Users] - EJB3 and JBoss Portal 2.7.2 Bundle

2009-10-15 Thread Fuchs
Hello! I am using JBoss Portal 2.7.2 bundle with JBoss 4.2.3 and I have to import EJB3 into it, to get the EJB Timer-Service. I found this installation guide for JBoss 4.X: |1. Download EJB 3.0 RC4 - PFD. |2. Unzip this file. |3. Copy ejb3.deployer from the lib/ directory of

[jboss-user] [JBoss Portal Users] - Jboss Portal 2.7.2 and EJB3

2009-10-14 Thread Fuchs
Hello, I like to know, how to run EJB3 on the JBoss-Portal-2.7.2-bundle. I tried to do it with the instructions of EJB3-Download. |1. Download EJB 3.0 RC4 - PFD. |2. Unzip this file. |3. Copy ejb3.deployer from the lib/ directory of the distribution to | jboss-4.0

[jboss-user] [JBoss Portal Users] - Developing an automatic service

2009-10-02 Thread Fuchs
Hello, I am using JBP 2.7.2 and I would like to know, how I could execute an automatic service. This service should start every month without human activity. Should I develop a new JBoss module or what you think I could do? Any pointers will be greatly appreciated. Thanks! View the original p

[jboss-user] [JBoss Portal Users] - Re:

2009-09-05 Thread Fuchs
I have to correct my statements: 3. This point is in the xhtml file of the sending portlet. It use a java file which stores this value. 4. This point is in the java file of the receiving portlet. here i should receive the parameter from the request. afterward it will be picked up from the xhtm

[jboss-user] [JBoss Portal Users] - "support-public-render-paramter" or "coordination feature"

2009-09-05 Thread Fuchs
hello everybody, iam using jboss portal 2.7.2 with jsf 1.1.14, richfaces 3.1.1 and of course the portletbridge 1.0.0.CR1. Now i have to send Integer Parameters from Portlet A to Portlet B. Therefor i found an example which says, 1. in the protlet.xml | | com.sun.faces.portlet.SAVE_REQUES

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: problem by using rich:tabPanel with switchType=ajax in i

2009-07-05 Thread Fuchs
it is an ie7 problem, which is solved by using stylesheet "position:relative". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241692#4241692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241692

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: problem by using rich:tabPanel with switchType=ajax in i

2009-06-18 Thread Fuchs
nobody knows this problem ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238524#4238524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238524 ___ jboss-user mailing list jbo

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - problem by using rich:tabPanel with switchType=ajax in ie7

2009-06-17 Thread Fuchs
Hello, iam using the jbossportal 2.7.0 under windows vista and richface lib 3.3.0.GA (with 3.3.1.GA also) i have a tabpanel with the switchType "ajax". in firefox everything works fine, but in ie7 the tabs move under my image in the content of the tab. if i use switchType "server" this problem do

[jboss-user] [JBoss Portal] - Re: problem by using rich:tabPanel with switchType=

2009-06-17 Thread Fuchs
thanks for the responses. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238231#4238231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238231 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Portal] - problem by using rich:tabPanel with switchType=

2009-06-17 Thread Fuchs
Hello, iam using the jbossportal 2.7.0 under windows vista and richface lib 3.0.0.GA i have a tabpanel with the switchType "ajax". in firefox everything works fine, but in ie7 the tabs move under my content. if i use switchType "server" this problem doesnt appear. | | | do so

[jboss-user] [JBoss Portal] - no communication with inter portlet communication

2009-03-31 Thread Fuchs
hello, iam using the jboss portal 2.7.2 bundle on window vista. i used to write a interportlet communication like the sample in the jboss reference guide. i got the two portlets deployed, but the communication between them doesnt work. i get an error at the start of the server: | WARN [Serv

[jboss-user] [JBoss Portal] - Re: Creating new theme and URLs getting prefixed with .war f

2009-03-27 Thread Fuchs
i use my own theme, too. i only difference to yours is the "id=main_css" include, wich iam not using. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221491#4221491 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221491

[jboss-user] [JBoss Portal] - Re: problem by security-constraint for portlet-instance

2009-03-20 Thread Fuchs
i cant imagine why it doesnt works. i did it excectly like in the "portal reference guide" documentation. maybe someone have a idear? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219898#4219898 Reply to the post : http://www.jboss.org/index.html?module=bb&

[jboss-user] [JBoss Portal] - Re: problem by security-constraint for portlet-instance

2009-03-17 Thread Fuchs
i gave it a "security-role" and the exclusion disappeared, but it didnt work anyway. | | CustomerPortletInstance | CustomerPortlet | | | admin

[jboss-user] [JBoss Portal] - problem by security-constraint for portlet-instance

2009-03-17 Thread Fuchs
I like to give my portlet a role definition: | PortletInstance | Portlet | | | admin | Admin |

[jboss-user] [JBoss Portal] - Re: Session Problem

2009-03-13 Thread Fuchs
Excuse me, you right apemberton. I didnt saw, that the session-config is only for cluster environments. I also use the JAAS principal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217917#4217917 Reply to the post : http://www.jboss.org/index.html?module=bb

[jboss-user] [JBoss Portal] - Re: Session Problem

2009-03-13 Thread Fuchs
I think, its default not allowed. Use this: | |true | | in the jboss-portlet.xml. i found this in the jboss portal reference guide, so iam not sure if it solve the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217883#4217883 Reply

[jboss-user] [JBoss Portal] - Re: Remove portlet Maximize button.

2009-03-13 Thread Fuchs
Iam not sure, because dont use any modes. But a other solution could be to overwrite the css. | .portlet-mode-maximized { | overflow: hidden; | } | Maybe with hidden or nothing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217859#4217859 Repl

[jboss-user] [JBoss Portal] - change role definition for the dashboard

2009-03-13 Thread Fuchs
hello, default all users with user-role have access to dashboard. i like to change this user-role definition, that only the admin-role has access to dashboard. can someone help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217832#4217832 Reply to the

[jboss-user] [JBoss Portal] - Re: Remove portlet Maximize button.

2009-03-13 Thread Fuchs
One alternative ist to turn off the render mode (emptyRenderer). | | PortletWindow | PortletInstance | left | 1 | | | | the

[jboss-user] [JBoss Portal] - exclud user-role from

2009-03-11 Thread Fuchs
Hello! Iam using JBoss Portal 2.7 downloaded version, but without upgrade. The problem is that the "Dashboard" is allowed for all users. I want to forbit the users to access the "Dashboard". Thats why i gave the "jboss-portal.sar/.../default-object.xml" a "security-constraint" in the dashboard