getUserCount()

2000-07-11 Thread Barry Fujii

howdy,

any chance that getUserCount() this could be implemented for the basic
UserManager class in the near future? I know it would probably be an
expensive operation if the xml file had to be read in its entireity and
then counted for users and all...

/admin/UserManager/doCreateUser.jsp.java:72: Method getUserCount() not
found in class com.evermind.sql.DataSourceUserManager. (JSP page line 30)
usermanager.getUserCount()

This does not appear to work with teh com.evermind.security.UserManager
either.

Barry

"Blues is to jazz what yeast is to bread-without it, itÂ’s flat."
  Carmen McRae





Peculiar problem on win2k pro

2000-04-17 Thread Barry Fujii

Whenever I try and do an autoupdate from my Windows 2000 Professional box, I
get an error claiming that orion.jar is in use by another process. This
happens even if I use the shutdown.jar command.

The only way to allow the autoupdate command to actually overwrite the
orion.jar file is to log out and log back in again, or reboot.

If I examine the process list in the task manager, there is no java.exe
process running.

This does not ever happen on the Windows 2k Server, even if I use ctrl-c to
"shut it off." Nor does this happen on linux or solaris 7.

any ideas? is there a flag to force it?

congrats on moving into the 1.0 RCx stage. Great work.

Barry





EJB Samples not working in 0.9.4?

2000-03-06 Thread Barry Fujii

Has anyone tried using the ejb samples that came with orion on a solaris 7
box?

# java -version
java version "1.2.2"
Solaris VM (build Solaris_JDK_1.2.2_05, native threads, sunwjit)

i added the following to my server.xml file:
application name="ejbsamples" path="../demo/ejb"/

funny thing happens when i do this if i edit teh server.xml file while
orion is running:
# java -jar orion.jar
Orion/0.9.4 initialized
Couldnt read RMI config file: ./rmi.xml: Interrupted system call

if i try adding that to the server.xml file when orion is not running i get
this on restart:
# java -jar orion.jar
SIGSEGV 11 segmentation violation
si_signo [11]: SEGV
si_errno [0]:
si_code [1]: SEGV_MAPERR [addr: 0x6350]

stackpointer=FE24FF28
Segmentation Fault(coredump)

--or-- it just spins forever, never actually initializing or starting.

--

On NT4.0 the orion server starts but the product client doesnt start.

J:\orion0.9.1b\orion\demo\ejb\productjava -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)

J:\orion0.9.1b\orion\demo\ejb\productjava -classpath
../../../orion.jar;../../.
./ejb.jar;../../jndi.jar;. ProductClient
Communication error: Lookup error: java.lang.SecurityException: No such
domain/a
pplication: ejbsamples


am i missing something? the data-source is set up to use an oracle 8.1.6
installation.

Barry