[Design of EJB 3.0] - Re: EJBTHREE-1607 Update EJB3.0 Tutorials
by jaikiran
"jaikiran" wrote :
| 1) The "jca_inflow_quartz" tutorial which is being tracked here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=148386 and will be fixed today
|
Done. The tutorial now works against the JBossAS5 with the EJB3 plugin patching.
"jaikiran" wrote :
| 2) The "tableperinheritance" tutorial which is broken because of a issue in HSQLDB.
| https://jira.jboss.org/jira/browse/EJBTHREE-1657
|
| http://opensource.atlassian.com/projects/hibernate/browse/HHH-2920
|
| I am planning to include this tutorial and add a note to the guide saying its broken on HSQLDB. If someone wants to try to use the tutorial against a different DB, then they could do so. We could have upgraded the tutorial to use some other DB like MySQL, but that would involve listing the steps required to download/install/start the MySQL server. Any opinion?
|
The tutorial has been included with a note to the user that it won't work against HSQLDB.
"jaikiran" wrote :
| 3) The "thirdpartyjms" tutorial - This one involves downloading/installing/starting a thirdparty JMS server (like OpenJMS). Should we be including this in our tutorials? If yes, then we would have to see how we can integrate this steps in our Mavenized tutorial.
|
Have left this out since it requires installing a third party jms server, configuring it and running it.
"jaikiran" wrote :
| 4) The "HTTP_HTTPS" tutorial - This one shows how an EJB can be accessed via HTTP/HTTPS. Involves multiple configuration changes to the JBossAS. If we have to include this tutorial through our Maven process, then will have to think of a way where we can configure the server configuration of JBossAS and restart it with these changes. Any opinions?
|
Since this contains more of AS configuration, have left it out from the EJB3 tutorials.
"jaikiran" wrote :
| What remains on the tutorial guide part:
|
The guide has been completed.
With this, the tutorials and the guide for EJB3 has been completed. I have a Hudson run going on right now, after which i will do a final commit.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203517#4203517
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203517
17 years, 2 months
[Design of POJO Server] - Re: JBAS-6061 or weird nested jar
by jaikiran
"alesj" wrote : We need to fix the code (btw: where is this?) that does this,
| to use the right VFS method, the one that uses cache.
Finally, found some time to debug and figure out what and where the issue is. This is what is happening:
server/< serverName>/conf/jboss-service.xml is being picked up by org.jboss.system.deployers.SARDeployer which has this:
String codebase = path.getCodeBase();
| String archives = path.getArchives();
|
| log.debug("Processing classpath: " + unit.getName() + " codebase=" + codebase + " archives=" + archives);
| VirtualFile codebaseFile = unit.getRoot();
| if (".".equals(codebase) == false)
| {
| ServerConfig config = ServerConfigLocator.locate();
| URL codeBaseURL = new URL(config.getServerHomeURL(), codebase);
| codebaseFile = VFS.getVirtualFile(codeBaseURL, "");
| }
The 2 variants of VFS.getVirtualFile() have this:
| public static VirtualFile getVirtualFile(URI rootURI, String name) throws IOException
| {
| VFS vfs = getVFS(rootURI);
| return vfs.findChild(name);
| }
The context associated with this returned VirtualFile does not have the exception handler associated with it. Based on your post about the caching API, i decided to change these 2 methods to:
| public static VirtualFile getVirtualFile(URI rootURI, String name) throws IOException
| {
| VirtualFile vf = getCachedFile(rootURI);
| return vf.getChild(name);
| }
This change fixed the problem and i was able to boot JBossAS. I don't know much about VFS internals (and i don't know whether was i did can be termed as a fix :) ), but as Dimitris says:
"dimitris(a)jboss.org" wrote : Obviously I'm totally ignorant but shouldn't caching be an internal implementation detail of the VFS api? I.e. why you need a VFS.getCachedFile(...)?
So, shouldn't the exception handler be associated with a context irrespective of whether it is cached or not?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203492#4203492
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203492
17 years, 2 months
[Design of JBoss Profiler] - JBoss Profiler Installation in Windows - questions
by qa
Hi all,
I'm absolutely new in JBoss technology.
I have two PCs in my workplace (both in our local network):
1. Windows XP Professional Version 2002 SP3 with JBoss 4.0.5.GA installed
2. Windows 2000 Advanced Server SP4 with JBoss 3.2.1 installed
We have web-application working under JBoss.
Initially, I have to test this application located in the 1-st PC (Win XP) with JBoss Profiler.
I'm already loaded jboss-profiler-1.0.CR4.zip from jbossprofiler download page. It is most popular version there.
The questions are:
1. How install this profiler to JBoss (Windows XP)? - This is the main question!
2. How to make it for Windows 2000 Advance Server?
3. That difference between 1.0 CR4.zip (that I have) and 1.0 RC3.zip in my case?
I loaded and quickly read jboss-profiler.pdf but don't understand how to install profiler to my PC(s).
So, I need to know steps sequence (in common) to do that and some details too.
Thank you for any your advises,
qa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203401#4203401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203401
17 years, 2 months
[Design of JBoss Tools (dev)] - Re: Incorporate Hibernate Search into Hibernate Tools idea
by sannegrinovero
anonymous wrote : This is could be a topic for a long discussion...
Not so long maybe: there are no plans to support anything different than Lucene, for several good reasons, so at the moment the discussion doesn't even need to start in the tooling context.
If you would like to discuss future Search development we should switch to the H.Search forum, I'm curious to hear about other tools: all decent solutions I've found are either DB coupled or based on Lucene.
Also it should be noted that Lucene is not only very good but also very active and constantly improving: I doubt some other project could catch up to it in the short time, let alone doing better.
anonymous wrote : In a general case - index search tool consist of index (analog of DB) for some documents/items, and query in a common case is just a string (Lucene generalize this, but in common case this is just a string)
Lucene doesn't generalize at all, it's Search which makes conversions to and from the String world from the objects world.
anonymous wrote : As I think it be useful for development if there are several indexes for different purposes - it could be a big index for production with milions of documents/items and several small one for different test corpora, it is possible to have situation, when there is a sense to have several indexes for a one project, etc. And it seems useful if be possible to view information about index, optimize index, enter search expresions with content assistance proposals. And use Eclipse/JBoss tools for this as a one environment for development. Is it answer the question or?
yes that makes sense, but as "practical example" I was curious about how such a tool could be useful. Optimization can be done automatically in Search, just enable it in configuration or use it programmatically; the big feature would be to be able to look into the index, testing queries, testing analyzers, explaining queries.
Would be nice to have content assistance in queries, but that is IMHO not a priority.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203385#4203385
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203385
17 years, 2 months