[Beginner's Corner] New message: "Re: jboss creates alot of index.html files"
by jaikiran pai
User development,
A new message was posted in the thread "jboss creates alot of index.html files":
http://community.jboss.org/message/522669#522669
Author : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
Like Peter said, i haven't heard about JBoss creating html files (or any other files) outside of the JBoss AS installation. Let's see what's creating those.
How exactly do you start the server? How frequently after startup are those files created? Do you use any additional scripts to start the server? Have you changed any properties or any other configurations of JBoss? Specifically have you changed the property value which represents the tmp file location of JBoss AS (although, if that was the case, you would have seen some other files in there too).
In your first post, you mention that "a lot" of .html files are created. In your latest post, you say that the files are created exactly at /root. Looks a bit contradictory because, each folder cannot have multiple files with the same name. So what exactly is being created in the /root folder? Any other files other than index.html? What exactly are their names?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522669#522669
16 years, 2 months
[JNDI and Naming] New message: "Context Lookup vs. Injection"
by Andrig Miller
User development,
A new message was posted in the thread "Context Lookup vs. Injection":
http://community.jboss.org/message/522654#522654
Author : Andrig Miller
Profile : http://community.jboss.org/people/andy.miller@jboss.com
Message:
--------------------------------------------------------------
I was playing around with the UUIDKeyGeneratorFactory in an EJB 3 application, to generate a primary key. Hibernate actually supports its own annotations for this (non-JPA standard), but I was wondering about using the KeyGeneratorFactory directly as an alternative. I can definitely just create an IntialContext, and lookup "UUIDKeyGeneratorFactory", and that works as expected, and that's been in the application server since 3.2.x.
Is there a way to use EJB 3 @Resource annotation to inject the UUIDKeyGeneratorFactory. I tried it in the code, but it didn't work, but maybe I missed something, or maybe the @Resource annotation isn't generalized to lookup anything in JNDI.
Anyway, if someone could shed some light on the subject that would be helpful.
Thanks.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/522654#522654
16 years, 2 months