Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Oregano installation 1

Status
Not open for further replies.

jackz15

Programmer
Jun 28, 2006
103
US
Oregano is a multiuser server used for flash and of course I'm using mysql with it, or else why would I post thsi here?
I've posted this in another forums, but because is was mainly art there were not much help on it.
Link to post:
if you goto the oregano downloads page and view the documentations, you will see the installation help that they provided. So far I'm definitely sure that I got the creating the oregano database part down in mysql. But after that, it asks me to edit the XML file and then the bat file for the runtime directory, and i did edit them, but i really don't know if i did it right. So they made the program have a log that tells me what went wrong. But the problem is that i don't have write permission on the log directory for some reason. And I don't know how to fix that. Someone please help!
 
post the xml file, every little helps


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
<oregano>


<login
mode="public"
versionID="vers1"
emailUnique="true"
/>


<ports
login="1666"
reconnect="1766"
admin="1696"
rmi="1099"
/>


<extensions
keyGenerator=""
passwordDecoder=""
loginExtension=""
logoutExtension=""
/>


<admin
enableClient="true"
versionID="sxvv$22"
keyGenerator=""
passwordDecoder=""
/>


<serverConfig>

<server
id="server1"
address=" #the address
userLimit="250" #of the server
dynamicGroups="true" #node? I just
/> #made this up.

</serverConfig>


<database
url="jdbc:mysql://localhost/Oregano?auto-reconnect=true"
driver="mysql.Driver"<-#fully classified name
userID="<OMITED>" # of my driver, is this
password="<OMITED>" #right?
connectionLimit="20"
transactions="false"
>

<typeMap>
<tinyint dbType="TINYINT"/>
<integer dbType="INTEGER"/>
<bigint dbType="BIGINT"/>
<double dbType="DOUBLE"/>
<timestamp dbType="DATETIME"/>
<varchar dbType="VARCHAR(255)"/>
<longvarchar dbType="TEXT"/>
</typeMap>
</database>


<statistics
periodStart="0:00"
/>


<services
mailboxLimit="200"
buddyLimit="200"
blackListLimit="100"
groupListCache="30"
groupListInterval="0"
userListCache="30"
userListInterval="0"
/>


<permissions
changeEmail="false"
changePassword="false"
changePermissions="false"
/>


<groupConfig defaultExtension="">

<loginGroup
extension="">
</loginGroup>

</groupConfig>


<globalProperties>

</globalProperties>


<log output="database">
<login level="warn" />
<logout level="warn" />
<database level="warn" />
<messaging level="warn" />
<groups level="warn" />
<changeGroups level="warn" />
<services level="warn" />
<admin level="info" />
<rmi level="warn" />
<client_omus level="warn" />
<client_dev level="warn" />
<extensions level="warn" />
</log>


</oregano>
 
sorry about the lack of comments on the last post, the # indicates my comments and the other things left blank do not have to be bothered.
the manual next wants me to edit the start script known as start.bat. here it is:
@echo off

SET SERVER_ADDRESS= #again this is made up, i guess this is the address of the site providing the sql server.
SET SERVER_TYPE=Standalone #must be standalone server if i want to use config.xml in the last post

SET PRIMARY_ADDRESS= #required only in secondary servers
SET RMI_PORT=#same

SET MEMORY_INIT=64M
SET MEMORY_MAX=128M



java -Xms%MEMORY_INIT% -Xmx%MEMORY_MAX% -cp .\oregano_1_1_0.jar;.;.\extensions org.omus.core.Start %SERVER_TYPE% %SERVER_ADDRESS% %PRIMARY_ADDRESS% %RMI_PORT% &



another note on the last post, the url of the database i put in was invalid. since i am using the database from the format should be jdbc:mysql://
 
where have you installed oregano ? under "program files"? if so, try instead moving it to c:\oregano (not sure if it will work like that or if you have to reinstall).

Xp tends to set program files as readonly, which could be the cause of your problem.

Cant really see anything anywhere else which may give you this trouble.


______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
wow it works! by moving everything to C it worked! thanks! I have a new problem though...
now it said error initializing connection pool
server boot aborted. heres the log:
08.08.2006 - 11:26:23
booting Oregano Multiuser Server - Version 1.1.0
os.name: Windows XP
os.version: 5.1
server type: Standalone
server address: parsing config.xml
parsing configuration for user properties
parsing configuration for group properties
reading Oregano Server SQL configuration in config/dbCore.xml
creating ConnectionPool
error initializing connection pool
java.lang.ClassNotFoundException: mysql.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.omus.util.ConnectionPool.<init>(ConnectionPool.java:56)
at org.omus.core.StandaloneBootManagerImpl.createConnectionPool(StandaloneBootManagerImpl.java:258)
at org.omus.core.StandaloneBootManagerImpl.init(StandaloneBootManagerImpl.java:94)
at org.omus.core.Start.main(Start.java:98)

server boot aborted.
*********************************************************
of course something went wrong with either config.xml or the start.bat; i probably entered the url or the address or the mysql driver name wrong. dunno which...
 
I guess the following link to this problem on the sun forums may help you more, I'm not up on my java apps :)

forum.java.sun.com

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
hmm i guess i've never installed the mysql driver. so i did that, now though i'm not sure how i can make that driver available for all apps.
 
mysql driver file is not jar but java for some reason. But i did install the driver JDBC from mysql...
 
haha i see the problem, the mysql.jar file should be in theext direc of my java direc. thanks for the help! it works now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top