madhusudhanan anna

Greenhorn
+ Follow
since Nov 08, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by madhusudhanan anna

Hi

My environment is Sun Solaris X86.

If i execute this code in a standalone program it works fine.

If i put the above code in my project and run in the glassfish server, i am getting this error.

Thanks
Madhu
8 years ago
Hi,

While i am executing the following code, i am getting the exitvalue as 9 instead of 0.

Process process = null;
InputStream inStream = null;
try {
process = Runtime.getRuntime().exec(command);
process.waitFor();
int exitValue = process.exitValue();
log.debug("Process has exited (exit value={})", exitValue);

}.....

I am getting the exitValue as 9 instead of 0. Can any one help me on this.

If i comment the process.waitFor(); line, the system throws InterruptedException.


Thanks
Madhu
8 years ago
Hi ,
I am using jboss5.1.0 EAP and i configured jms bridge. The queue
exists in different server and vendor of the queue is activeMQ.
using jms-bridge, i am able to read the message from activeMQ.
but the correlation id of the message is null.
Even after i set the AddMessagerIDInHeader value as true, i am getting the value of the correlation id is null.

<attribute name="AddMessageIDInHeader">true</attribute>

Could you please some one help me on this.

Thanks
Anna

8 years ago
Hi,

I am implementing the hibernate search using the indexing. I want to implement FSMasterDirectoryProvider except for one entitiy called 'EmpDetails'. I want to implement FSSlaveDirectoryProvider for this 'EmpDetails' entity.

If i configure only FSMasterDirectoryProvider in my persistence.xml, it is working fine for all other entities. If i implement only FSSlaveDirectoryProvider , it is working fine for 'EmpDetails' entity. If i have both configuration in my persistence.xml, it is not working fine.


here is my config details:

<!-- JMS backend -->
<property name="hibernate.search.worker.backend" value="jms" />
<property name="hibernate.search.worker.jms.connection_factory" value="jms/MyServiceQueueCF" />
<property name="hibernate.search.worker.jms.queue" value="jms/HibernateSearchQ" />


<!-- DirectoryProvider configuration -->

<!-- FSSlaveDirectoryProvider -->
<property name="hibernate.search.com.emp.EmployeeDetails.directory_provider" value="org.hibernate.search.store.FSSlaveDirectoryProvider"/>
<property name="hibernate.search.com.emp.EmployeeDetails.refresh" value="900" />
<property name="hibernate.search.com.emp.EmployeeDetails.indexBase" value="/index/read"/>
<property name="hibernate.search.com.emp.EmployeeDetails.sourceBase" value="/indexshare" />


<!-- FSMasterDirectoryProvider -->
<property name="hibernate.search.default.directory_provider" value="org.hibernate.search.store.FSMasterDirectoryProvider" />
<property name="hibernate.search.default.refresh" value="900" />
<property name="hibernate.search.default.indexBase" value="/index/read" />
<property name="hibernate.search.default.sourceBase" value="/index/indexshare" />
<property name="hibernate.search.default.optimizer.operation_limit.max" value="5000" />
<property name="hibernate.search.default.optimizer.transaction_limit.max" value="500" />

could you please help me on this.


Thanks
Anna