hi, Scott. 

I've just tested it.

No, you still need to specify a port :8080  for accessing tomcat from
the LAN, (with the server.xml unmodified)

the problem did not go away. 


I went further in the tests:

1. I've tried to access scarab with Explorer running on the same linux
tomcat servet.
No problem , no delays accessing it. 


So.. here it looks like probably my newapp may have config problems. 


It's worth to mention that  i had some error messages while building
thew newapp   with: ant init

===================
project-create-db-classpath:
     [echo] 
      driver="org.gjt.mm.mysql.Driver"
      url="jdbc:mysql://127.0.0.1/newapp"
      userid="mypass"
      password="db4jinr"
    
[torque-create-db] Using classpath
[torque-create-db] Generating to file
/soft/msoft/tdk2.2b1/webapps/newapp/WEB-INF/src/sql/create-db.sql
[torque-create-db] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
...
BUILD FAILED

/soft/msoft/tdk2.2b1/webapps/newapp/WEB-INF/build/build-torque.xml:593:
java.sql.SQLException: General error: Unknown database 'newapp'

========================

I added manually the newapp database to my mysql

and the ant init was successful.

yet with some error messages like:
-----------------------------------
      [sql] Executing file:
/soft/msoft/tdk2.2b1/webapps/newapp/WEB-INF/src/sql/create-db.sql
      [sql] Failed to execute: drop database if exists default
      [sql] java.sql.SQLException: Syntax error or access violation: You
have an error in your SQL syntax near 'default' at line 1
      [sql] Failed to execute: create database default
      [sql] java.sql.SQLException: Syntax error or access violation: You
have an error in your SQL syntax near 'default' at line 1
      [sql] 6 of 8 SQL statements executed successfully

------------------------------------

and ant init compiled 57 source files. 


If other people don't experience the same problem accessing the tdm
newapp  with Explorer,  then i probably  miss something building it. 

Attached is my  webapp/newapp/WEB-INF/build/build.properties file. 


May I ask for a "good" version of  this build.properties file   

and see if my problem has gone? 

Regards,

Slava




On Thu, 2002-04-04 at 00:21, Weaver, Scott wrote:
> Correct me if I'm wrong, but shouldn't the LAN URL be:
> http://192.168.1.2:8080/newapp/servlet/newapp?  You specify port 8080 when
> accessing it on the localhost(127.0.0.1) but when you try to access from a
> LAN you are not specifing a port.  I'm assuming both URL's represent the
> same server.
> 
> hth,
> Scott
> 
> > -----Original Message-----
> > From: Slava Zimine [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 03, 2002 3:31 PM
> > To: Turbine Users List
> > Subject: problem to access newapp with Explorer/Opera
> > 
> > 
> > Hi. 
> > 
> > I'd like to ask if anybody else has experienced this problem:
> > 
> > 
> > accessing  with linux netscape 6
> > http://127.0.0.1:8080/newapp/servlet/newapp  (which turns on linux)   
> > 
> > poses no problem. 
> > 
> > 
> > Trying to access it with Explorer5/W2k on the same Lan  takes 
> > very long
> > time with a message like
> > Website found, waiting for the reply
> > opening page http://192.168.1.2/newapp/servlet/newapp
> > 
> > The page can be accessed if I click in the url adress field  and hit
> > Enter
> > 
> > The tdm logo  is not loaded. 
> > 
> > 
> > In Linux Opera 5 opening the newapp also hangs. The page 
> > loads like with
> > Explorer, when the URL field is hit with Enter.
> > 
> > 
> > in linux netscape 6, none of these problems exist.
> > 
> > 
> > Anybody has seen it? 
> > if yes, what is the remedy to fix explorer problem? 
> > 
> > 
> > regards, 
> > Slava
> > 
> > tdk2.2.b1
> > newapp default application
> > OS linux 2.4.4
> > j2sdk1.4
> > 
> > tested it with tomcat-4.0.4b1 in tdk2.2.b1
> > and with tomcat-4.0.4b2
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

# -------------------------------------------------------------------
#
# P R O J E C T  P R O P E R T I E S
#
# -------------------------------------------------------------------
tdk.home=/soft/msoft/tdk2.2b1
tdk.turbineVersion = 2
tdk.project = newapp
# This currently duplicated because the torque templates have
# a dependency on $project.
project = newapp
app.root = ../${tdk.project}
build.webappRoot = ${tdk.home}/webapps/${tdk.project}
target.package = com.newapp
target.directory = com.newapp
build.dest = ${build.webappRoot}/WEB-INF/classes
version = 0.1
src.dir = ${tdk.home}/webapps/newapp/WEB-INF/src
conf.dir = ${tdk.home}/webapps/newapp/WEB-INF/conf
master.conf.dir = ${tdk.home}/tdk/ancillary/${tdk.turbineVersion}/src/conf
debug = on
optimize = off
deprecation = on
idTableDatabase = newapp

# todo!!!
lib.dir = ${build.webappRoot}/WEB-INF/lib
torque.home = ${build.webappRoot}/WEB-INF
outputDirectory = src
schemaDirectory = conf

# -------------------------------------------------------------------
#
#  D A T A B A S E  S E T T I N G S
#
# -------------------------------------------------------------------

database.name = newapp
database = mysql
createDatabaseUrl = jdbc:mysql://127.0.0.1/newapp
buildDatabaseUrl = jdbc:mysql://127.0.0.1/newapp
databaseUrl = jdbc:mysql://127.0.0.1/newapp
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = root
databasePassword = myrootpass
databaseHost = localhost

# -------------------------------------------------------------------
#
#  T O R Q U E  C O N F I G U R A T I O N
#
# -------------------------------------------------------------------
# These settings will allow you to customize the way your
# Peer-based object model is created.
# -------------------------------------------------------------------

torque.buildFile=build-torque.xml

extend=TurbineMapBuilder
mapname=TurbineMap
suffix=MapBuilder
targetPackage=com.newapp.om
targetDirectory=com.newapp/om
addSaveMethod=true
addGetByNameMethod=false
complexObjectModel=true
basePrefix=Base

# -------------------------------------------------------------------
#
#  C O N T R O L  T E M P L A T E S
#
# -------------------------------------------------------------------

SQLControlTemplate = sql/base/Control.vm
OMControlTemplate = om/Control.vm
idTableControlTemplate = sql/id-table/Control.vm
securityControlTemplate = sql/security/Control.vm
DataDTDControlTemplate = data/Control.vm
DataDumpControlTemplate = data/dump/Control.vm
DataSQLControlTemplate = sql/load/Control.vm

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to