Share

JRegexpTester

Tracker: Support Requests

5 0.35: JRegexpTester is running yet, this process will... - ID: 1266020
Last Update: Settings changed ( alcabon )

Hello!

I just installed JRegexpTester, version 0.35, on MS Win
NT 5.1 (known as XP) SP 2 EN using setup exe
distribution. I have Java 1.5.0_04 SDK from Sun.
Installation was successfull (or better completed). But
when I want to run application, after JRegexpTester
splashscreen following error message appears and
application ends:

JRegexpTester is running yet, this process will shutdown !

Can You help me? Where is the problem? I am running
several pure Java applications without problems.

Thank You in advance

Stepan


Stepan RYBAR ( t603 ) - 2005-08-22 09:13

5

Closed

None

acabon

None

None

Public


Comments ( 3 )




Date: 2005-08-24 11:13
Sender: alcabonProject Admin

Logged In: YES
user_id=1094733

Hello,

I will change the message adding a better explanation and I
will improve the code with your advice. T
hat will be into the next release.

Thank you.

Cheers, Alain.


Date: 2005-08-23 07:47
Sender: t603

Logged In: YES
user_id=314806

Alain,

You are right, the problem is in multiple HSQLDB. I have
HSQLDB 1.8.0.1 already running in "HSQL Database Engine
Server" mode under Tomcat with "sa" and "". Killing Tomcat
and removing that application from Tomcat can JRegexpTester
to run.

Hmmm, but this is not good solution ;-) HSQLDB has "HSQL
Database Engine In-Memory" and "HSQL Database Engine
Standalone" modes (see HSQLDB documentation), which can
prevent such colision AFAIK. You are also using quite
ancient (old) version of HSQLDB - 1.7.1, which maybe does
not allow suggested aproaches.

JRegexpTester is nice tool anyway. Thank You for it.

Stepan


Date: 2005-08-22 16:14
Sender: alcabonProject Admin

Logged In: YES
user_id=1094733

Hello Stepan,

This problem occurs during the hsqldb connection (
src/JRegexpTester.java) when an "sqlexception" is thrown.
This part of code can perhaps be improved. I have used
hsqldb as simple as possible ( no password, default
user "sa") in order to save all contexts. I am using windows
XP "family" at home too.

Try to kill all bachgroung JVMs on your PC (processes
= "javaw.exe" after a simple control+alt+del) and relaunch
JRegexpTester that will be perhaps enough.

Cheers, Alain.

try {
conn = DriverManager.getConnection
("jdbc:hsqldb:testregexp", // filenames
"sa", // username
""); // password
} catch (SQLException e1) {
JOptionPane optionPane = new JOptionPane(
"JRegexpTester is running yet, this process will shutdown !",
JOptionPane.ERROR_MESSAGE,
JOptionPane.DEFAULT_OPTION);
optionPane.createDialog(frame2, "Alert").show();
frame2.dispose();
System.exit(1);
}



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 8 )

Field Old Value Date By
status_id Open 2005-08-25 10:52 alcabon
close_date - 2005-08-25 10:52 alcabon
close_date 2005-08-23 07:26 2005-08-23 07:27 alcabon
status_id Pending 2005-08-23 07:27 alcabon
close_date - 2005-08-23 07:26 alcabon
status_id Open 2005-08-23 07:26 alcabon
category_id Install Problem (example) 2005-08-23 07:25 alcabon
assigned_to nobody 2005-08-23 07:25 alcabon