[EJB 3.0 Users] - Re: How to find Entity by Id
by 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();
| CustomerHome customer = (CustomerHome)context.lookup("CustomerHome");
| customer.findById(1);
And become the Error Message:
ERROR [JBossInjectionProvider] Injection failed on managed bean.
| javax.naming.NameNotFoundException: de.counter.CounterBean not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
|
So I thought, jbossinjectionprovider doesnt know where the managedbean has to lookup. That way i gave it these properties.
Properties properties = new Properties();
| properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
| properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
| properties.put("java.naming.provider.url","localhost:1099");
Now, i am getting nothing. no error, no success message.
If i cancel my changes (the properties or give a other jndi name) it is always the same, no answers from the console.
Sorry, but that has completly confused me.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266039#4266039
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266039
16 years, 6 months
[JBoss Portal Users] - practical for archive and research
by Oscartron
Hello,
I am searching for a CMS System with following special requirements:
1.Absolute isolation of the content and uploaded Content, directed by user, usergroups rights (I think so)
2.Automatic message Mail by inserting new content. (I think not implemented)
3.Searchfunction in attachments like PDF. (I think not implemented)
4.Searchfunktion by accepting userrights (I don't know)
5.Forum function (I think not implemented)
6.Comment function (I think is ok)
7.User directed uploads (Is OK)
8.Workflow, no publication without permisson of an admin (I don't know)
9.Taxonomie
I have started with Jboss Portal, but I cann't find out all thinks in the foreseeable future.
Is my preliminary estimate ok?
Which points are not implemented?
I want to create a knowledge Database for a small group of technical experts.
The Database should be a Archiv for Recherche of similar problems.
The database shoud be used for a long time without big programm changes.
Am I right by Jboss Portal?
Best regards
Wolfgang
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266011#4266011
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266011
16 years, 6 months