Re: Configure Tomcat development using NetBeans IDE

2022-02-25 Thread John Barrow
Mark,

Just as a follow up to the two rogue test files

tomcat\test\org\apache\coyote\http2\TestStream.java
tomcat\test\util\TestCookieFilter.java

I copied the util and trailers folders into the java folder and that
didn't make any difference. Also I noticed that, for the
TestStream.java source it mentions

import trailers.ResponseTrailers;

and when I hover over the exception it says that 'package trailers'
doesn't exist, whereas there is a POJC in the trailers folder
(ResponseTrailers.java).

Both these points may be irrelevant or, in the case of the second
point - package = java class as far as import goes, but I mention them
just in case.

John

On Thu, 24 Feb 2022 at 15:13, John Barrow  wrote:
>
> Mark,
>
> I have now got grep working (following a post from another member
> indicating that built into git bash!)
>
> > ant download-test-compile
>
> This is useful to know as I didn't run the tests script until later.
>
> > ant download-validate
>
> This didn't report Checkstyle missing - probably as not needed for
> actual development. Running Checkstyle using
>
> ant -Dexecute.validate=true validate
>
> did then update the libraries folder
>
> > I doubt you'll need a release build
>
> So do I by the sound of it - I will probably come back to the forum
> when looking to commit anything for the first time but I assume that I
> will just upload any changes that, once approved, will form part of
> the next release. Of course I will be able to benefit from the newly
> developed time-delay in the meantime :)
>
> I have passed on your observation "but NetBeans is not taking into
> account the isELIgnored="true" page directive" to the NetBeans
> community
>
> > I'd see if you can disable the JSP validation. If it makes you feel better, 
> > Eclipse's JSP validation has similar issues.
>
> That has no effect! We can drop the issues over JSP as the NetBeans
> community has taken up that baton.
>
> > That is an abstract base class. You won't be able to run it.
>
> Trust me to pick that one! I have only ever written simple unit tests
> so not needed to create any abstract classes in my testing, but I
> should have spent more time looking into your source and then would
> have spotted the 'abstract' keyword!!  In a very weak defence, I tend
> to use interfaces rather than abstract classes. Anyway, thanks for the
> naming conventions, that will prove time-saving. For good measure, I
> ran TestDefaultServlet and that ran the tests successfully.
>
> Thanks for the explanation of the dual 'bin' folders.
>
> > Yes, the Java compiler is smart enough to generate the byte code as if it 
> > was generated with Java 11 so you are fine to stick with Java 17 as long as 
> > the build version is 11.
>
> I have amended my project options to reflect this and rebuilt the
> project to check everything still works - it does!
>
> > Ah. You need to add webapps/examples/WEB-INF/classes as a source folder. 
> > That should fix the two issues above.
>
> I must still be missing a link here, I have added that folder to the
> list of  elements. I also added it to the  since, as
> the project references files inside this folder, it seemed applicable
> to include it. However, it didn't appear to make any difference - i.e.
> NetBeans still couldn't tie the source back to those Java classes.
>
> I have checked that I have typed the paths correctly and I can see the
> trailers.ResponseTrailers (& util.CookieFilter) file(s) in the
> WEB-APP\classes and visible in the project folders (I assume as added
> to ) to back-up paths are valid. NetBeans doesn't let me take
> any action to try and find the file to resolve the [!], I assume
> because it is a free form Ant project and so configuration is
> 'read-only' once loaded (I would have options in Maven to locate the
> missing resource).
>
> I have added my current project.xml and Trailers.ResponseTrailers.jpg
> to the DropBox folder in case either of them helps. My only
> observation is that, as I can't find a corresponding XSD file for
> project.xml, there is another attribute I need to set to indicate that
> these are class files in a different folder to the one the other
> package files are in, but that seems unlikely.
>
> > I think you mean 8000 for remote debugging but otherwise great. If you can 
> > get this working, you are doing really well.
>
> I was using 8080 and appeared to be working although I have not used
> it in anger yet. I had amended the catalina.bat line "set
> JPDA_ADDRESS=localhost:8080, because I connect to Tomcat using
> http://localhost:8080/examples. Your statement concerned me slightly
> in that I now believe that I had made a wrong assumption. Anyway, I
> amended the catalina.bat back and set NetBeans remote debugging to the
> same and it worked as well so I will leave it at 8000. I couldn't find
> anything on the web re Port 8000 vs 8080 (apart from "use which one
> you want"), but I suspect that, ideally, the debugging communications
> should be using a different port 

Re: [OT] Configure Tomcat development using NetBeans IDE

2022-02-24 Thread Christopher Schultz

John,

On 2/23/22 05:08, John Barrow wrote:

I fall into that historic stereotypical old-school developer type
labelled 'lazy'

You're in good company.

Awww.. the threevirtues dot com website has been hijacked by some stupid 
advertising company. This is why we can't have nice things.


Google for a better reference; I didn't want to post any of them in this 
forum.


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Configure Tomcat development using NetBeans IDE

2022-02-24 Thread John Barrow
Mark,

I have now got grep working (following a post from another member
indicating that built into git bash!)

> ant download-test-compile

This is useful to know as I didn't run the tests script until later.

> ant download-validate

This didn't report Checkstyle missing - probably as not needed for
actual development. Running Checkstyle using

ant -Dexecute.validate=true validate

did then update the libraries folder

> I doubt you'll need a release build

So do I by the sound of it - I will probably come back to the forum
when looking to commit anything for the first time but I assume that I
will just upload any changes that, once approved, will form part of
the next release. Of course I will be able to benefit from the newly
developed time-delay in the meantime :)

I have passed on your observation "but NetBeans is not taking into
account the isELIgnored="true" page directive" to the NetBeans
community

> I'd see if you can disable the JSP validation. If it makes you feel better, 
> Eclipse's JSP validation has similar issues.

That has no effect! We can drop the issues over JSP as the NetBeans
community has taken up that baton.

> That is an abstract base class. You won't be able to run it.

Trust me to pick that one! I have only ever written simple unit tests
so not needed to create any abstract classes in my testing, but I
should have spent more time looking into your source and then would
have spotted the 'abstract' keyword!!  In a very weak defence, I tend
to use interfaces rather than abstract classes. Anyway, thanks for the
naming conventions, that will prove time-saving. For good measure, I
ran TestDefaultServlet and that ran the tests successfully.

Thanks for the explanation of the dual 'bin' folders.

> Yes, the Java compiler is smart enough to generate the byte code as if it was 
> generated with Java 11 so you are fine to stick with Java 17 as long as the 
> build version is 11.

I have amended my project options to reflect this and rebuilt the
project to check everything still works - it does!

> Ah. You need to add webapps/examples/WEB-INF/classes as a source folder. That 
> should fix the two issues above.

I must still be missing a link here, I have added that folder to the
list of  elements. I also added it to the  since, as
the project references files inside this folder, it seemed applicable
to include it. However, it didn't appear to make any difference - i.e.
NetBeans still couldn't tie the source back to those Java classes.

I have checked that I have typed the paths correctly and I can see the
trailers.ResponseTrailers (& util.CookieFilter) file(s) in the
WEB-APP\classes and visible in the project folders (I assume as added
to ) to back-up paths are valid. NetBeans doesn't let me take
any action to try and find the file to resolve the [!], I assume
because it is a free form Ant project and so configuration is
'read-only' once loaded (I would have options in Maven to locate the
missing resource).

I have added my current project.xml and Trailers.ResponseTrailers.jpg
to the DropBox folder in case either of them helps. My only
observation is that, as I can't find a corresponding XSD file for
project.xml, there is another attribute I need to set to indicate that
these are class files in a different folder to the one the other
package files are in, but that seems unlikely.

> I think you mean 8000 for remote debugging but otherwise great. If you can 
> get this working, you are doing really well.

I was using 8080 and appeared to be working although I have not used
it in anger yet. I had amended the catalina.bat line "set
JPDA_ADDRESS=localhost:8080, because I connect to Tomcat using
http://localhost:8080/examples. Your statement concerned me slightly
in that I now believe that I had made a wrong assumption. Anyway, I
amended the catalina.bat back and set NetBeans remote debugging to the
same and it worked as well so I will leave it at 8000. I couldn't find
anything on the web re Port 8000 vs 8080 (apart from "use which one
you want"), but I suspect that, ideally, the debugging communications
should be using a different port to the application otherwise there
may be conflicts but couldn't find anything to back up that
hypothesis.

> - Patch file in diff -u format attached to a BugZilla issue
> - GitHub pull request
> Happy to provide pointers for either approval if needed.

Unfortunately,II will now probably have to wait a bit for that. I will
soak the changes to the NetBeans configuration files while I explore
Tomcat, once the webapps/examples/WEB-INF/classes issue is sorted and
(hopefully) the NetBeans community has resolved the other exceptions.
That way, if I discover another missing link, I can incorporate it and
upload all the configuration changes at once to minimise confusion.
However, I am away in a weeks time - 5th March (Snowboarding at
last!), and have to catch up with some other chores / tasks before
getting back on the laptop. Hopefully, we can get these last minor
sti

Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread Mark Thomas
mes I just delete the warning and it doesn't come back. 
Don't know if that is an option in NetBeans.



org.apache.coyote.http2.TestStream
   - package trailers does not exist - import trailers.ResponseTrailers;

util.TestCookieFilter
  - cannot find symbol CookieFilter in (e.g., multiple instances)
  Assert.assertEquals("a=b", CookieFilter.filter("a=b", null));


Ah. You need to add webapps/examples/WEB-INF/classes as a source folder. 
That should fix the two issues above.



(e.g.) webapp/bug36923.jsp, but there are quite a few similar.
  - This may be Netbeans validating against specific HTML versions. I
have taken 2 screenshots (prefixed JSP Exception) of the exception and
proposed fix but not done anything as not sure whether these are
historic or used as part of the test framework.


That is a NetBeans bug. The JSP is valid but NetBeans is not taking into 
account the isELIgnored="true" page directive.


To be fair to NetBeans, this is a can of worms. JSP Page directives can 
be set in both the current page and any included page. To add to the 
'fun' you can also specify includes in web.xml. Tomcat parses the page 
(and all its includes) twice. Once to find all the directives and once 
for everything else, once it knows what directives have been set.



It would be nice to
start with a clean sheet though, more in case others later come on
board and get distracted by exceptions that aren't important.


I agree completely. IDE warnings have often provided me with a hint that 
something isn't quite right with a change I have just made. That only 
works because the project is warning free to start with.


I'd see if you can disable the JSP validation. If it makes you feel 
better, Eclipse's JSP validation has similar issues.



Apart from those remaining exceptions, the tests folder looks to be
acceptable to NetBeans.

I then ran 'ant test' and encouragingly, all the tests appeared to pass


Excellent.


Following instructions in points 7 & 8 of the 
tomcat\res\ide-support\netbeans\README.txt (run and debug an individual test)


 From NetBeans, I then went to see if I could run an individual test
and came unstuck. OK, I picked a test at random that looked
interesting so I tried
org.apache.catalina.servlets.ServletOptionsBaseTest. The log (Test
output for org.apache.catalina.servlets.ServletOptionsBaseTest.txt)
reported an Error and so FAILED the test. I have uploaded the log to
DropBox.


That is an abstract base class. You won't be able to run it. You should 
be able to run one of the concrete sub-classes such as 
org.apache.catalina.servlets.TestDefaultServletOptions


The naming convention is:

- Test*   - tests you can run
- Tester* - support class - no tests to run
- Anything else - something you can't run as as test




So I amended the CATALINA_HOME = C:\Community\tomcat\output\build

C:\Community\tomcat\output\build\bin>catalina.bat run
Using CATALINA_BASE:   "C:\Community\tomcat\output\build"
Using CATALINA_HOME:   "C:\Community\tomcat\output\build"
Using CATALINA_TMPDIR: "C:\Community\tomcat\output\build\temp"
Using JRE_HOME:"C:\Development\JDK\jdk-17"
Using CLASSPATH:
"C:\Community\tomcat\output\build\bin\bootstrap.jar;C:\Community\tomcat\output\build\bin\tomcat-juli.jar"
Using CATALINA_OPTS:   ""

and it launched!!!

I checked http://localhost:8080/examples and that all looks OK

So, out of interest, why are there two bin folders?


If we use GIT_CLONE to represent wherever you cloned the Tomcat source

%GIT_CLONE%\bin is the source folder.

When you run

ant

It creates a combined CATALINA_HOME/CATALINA_BASE in 
%GIT_CLONE%\output\build


%GIT_CLONE% doesn't have a lib or logs directory either.

In Maven terms, output\build == target


I believe the way most Tomcat committers work is running Tomcat on the command 
line and remote debugging from their IDE of choice.
Following instructions in points 9 of the 
tomcat\res\ide-support\netbeans\README.txt (run and debug an individual test)


In short, I was successful in this. Again, I had never done remote
debugging before! I needed to change the port to 8080 everywhere but
that was about it.


I think you mean 8000 for remote debugging but otherwise great. If you 
can get this working, you are doing really well.



I fudged a few parameters in catalina.bat and tweaked the source of
org.apache.catalina.util.ServerInfo (added a console keyboard read to
pause the routine) in the first instance as I could test the remote
debugging on a simple example. Netbeans initially claimed that the
source with the breakpoint in wasn't from tomcat\java (it was) but
mysteriously, that message went away and got the "lineBreakpoint
ServerInfo:117 successfully submitted" in the status bar and all was
well.

Finally (you will be glad to know), I repeated the exercise, setting
the d

Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread John Barrow
Hi Greg,

> You should not need to reload tomcat for code unless NetBeans cannot handle 
> hot reload.

I don't believe that there is a problem with NetBeans, it updates the
active code files in the WEB_APP/classes perfectly, but then as
previously discussed in the other thread, there is no file locking
(not possible) and as soon as multiple files need recompiling (in my
case a listener and a class) we risk having an unstable deployment,
albeit for a fraction of a second. Tomcat detects the first file
change and that triggers the reload of the webapp. However, the
listener class (in my case) is still being created / updated and
causes Tomcat to crash (understandably so). Weirdly enough, I never
had an issue until I upgraded to Tomcat 10, but I suspect that was a
fluke of the project I was working on rather than the upgrade. I
mainly create Java Servlets (brilliant API by the way) and so am
installing many small individual class files.

>  I would stop and restart tomcat for method signature changes, new classes 
> etc.  It's quick and stops reload issues.

You are right, Tomcat is ridiculously fast to Start / Stop (2 mouse
clicks for me, 5 seconds). In fact when I first installed Tomcat that
is how I operated until I discovered reloadable - and I fall into that
historic stereotypical old-school developer type labelled 'lazy', true
in my case. I could now halve the number of keystrokes (and shave 5
seconds off my deploy) so now it was F11 (recompile), F5 (browser
refresh). Of course, once you have been tempted by the serpent, it is
so hard to have your candy taken away from you hence me spending a
week attempting to install Tomcat and implement some protection for
this scenario :)

John


On Wed, 23 Feb 2022 at 08:10, Greg Huber  wrote:
>
> There have been lots of emails on this, sorry if I have missed something..
>
> Although I don't use net beans, I use Eclipse with the venerable Sysdeo
> Tomcat Plugin (modified), and from my experience set reloadable =
> "false".  I would stop and restart tomcat for method signature changes,
> new classes etc.  It's quick and stops reload issues.
>
> You should not need to reload tomcat for code unless, net beans cannot
> handle hot reload.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread Greg Huber

There have been lots of emails on this, sorry if I have missed something..

Although I don't use net beans, I use Eclipse with the venerable Sysdeo 
Tomcat Plugin (modified), and from my experience set reloadable = 
"false".  I would stop and restart tomcat for method signature changes, 
new classes etc.  It's quick and stops reload issues.


You should not need to reload tomcat for code unless, net beans cannot 
handle hot reload.



On 22/02/2022 17:59, John Barrow wrote:

Hi,

Firstly, this is actually a continuation of a previous thread
(specifically the email from Make Thomas, dated 21/02/2022 08:10)
discussing the specification for enhancing the reloading of webapps
after changes to the deployed files. This thread is titled ‘ is too quick to respond’ and remains active with
outstanding discussion points. However, in order to try and implement
the suggested changes, I needed to create a development environment
and so the thread quickly shifted into a bunch of configuration issues
which took the thread off topic.

Secondly, this email is quite long as I wanted to describe the steps I
took to get to where I am now (briefly, nearly there, just can't fully
test, unless all of them!). I have also included some suggestions for
alterations to the NetBeans configuration files that I am happy to
commit back to git if my understanding is correct./ deductions are
correct although one of them appears to be an issue with the ant build
and I am not confident enough to research this.

There are a couple of attachments that, as before, I have placed in my
shared Dropbox folder, accessed from

https://www.dropbox.com/sh/2ewipogzr48qcxi/AAAf3Rqv6WoRO9hyMC0W7P2za?dl=0

Mark, your insightful email has proved invaluable and having spent a
couple of days working through this, it has provided the catalyst for
me to be able to start joining the dots to achieving a full
development environment.

So, responding to each of your suggestions has taken me on a massive
learning curve, but

Firstly, I started back with a blank piece of paper.


If your eventual aim is to provide a pull request to address this issue then 
I'd recommend:
  - Fork the Tomcat project in GitHub
  - Checkout your clone

As a life-long supporter of Subversion, this was my first foray into
the world of git, but I believe, after a quick crash course, I have
managed to have forked and cloned Tomcat onto my laptop!


This is where using a clone would speed things up as you'd be able to fetch the 
update from Git.

Therefore, you can now assume that I can speed things up :)

I have built Tomcat using Ant.

Ran the amended 'ant ide-netbeans' script (checked GitHub to see what
changes had been made - the details of this change log request turned
out to be very useful later!)


Hmm. You shouldn't see any warnings about modules. A handful of warnings about 
deprecation are expected. If you still see these warnings then yes, please 
provide a copy so we can take a look.

Launched NetBeans and did a clean > deploy. The results are in my
shared DropBox folder (along with everything else) called "Ant Clean
and Build from Netbeans.txt" and it did actually look to have done a
successful build if you believe the summary line! While I did get
warnings about deprecated features as expected, I also had quite a
number of other warnings that looked a bit concerning (which you asked
me to submit to you)

e.g. - WARN aQute.bnd.plugin.jpms.JPMSModuleInfoPlugin - Can't find a
module name for imported package: jakarta.websocket

At this point, I still had a lot of red [!] against the Tests folder,
just as before and so the version amendment for jUnit didn't appear to
work, although I verified that it is the latest jUnit v4 build from
Mavens repository. As an aside, as I am sure you are aware, NetBeans
didn't support any later versions of jUnit using the Ant framework as
they believe that no-one should be using Ant anymore and should
migrate to Maven / Gradle!

So, rather than push back immediately, I thought I would spend some
time yesterday trying to figure it out, given that you had (by your
change) hinted which of the files might be related to my issue. Also,
your reference to tomcat\res\ide-support\netbeans\README.txt was
enlightening!

Anyway, to cut a long investigation short, I found two environments
that were out of sync.

As far as I can tell, in nbproject\project.xml, the classpath just
underneath the  element

 output/classes:output/testclasses:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest/hamcrest-2.2.jar

should look more like

output/classes:output/testclasses:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path

Configure Tomcat development using NetBeans IDE

2022-02-22 Thread John Barrow
Hi,

Firstly, this is actually a continuation of a previous thread
(specifically the email from Make Thomas, dated 21/02/2022 08:10)
discussing the specification for enhancing the reloading of webapps
after changes to the deployed files. This thread is titled ‘ is too quick to respond’ and remains active with
outstanding discussion points. However, in order to try and implement
the suggested changes, I needed to create a development environment
and so the thread quickly shifted into a bunch of configuration issues
which took the thread off topic.

Secondly, this email is quite long as I wanted to describe the steps I
took to get to where I am now (briefly, nearly there, just can't fully
test, unless all of them!). I have also included some suggestions for
alterations to the NetBeans configuration files that I am happy to
commit back to git if my understanding is correct./ deductions are
correct although one of them appears to be an issue with the ant build
and I am not confident enough to research this.

There are a couple of attachments that, as before, I have placed in my
shared Dropbox folder, accessed from

https://www.dropbox.com/sh/2ewipogzr48qcxi/AAAf3Rqv6WoRO9hyMC0W7P2za?dl=0

Mark, your insightful email has proved invaluable and having spent a
couple of days working through this, it has provided the catalyst for
me to be able to start joining the dots to achieving a full
development environment.

So, responding to each of your suggestions has taken me on a massive
learning curve, but

Firstly, I started back with a blank piece of paper.

> If your eventual aim is to provide a pull request to address this issue then 
> I'd recommend:
>  - Fork the Tomcat project in GitHub
>  - Checkout your clone

As a life-long supporter of Subversion, this was my first foray into
the world of git, but I believe, after a quick crash course, I have
managed to have forked and cloned Tomcat onto my laptop!

> This is where using a clone would speed things up as you'd be able to fetch 
> the update from Git.

Therefore, you can now assume that I can speed things up :)

I have built Tomcat using Ant.

Ran the amended 'ant ide-netbeans' script (checked GitHub to see what
changes had been made - the details of this change log request turned
out to be very useful later!)

> Hmm. You shouldn't see any warnings about modules. A handful of warnings 
> about deprecation are expected. If you still see these warnings then yes, 
> please provide a copy so we can take a look.

Launched NetBeans and did a clean > deploy. The results are in my
shared DropBox folder (along with everything else) called "Ant Clean
and Build from Netbeans.txt" and it did actually look to have done a
successful build if you believe the summary line! While I did get
warnings about deprecated features as expected, I also had quite a
number of other warnings that looked a bit concerning (which you asked
me to submit to you)

e.g. - WARN aQute.bnd.plugin.jpms.JPMSModuleInfoPlugin - Can't find a
module name for imported package: jakarta.websocket

At this point, I still had a lot of red [!] against the Tests folder,
just as before and so the version amendment for jUnit didn't appear to
work, although I verified that it is the latest jUnit v4 build from
Mavens repository. As an aside, as I am sure you are aware, NetBeans
didn't support any later versions of jUnit using the Ant framework as
they believe that no-one should be using Ant anymore and should
migrate to Maven / Gradle!

So, rather than push back immediately, I thought I would spend some
time yesterday trying to figure it out, given that you had (by your
change) hinted which of the files might be related to my issue. Also,
your reference to tomcat\res\ide-support\netbeans\README.txt was
enlightening!

Anyway, to cut a long investigation short, I found two environments
that were out of sync.

As far as I can tell, in nbproject\project.xml, the classpath just
underneath the  element

output/classes:output/testclasses:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest/hamcrest-2.2.jar

should look more like

   output/classes:output/testclasses:${base.path}/junit-4.13.2/junit-4.13.2.jar:${base.path}/easymock-4.3/easymock-4.3.jar:${base.path}/objenesis-3.2/objenesis-3.2.jar:${base.path}/cglib-3.3.0/cglib-nodep-3.3.0.jar:${base.path}/hamcrest-2.2/hamcrest-2.2.jar:${base.path}/unboundid-ldapsdk-6.0.3/unboundid-ldapsdk-6.0.3.jar

There was a typo in the hamcrest folder name (missing version) and
some of the classes the test sources referred to were missing. I used
the Maven repository to identify the latest versions and downloaded
them.

The reason that the jUnit classes weren't found is that they weren't
being downloaded into the {ba

Re: tomcat v 9.0 crashing in Eclipse IDE Version: 2020-09 (4.17.0)

2020-12-08 Thread Mark Thomas
On 08/12/2020 19:51, Jim Anderson wrote:
> 
> I am trying to run Tomcat v 9.0 in Eclipse on a linux PC and the server
> is crashing before if fully starts up. At this point, I do not consider
> this a user error,

It is clearly user error.

> but possibly my configuration of Eclipse is a bad
> one. But even if it is, there should be error message not a crash with a
> stack trace.

That isn't a crash. That is Tomcat deliberately not starting because of
the user error.

You have been provided with an error message and a stack trace to show
you exactly where the error occurred.


The servlets named [bfs.hyp.SCCS.AjaxHandler] and [bfs.hyp.AjaxHandler]
are both mapped to the url-pattern [/AjaxHandler] which is not permitted


In this instance there is no way for Tomcat to determine which Servlet
should be enabled and which one ignored so Tomcat fails the start.

> For now, I am simply including the error file showing the stack trace.
> Should I submit this to the developers mailing list?

No.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat v 9.0 crashing in Eclipse IDE Version: 2020-09 (4.17.0)

2020-12-08 Thread Jim Anderson


I am trying to run Tomcat v 9.0 in Eclipse on a linux PC and the server 
is crashing before if fully starts up. At this point, I do not consider 
this a user error, but possibly my configuration of Eclipse is a bad 
one. But even if it is, there should be error message not a crash with a 
stack trace.


For now, I am simply including the error file showing the stack trace. 
Should I submit this to the developers mailing list?


--
Jim Anderson
cell - 908-329-0586

Dec 08, 2020 2:17:24 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name:   Apache Tomcat/9.0.38
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:  Sep 10 2020 08:20:30 UTC
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.38.0
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:   Linux
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:5.4.0-56-generic
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:  amd64
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: /usr/lib/jvm/java-11-openjdk-amd64
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:   11.0.9.1+1-Ubuntu-0ubuntu1.20.04
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:Ubuntu
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: 
/home/jja/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: /usr/share/apache-tomcat-9.0.38
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: 
-Dcatalina.base=/home/jja/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/usr/share/apache-tomcat-9.0.38
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: 
-Dwtp.deploy=/home/jja/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
Dec 08, 2020 2:17:25 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
Dec 08, 2020 2:17:25 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: The Apache Tomcat Native library which allows using OpenSSL was not found 
on the java.library.path: 
[/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
Dec 08, 2020 2:17:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Dec 08, 2020 2:17:27 PM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [3411] milliseconds
Dec 08, 2020 2:17:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Dec 08, 2020 2:17:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.38]
Dec 08, 2020 2:17:29 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testProj]]
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at 
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at 
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at 
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at 
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at 
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at 
org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.ca

Re: Tomcat and IDE

2019-01-02 Thread John Dale
I'm still using Tomcat 7.x.x.

When I change static members or log4j configuration, I have to cycle
Tomcat.  I can make this faster by avoiding scans of jar files on
startup.  When I change non-static declarations, my webapp
auto-deploys and I can test handlers/changes.  Threads can be tricky
.. I only test those after bouncing Tomcat.

I'm using DB2DOM for my MVC and O/R M .. the MVC handler methods are
non-static, and I can test, change, build, and redeploy lengthy and/or
difficult logic in those handlers without a restart.

It can take a few moments to see the redeploy in my log files.

Have a good one,

John


On 1/2/19, r.bott...@afterbit.com  wrote:
> Hi,
> actually during development, I use the server in localhost .. but if I do
> not reboot, I do not see the new code changes...
>
> -Messaggio originale-
> Da: André Warnier (tomcat) 
> Inviato: mercoledì 2 gennaio 2019 10:37
> A: users@tomcat.apache.org
> Oggetto: Re: Tomcat and IDE
>
> On 02.01.2019 10:00, r.bott...@afterbit.com wrote:
>> Hello,
>> I apologize in advance if this is not the correct place..
>> I develop webapp with Netbeans IDE and Tomcat.. everytime that i make
>> a change in my code (javabeans) i stop tomcat, clear its cache, and
>> restart the server.. this is a bit of a waste of time.. is this the
>> correct way or there are some shortcuts?
>> Thanks!
>>
> Hi. Maybe you want to have a look at this :
> http://tomcat.apache.org/tomcat-9.0-doc/deployer-howto.html#Deploying_on_a_r
> unning_Tomcat_server
>
> I'm far from an expert, but if your app works the same as a Java webapp, it
> should help.
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> --
> Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non
> infetto.
> This message was scanned by Libra ESVA and is believed to be clean.
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



R: Tomcat and IDE

2019-01-02 Thread r.bottoni
Hi,
actually during development, I use the server in localhost .. but if I do
not reboot, I do not see the new code changes...

-Messaggio originale-
Da: André Warnier (tomcat)  
Inviato: mercoledì 2 gennaio 2019 10:37
A: users@tomcat.apache.org
Oggetto: Re: Tomcat and IDE

On 02.01.2019 10:00, r.bott...@afterbit.com wrote:
> Hello,
> I apologize in advance if this is not the correct place..
> I develop webapp with Netbeans IDE and Tomcat.. everytime that i make 
> a change in my code (javabeans) i stop tomcat, clear its cache, and 
> restart the server.. this is a bit of a waste of time.. is this the 
> correct way or there are some shortcuts?
> Thanks!
>
Hi. Maybe you want to have a look at this :
http://tomcat.apache.org/tomcat-9.0-doc/deployer-howto.html#Deploying_on_a_r
unning_Tomcat_server

I'm far from an expert, but if your app works the same as a Java webapp, it
should help.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non
infetto.
This message was scanned by Libra ESVA and is believed to be clean.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat and IDE

2019-01-02 Thread tomcat

On 02.01.2019 10:00, r.bott...@afterbit.com wrote:

Hello,
I apologize in advance if this is not the correct place..
I develop webapp with Netbeans IDE and Tomcat.. everytime that i make a
change in my code (javabeans) i stop tomcat, clear its cache, and restart
the server.. this is a bit of a waste of time.. is this the correct way or
there are some shortcuts?
Thanks!


Hi. Maybe you want to have a look at this :
http://tomcat.apache.org/tomcat-9.0-doc/deployer-howto.html#Deploying_on_a_running_Tomcat_server

I'm far from an expert, but if your app works the same as a Java webapp, it 
should help.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat and IDE

2019-01-02 Thread r.bottoni
Hello,
I apologize in advance if this is not the correct place..
I develop webapp with Netbeans IDE and Tomcat.. everytime that i make a
change in my code (javabeans) i stop tomcat, clear its cache, and restart
the server.. this is a bit of a waste of time.. is this the correct way or
there are some shortcuts?
Thanks!


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

2014-10-03 Thread Mitev, Mitko
Ognjen

-Original Message-
>From: Mitev, Mitko [mailto:mitko.mi...@unify.com] 
>Sent: 3. října 2014 10:06
>To: Tomcat Users List
>Subject: RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

>Ognjen

-Original Message-
>You right with the quotation mark, I apologize for it.
>But nevertheless the removing the quotation mark solves the problem. 
>I have done also further investigation the problem is with the following 
>parameter in the command line: 
>-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.80.*|10.0.0.*"
 > If I remove the proxy setting the startup works fine.
> I have also looked on the issue 56895 in bugzilla and I have found 
> interesting thing: The fix for 56895 comes from Tomcat 7 (actually from 
> 7.0.54). If I run this tko] > version the startup works fine though I use 
> proxy setting described above. For me it seems as bug in tomcat 8 for fix 
> 56895.

The Tomcat 7.0.55 doesn't yet contain the fix for 56895. So this is the reason 
why it works.

-Mitko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

2014-10-03 Thread Mitev, Mitko
Ognjen

-Original Message-
>From: Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com] 
>Sent: 3. října 2014 9:20
>To: Tomcat Users List
>Subject: Re: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

>Mitko,

On 3.10.2014 8:52, Mitev, Mitko wrote:
>> Tomcat 8.0.12
>> :noJuliConfig
>> set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
>>
>> Tomcat 8.0.14
>> :noJuliConfig
>> set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”

>>Actually, the qotation marks in 8.0.14 are in different position:

>>set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"


>> Removing quotation marks solves the problem.
>>
>> Does anybody knows the reason why the quotation marks were introduced?

>Rationale for the question marks is described here:

>   https://issues.apache.org/bugzilla/show_bug.cgi?id=56895

>-Ognjen

You right with the quotation mark, I apologize for it.
But nevertheless the removing the quotation mark solves the problem. 
I have done also further investigation the problem is with the following 
parameter in the command line: 
-Dhttp.nonProxyHosts="localhost|127.0.0.1|10.80.*|10.0.0.*"
If I remove the proxy setting the startup works fine.
I have also looked on the issue 56895 in bugzilla and I have found interesting 
thing: The fix for 56895 comes from Tomcat 7 (actually from 7.0.54). If I run 
this version the startup works fine though I use proxy setting described above. 
For me it seems as bug in tomcat 8 for fix 56895.

-Mitko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

2014-10-03 Thread Ognjen Blagojevic

Mitko,

On 3.10.2014 8:52, Mitev, Mitko wrote:

Tomcat 8.0.12
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%

Tomcat 8.0.14
:noJuliConfig
set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”


Actually, the qotation marks in 8.0.14 are in different position:

set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%"



Removing quotation marks solves the problem.

Does anybody knows the reason why the quotation marks were introduced?


Rationale for the question marks is described here:

  https://issues.apache.org/bugzilla/show_bug.cgi?id=56895

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

2014-10-02 Thread Mitev, Mitko
Hi,

I have already found a root cause for this problem.

There is a change in catalina.bat file on lines 196 and 201

Tomcat 8.0.12
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%

Tomcat 8.0.14
:noJuliConfig
set JAVA_OPTS=”%JAVA_OPTS% %LOGGING_CONFIG%”

Removing quotation marks solves the problem.
 
Does anybody knows the reason why the quotation marks were introduced?

Regrads

Mitko

From: Mitev, Mitko [mailto:mitko.mi...@unify.com] 
Sent: 2. října 2014 11:31
To: users@tomcat.apache.org
Subject: Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

Hi,

I have just encountered the following issue:
I installed Tomcat 8.0.14 on my PC ( Win 7) and integrated it to Netbeans 8.0.1
I tried to start Tomcat from Netbeans IDE and I’ve got the following error:
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.

I have been using Netbeans and Tomcat for many years and I have never 
encountered such problem. The previous version - Tomcat 8.0.12 – works fine in 
my environment.

Any hints?
Mitko Mitev
R&D CZ 32 Team Lead
Unify, s.r.o.
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel,: +420 266 061 251
Fax: +420 266 066 251
Mobil: +420 724 754 090
mailto: mitko.mi...@unify.com
www.unify.com/cz 
Follow us 

Unify s.r.o., zapsaná v obchodním rejstříku vedeném Městským soudem v Praze, 
oddíl C, vložka 117991
Sídlo:  Průmyslová 1306/7,  102 00 Praha 10 – Hostivař, IČ: 27599523, DIČ: 
CZ27599523
Jednatelé:  Jan Lerche  a  Ing. Tomáš Hájek
Bankovní spojení:  UniCredit Bank Czech Republic a.s., Nám. Republiky 3a/2090,  
110 05  Praha 1, 
č.ú. CZK: 513686001/2700,  č.ú. EUR: 513686028/2700

POZOR!
Důležité upozornění: Tato zpráva i její případné přílohy jsou důvěrného 
charakteru, mohou obsahovat obchodní tajemství a být chráněny před zveřejněním. 
Pokud jste zprávu obdrželi omylem, kontaktujte prosím odesílatele a předmětnou 
zprávu i s přílohami ihned ze svého systému vymažte. Jakékoli změny, 
přeposílání či jiné aktivity související s informacemi v této zprávě, nejsou 
dovoleny jiným osobám, než kterým je zpráva určena. 
Important Note!
This e-mail and any attachment are confidential and may contain trade secrets 
and may also be legally privileged or otherwise protected from disclosure. If 
you have received it in error, please notify the sender immediately by e-mail 
and then delete this e-mail and any attachment from your system. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat 8.0.14 - doesn§t start from Netbeans 8.0.1 IDE

2014-10-02 Thread Mitev, Mitko
Hi,

I have just encountered the following issue:
I installed Tomcat 8.0.14 on my PC ( Win 7) and integrated it to Netbeans 8.0.1
I tried to start Tomcat from Netbeans IDE and I’ve got the following error:
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.

I have been using Netbeans and Tomcat for many years and I have never 
encountered such problem. The previous version - Tomcat 8.0.12 – works fine in 
my environment.

Any hints?
Mitko Mitev
R&D CZ 32 Team Lead
Unify, s.r.o.
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel,: +420 266 061 251
Fax: +420 266 066 251
Mobil: +420 724 754 090
mailto: mitko.mi...@unify.com<mailto:mitko.mi...@unify.com>
www.unify.com/cz
Follow us [Social_media_icons] <http://www.unify.com/us/about/social-media.aspx>

Unify s.r.o., zapsaná v obchodním rejstříku vedeném Městským soudem v Praze, 
oddíl C, vložka 117991
Sídlo:  Průmyslová 1306/7,  102 00 Praha 10 – Hostivař, IČ: 27599523, DIČ: 
CZ27599523
Jednatelé:  Jan Lerche  a  Ing. Tomáš Hájek
Bankovní spojení:  UniCredit Bank Czech Republic a.s., Nám. Republiky 3a/2090,  
110 05  Praha 1,
č.ú. CZK: 513686001/2700,  č.ú. EUR: 513686028/2700

POZOR!
Důležité upozornění: Tato zpráva i její případné přílohy jsou důvěrného 
charakteru, mohou obsahovat obchodní tajemství a být chráněny před zveřejněním. 
Pokud jste zprávu obdrželi omylem, kontaktujte prosím odesílatele a předmětnou 
zprávu i s přílohami ihned ze svého systému vymažte. Jakékoli změny, 
přeposílání či jiné aktivity související s informacemi v této zprávě, nejsou 
dovoleny jiným osobám, než kterým je zpráva určena.
Important Note!
This e-mail and any attachment are confidential and may contain trade secrets 
and may also be legally privileged or otherwise protected from disclosure. If 
you have received it in error, please notify the sender immediately by e-mail 
and then delete this e-mail and any attachment from your system. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited.



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-08 Thread srinivas2828

oops thats great working fine and have one  more and how can i use ant to
build this project to work with tomcat and eclipse

Mercy Ma wrote:
> 
> Hi,
> 
> At first , you need to create a web project , and the add it into 
> tomcat server.
> 
> Later, you create a new jsp page, select it and click right button, 
> the pop-up menu dispears, select Run As -> Run on Server, the server is 
> Ok when that page is present. :-)
> 
>
> Kind regards,
> Mercy
> 
> srinivas2828 wrote:
>> Oh..thats Great and can you tell me how can i see the server status
>> success
>> or not and can i see the default success page in eclipse and is it
>> possibe?
>> or ele browser?dont mind for this question and I am newbie to this kind
>> of
>> configurations...
>> O
>>
>> Mercy Ma wrote:
>>   
>>> Hi,
>>> You could add the src.zip under JDK folder instead of JRE,please take a 
>>>  
>>> look at the attached image file.
>>>
>>> Kind regards,
>>> Mercy
>>>
>>>
>>> On Wed, 07 Oct 2009 17:34:18 +0800, srinivas2828
>>>   
>>> wrote:
>>>
>>> 
>>>> I really appriciate your help but got one more problem,please find  
>>>> attached
>>>> copy of image
>>>> http://www.nabble.com/file/p25783409/Screenshot.png Screenshot.png
>>>>
>>>> Konstantin Kolinko wrote:
>>>>   
>>>>> 2009/10/7 srinivas2828 :
>>>>> 
>>>>>> Hi Deepa
>>>>>> I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i  
>>>>>> got
>>>>>> and I am facing one problem that when I start Tomcat server it came  
>>>>>> with
>>>>>> one
>>>>>> error message which says "Starting Tomcatv6.0 Server at localhost has
>>>>>> encoutered a problem, Port 80 required by Tomcat v6.0 server at  
>>>>>> localhost
>>>>>> already in use. the server may already running in another process, or
>>>>>> a
>>>>>> system process may be using  the port,To start this server you will  
>>>>>> need
>>>>>> to
>>>>>> stop  the other process or change the port number(s)"
>>>>>>
>>>>>> any idea
>>>>>>
>>>>>>   
>>>>> As it says, "you will need to stop the other process or change the
>>>>> port number(s)"
>>>>>
>>>>> Either change the numbers by editing server.xml (that is inside the
>>>>> Servers project), or using the GUI, e.g. as is described here (found
>>>>> thanks to Google):
>>>>>
>>>>> http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/
>>>>>
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>>
>>>>>
>>>>>
>>>>> 
>>> -- 
>>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>> 
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25802960.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread Mercy

Hi,

   At first , you need to create a web project , and the add it into 
tomcat server.


   Later, you create a new jsp page, select it and click right button, 
the pop-up menu dispears, select Run As -> Run on Server, the server is 
Ok when that page is present. :-)


  
Kind regards,

Mercy

srinivas2828 wrote:

Oh..thats Great and can you tell me how can i see the server status success
or not and can i see the default success page in eclipse and is it possibe?
or ele browser?dont mind for this question and I am newbie to this kind of
configurations...
O

Mercy Ma wrote:
  

Hi,
	You could add the src.zip under JDK folder instead of JRE,please take a  
look at the attached image file.


Kind regards,
Mercy


On Wed, 07 Oct 2009 17:34:18 +0800, srinivas2828   
wrote:



I really appriciate your help but got one more problem,please find  
attached

copy of image
http://www.nabble.com/file/p25783409/Screenshot.png Screenshot.png

Konstantin Kolinko wrote:
  

2009/10/7 srinivas2828 :


Hi Deepa
I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i  
got
and I am facing one problem that when I start Tomcat server it came  
with

one
error message which says "Starting Tomcatv6.0 Server at localhost has
encoutered a problem, Port 80 required by Tomcat v6.0 server at  
localhost

already in use. the server may already running in another process, or a
system process may be using  the port,To start this server you will  
need

to
stop  the other process or change the port number(s)"

any idea

  

As it says, "you will need to stop the other process or change the
port number(s)"

Either change the numbers by editing server.xml (that is inside the
Servers project), or using the GUI, e.g. as is described here (found
thanks to Google):

http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




  




Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread srinivas2828

Oh..thats Great and can you tell me how can i see the server status success
or not and can i see the default success page in eclipse and is it possibe?
or ele browser?dont mind for this question and I am newbie to this kind of
configurations...
O

Mercy Ma wrote:
> 
> Hi,
>   You could add the src.zip under JDK folder instead of JRE,please take a 
>  
> look at the attached image file.
> 
> Kind regards,
> Mercy
> 
> 
> On Wed, 07 Oct 2009 17:34:18 +0800, srinivas2828   
> wrote:
> 
>>
>> I really appriciate your help but got one more problem,please find  
>> attached
>> copy of image
>> http://www.nabble.com/file/p25783409/Screenshot.png Screenshot.png
>>
>> Konstantin Kolinko wrote:
>>>
>>> 2009/10/7 srinivas2828 :
>>>>
>>>> Hi Deepa
>>>> I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i  
>>>> got
>>>> and I am facing one problem that when I start Tomcat server it came  
>>>> with
>>>> one
>>>> error message which says "Starting Tomcatv6.0 Server at localhost has
>>>> encoutered a problem, Port 80 required by Tomcat v6.0 server at  
>>>> localhost
>>>> already in use. the server may already running in another process, or a
>>>> system process may be using  the port,To start this server you will  
>>>> need
>>>> to
>>>> stop  the other process or change the port number(s)"
>>>>
>>>> any idea
>>>>
>>>
>>> As it says, "you will need to stop the other process or change the
>>> port number(s)"
>>>
>>> Either change the numbers by editing server.xml (that is inside the
>>> Servers project), or using the GUI, e.g. as is described here (found
>>> thanks to Google):
>>>
>>> http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>>
> 
> 
> -- 
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25783760.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread Mercy

Hi,
	You could add the src.zip under JDK folder instead of JRE,please take a  
look at the attached image file.


Kind regards,
Mercy


On Wed, 07 Oct 2009 17:34:18 +0800, srinivas2828   
wrote:




I really appriciate your help but got one more problem,please find  
attached

copy of image
http://www.nabble.com/file/p25783409/Screenshot.png Screenshot.png

Konstantin Kolinko wrote:


2009/10/7 srinivas2828 :


Hi Deepa
I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i  
got
and I am facing one problem that when I start Tomcat server it came  
with

one
error message which says "Starting Tomcatv6.0 Server at localhost has
encoutered a problem, Port 80 required by Tomcat v6.0 server at  
localhost

already in use. the server may already running in another process, or a
system process may be using  the port,To start this server you will  
need

to
stop  the other process or change the port number(s)"

any idea



As it says, "you will need to stop the other process or change the
port number(s)"

Either change the numbers by editing server.xml (that is inside the
Servers project), or using the GUI, e.g. as is described here (found
thanks to Google):

http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread srinivas2828

I really appriciate your help but got one more problem,please find attached
copy of image
http://www.nabble.com/file/p25783409/Screenshot.png Screenshot.png 

Konstantin Kolinko wrote:
> 
> 2009/10/7 srinivas2828 :
>>
>> Hi Deepa
>> I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i got
>> and I am facing one problem that when I start Tomcat server it came with
>> one
>> error message which says "Starting Tomcatv6.0 Server at localhost has
>> encoutered a problem, Port 80 required by Tomcat v6.0 server at localhost
>> already in use. the server may already running in another process, or a
>> system process may be using  the port,To start this server you will need
>> to
>> stop  the other process or change the port number(s)"
>>
>> any idea
>>
> 
> As it says, "you will need to stop the other process or change the
> port number(s)"
> 
> Either change the numbers by editing server.xml (that is inside the
> Servers project), or using the GUI, e.g. as is described here (found
> thanks to Google):
> 
> http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25783409.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-06 Thread Konstantin Kolinko
2009/10/7 srinivas2828 :
>
> Hi Deepa
> I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i got
> and I am facing one problem that when I start Tomcat server it came with one
> error message which says "Starting Tomcatv6.0 Server at localhost has
> encoutered a problem, Port 80 required by Tomcat v6.0 server at localhost
> already in use. the server may already running in another process, or a
> system process may be using  the port,To start this server you will need to
> stop  the other process or change the port number(s)"
>
> any idea
>

As it says, "you will need to stop the other process or change the
port number(s)"

Either change the numbers by editing server.xml (that is inside the
Servers project), or using the GUI, e.g. as is described here (found
thanks to Google):

http://techteam.wordpress.com/2009/02/13/changing-the-tomcat-port-settings-in-eclipse/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-06 Thread srinivas2828

Hi Deepa
I integrated tomcat with eclipse(I downloaded Eclipse-Galelio) then i got
and I am facing one problem that when I start Tomcat server it came with one
error message which says "Starting Tomcatv6.0 Server at localhost has
encoutered a problem, Port 80 required by Tomcat v6.0 server at localhost
already in use. the server may already running in another process, or a
system process may be using  the port,To start this server you will need to
stop  the other process or change the port number(s)"

any idea


srinivas2828 wrote:
> 
> Thanks for your Help and I will go through the material and I will let you
> know what happen...
> again thanks a lot
> 
> 
> Deepa Annamalai wrote:
>> 
>> Follow this tutorial,
>> 
>> http://www.coreservlets.com/Apache-Tomcat-Tutorial/
>> 
>> -Deepa
>> 
>> 2009/10/6 srinivas2828 
>> 
>>>
>>> hi friends does anybody know how to integrate tomcat with tomcat with
>>> eclipse
>>> thanks in advance
>>> --
>>> View this message in context:
>>> http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25764753.html
>>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25780191.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-06 Thread srinivas2828

Thanks for your Help and I will go through the material and I will let you
know what happen...
again thanks a lot


Deepa Annamalai wrote:
> 
> Follow this tutorial,
> 
> http://www.coreservlets.com/Apache-Tomcat-Tutorial/
> 
> -Deepa
> 
> 2009/10/6 srinivas2828 
> 
>>
>> hi friends does anybody know how to integrate tomcat with tomcat with
>> eclipse
>> thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25764753.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25768500.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-06 Thread Deepa Annamalai
Follow this tutorial,

http://www.coreservlets.com/Apache-Tomcat-Tutorial/

-Deepa

2009/10/6 srinivas2828 

>
> hi friends does anybody know how to integrate tomcat with tomcat with
> eclipse
> thanks in advance
> --
> View this message in context:
> http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25764753.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-06 Thread srinivas2828

hi friends does anybody know how to integrate tomcat with tomcat with eclipse
thanks in advance
-- 
View this message in context: 
http://www.nabble.com/how-to-integrate-tomcat-with-IDE-tools-like-eclipse%2CNetbeans--tp25764753p25764753.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Caldarale, Charles R
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> i ran the service.bat to install as a service (is this
> permanent?)

Yes.

> Is this how I should always start?

Not really.  You most likely want to have the IDE start and stop Tomcat with 
the scripts; you don't really want it running as a service while you're 
debugging.

> Netbeans doesn't know its there...

You'll have to get NetBeans help for that one.  Search the Tomcat mailing list:
http://marc.info/?l=tomcat-user

As a last resort, you can always Google...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Toriacht

Hi Chuck,

thanks again for all your helpyour help. I'm nearly there...just a few more
queries...My user variables setting was taking precendence over system (was
set to a 1.6 JRE) so thats why it wasn't starting.

to get started.. i ran the service.bat to install as a service (is this
permanent?)
I then ran the service manager and service runner in the bin folder and
tomcat appears in the list of processes in task manager.
all seems good so far. Is this all I need to do?
Is this how I should always start?

Finally...when i run Netbeans and try to add Tomcat as a server it is never
visible? just Glassfish and WeRuby. If I select 'add server' it assumes I
want to add a Glassfish server and wont let me select Tomcat. Netbeans
doesn't know its there...

Thanks again,
Toriacht



Caldarale, Charles R wrote:
> 
>> From: Toriacht [mailto:shatner.will...@gmail.com]
>> Subject: RE: Beginner - Netbeans IDE
>>
>> in what files/and where do I need set these variables.
> 
> You do not need to set CATALINA_HOME - that is done automatically by the
> startup.bat script.
> 
> I normally set JAVA_HOME as a global environment variable, just so I don't
> have to remember to keep doing it.  Set it to the location of your JDK.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21466853.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Caldarale, Charles R
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> in what files/and where do I need set these variables.

You do not need to set CATALINA_HOME - that is done automatically by the 
startup.bat script.

I normally set JAVA_HOME as a global environment variable, just so I don't have 
to remember to keep doing it.  Set it to the location of your JDK.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Toriacht

Thanks again guys...

i have removed the .exe version and downloaded the .zip version. I had a
look in the bin folder. There seems to be multiple references to
CATALINA_HOMA and JAVA_HOME etc. in what files/and where do I need set these
variables.

Thank
Tori



Caldarale, Charles R wrote:
> 
>> From: Toriacht [mailto:shatner.will...@gmail.com]
>> Subject: RE: Beginner - Netbeans IDE
>>
>> The .exe does not come with a catalina.bat
> 
> Correct; there are no scripts in the .exe download (and I don't know why).
> 
>> I suppose I was wondering was there a standard catalina.bat
>> example that somebody had that I could point the IDE towards
> 
> Yes - the one in the .zip download.  Just use that.
> 
>> I am probably better off uninstalling it and
>> dowloading teh .zip version?
> 
> Yes; the .zip gives you more options and more control over Tomcat, which
> is what you need when running it under an IDE.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21465783.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Caldarale, Charles R
> From: Toriacht [mailto:shatner.will...@gmail.com]
> Subject: RE: Beginner - Netbeans IDE
>
> The .exe does not come with a catalina.bat

Correct; there are no scripts in the .exe download (and I don't know why).

> I suppose I was wondering was there a standard catalina.bat
> example that somebody had that I could point the IDE towards

Yes - the one in the .zip download.  Just use that.

> I am probably better off uninstalling it and
> dowloading teh .zip version?

Yes; the .zip gives you more options and more control over Tomcat, which is 
what you need when running it under an IDE.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Toriacht

Thanks for the replies guys... 

I was aware I could uninstall the .exe and install the .zip version. The
.exe does not come with a catalina.bat (I think)...am I right? 

I suppose I was wondering was there a standard catalina.bat example that
somebody had that I could point the IDE towards so that my current config.
works or I could drop it into one of the Tomcat folders etc? If this is the
case would anybody have a catalina.bat file I could use?

If this is not the case, I am probably better off uninstalling it and
dowloading teh .zip version?

Thanks again for the replies...
Toriacht



mgainty wrote:
> 
> 
> 
> if you need to use a different catalina.bat
> go to NetBeans Project Right click properties / run / change target server
> catalina.bat must be on path 
> make sure CATALINA_HOME/bin is on PATH
> 
> Martin
> __ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained within
> this transmission. 
> 
> 
> 
> 
>> Date: Wed, 14 Jan 2009 05:42:58 -0800
>> From: brian.p.gunn...@gmail.com
>> To: users@tomcat.apache.org
>> Subject: Beginner - Netbeans IDE
>> 
>> 
>> Hi,
>> 
>> I am trying to deploy my first webservice. I downloaded Netbeans IDE to
>> develop it (normally use Eclipse). I already had Tomcat downloaded as an
>> .exe, installed and running as a service for a while
>> 
>> When i try to deploy my app to my server Netbeans complains that it can't
>> find Catalina.bat...(as it tries to stop tomcat). I presume this is
>> because
>> Tomcat is running as a windows service or something similar and Netbeans
>> can't connect
>> 
>> I apologise if these answers are too simple for this forum but...
>> 
>> 1 .How do I deploy this to my Tomcat server using my current
>> configuration
>> 2. How do I deploy to a Tomcat server on a different machine
>> 
>> 
>> Many thanks,
>> Toriacht
>> -- 
>> View this message in context:
>> http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21456213.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
> 
> _
> Windows Live™: Keep your life in sync. 
> http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009
> 

-- 
View this message in context: 
http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21459949.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Beginner - Netbeans IDE

2009-01-14 Thread Martin Gainty


if you need to use a different catalina.bat
go to NetBeans Project Right click properties / run / change target server
catalina.bat must be on path 
make sure CATALINA_HOME/bin is on PATH

Martin
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Wed, 14 Jan 2009 05:42:58 -0800
> From: brian.p.gunn...@gmail.com
> To: users@tomcat.apache.org
> Subject: Beginner - Netbeans IDE
> 
> 
> Hi,
> 
> I am trying to deploy my first webservice. I downloaded Netbeans IDE to
> develop it (normally use Eclipse). I already had Tomcat downloaded as an
> .exe, installed and running as a service for a while
> 
> When i try to deploy my app to my server Netbeans complains that it can't
> find Catalina.bat...(as it tries to stop tomcat). I presume this is because
> Tomcat is running as a windows service or something similar and Netbeans
> can't connect
> 
> I apologise if these answers are too simple for this forum but...
> 
> 1 .How do I deploy this to my Tomcat server using my current configuration
> 2. How do I deploy to a Tomcat server on a different machine
> 
> 
> Many thanks,
> Toriacht
> -- 
> View this message in context: 
> http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21456213.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_
Windows Live™: Keep your life in sync. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009

RE: Beginner - Netbeans IDE

2009-01-14 Thread Caldarale, Charles R
> From: Toriacht [mailto:brian.p.gunn...@gmail.com]
> Subject: Beginner - Netbeans IDE
>
> 1 .How do I deploy this to my Tomcat server using my current
> configuration

First, uninstall the .exe version and download and install the .zip one.  The 
.zip includes the scripts, including ones to install it as a service or run it 
from a command line.

> 2. How do I deploy to a Tomcat server on a different machine

Read the Tomcat doc about deployment:
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html

The exact procedure will depend greatly on exactly what the other machine is 
and what kind of access you have to it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Beginner - Netbeans IDE

2009-01-14 Thread Toriacht

Hi,

I am trying to deploy my first webservice. I downloaded Netbeans IDE to
develop it (normally use Eclipse). I already had Tomcat downloaded as an
.exe, installed and running as a service for a while

When i try to deploy my app to my server Netbeans complains that it can't
find Catalina.bat...(as it tries to stop tomcat). I presume this is because
Tomcat is running as a windows service or something similar and Netbeans
can't connect

I apologise if these answers are too simple for this forum but...

1 .How do I deploy this to my Tomcat server using my current configuration
2. How do I deploy to a Tomcat server on a different machine


Many thanks,
Toriacht
-- 
View this message in context: 
http://www.nabble.com/Beginner---Netbeans-IDE-tp21456213p21456213.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



deploy jsp using IDE, except netbean

2008-02-14 Thread rachmat


i'm trying jython jsp using tomcat, deploy until finished using tomcat

any reference to deploy jsp using IDE, except netbean ?(use tomcat realy)

and any reference to deploy jsp and servlet step by step in tomcat ?



thanks before



email : [EMAIL PROTECTED]
ym : radis_chat



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IDE

2007-04-19 Thread Nelson, Tracy M.
| From: David Short [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, 17 April, 2007 11:35
| 
| NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
| installed Tomcat 5.5.20 be configured to be used as the default?

Right-click on your project in the Projects tab, click "Properties", click
"Run", select your new server in the "Server" drop-down list box, click
"OK".  This will set the default for that project, I don't know how to make
it a global default.  

Of course, you must have added your new server to the NetBeans server list
first: Click the "Runtime" tab, right-click "Servers", click "Add Server".
Pick "Tomcat 5.5" as the server, give it a name if you want (Maybe "Tomcat
5.5.20"), click "Next".  Specify the Catalina home and manager login info,
then click "Finish".  NetBeans will add it to the server list.  If it is
running, you'll see a little green triangle between the Tomcat logo and the
server name.  Then you can click on the expand box and see what's running.
Right-click on the server's name to start or stop it.

You might be able to poke around in the NetBeans config files and change the
Catalina home and other config settings to point the bundled tomcat
definition to your new server, but unless you spend most of your day
creating new projects and can't afford the time to specify the server when
you do, then I'd just add it as a new server and not undermine NetBeans'
basic assumptions...
-

The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Rashmi Rubdi

On 4/17/07, David Short <[EMAIL PROTECTED]> wrote:

NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?



Like most products/technologies NetBeans has it's own mailing list:
http://www.netbeans.org/community/lists/

-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Johnny Kewl


 nice to know they cant take it back haha

- Original Message - 
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Wednesday, April 18, 2007 12:34 AM
Subject: RE: IDE


From: Johnny Kewl [mailto:[EMAIL PROTECTED] 
Subject: Re: IDE


If I'm not mistaken Both Tomcat and Netbeans are sponsored by Sun


No longer true for Tomcat.  These days, Tomcat is completely independent
of Sun, since Sun is producing its own app server (Sun Java System Web
Server, formerly known as Sun ONE).

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IDE

2007-04-17 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] 
> Subject: Re: IDE
> 
> If I'm not mistaken Both Tomcat and Netbeans are sponsored by Sun

No longer true for Tomcat.  These days, Tomcat is completely independent
of Sun, since Sun is producing its own app server (Sun Java System Web
Server, formerly known as Sun ONE).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Johnny Kewl

If I'm not mistaken Both Tomcat and Netbeans are sponsored by Sun
So its not surprising they go well together
Tomcat is Suns servlet test standard and netbeans is the Sun sponsored 
dev tool ;)


NetBeans IDE 5.5 Download Installers

English (en) ??? (ja) Português (pt_BR) ?? (zh_CN)  (zh_TW)
Linux 54.5 MB 54.5 MB 54.5 MB 54.5 MB 45.6 MB
Mac OS X 83 MB 83 MB 83 MB 83 MB 71.2 MB
Solaris SPARC 54.5 MB 54.5 MB 54.5 MB 54.5 MB 45.6 MB
Solaris x86 54.5 MB 54.5 MB 54.5 MB 54.5 MB 45.6 MB
Windows 54.7 MB 54.7 MB 54.7 MB 54.7 MB 45.8 MB

I'm sure there is a netbeans there for u.


- Original Message - 
From: "dimitryous r." <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 11:41 PM
Subject: Re: IDE



Hi,
Thanks you for your reply.
If I'm reading you correctly, my approach is useless.
Its actually amazing because when you debug... it use the NEW  tomcat... 
you will be able to tell straight away because when you  compile a 
servel, if it is in the new tomcat, it will dissapear  because netbeans 
wants it to use the BUILD code.


NetBeans, just for fun??? Don't want to install 10 Tomcat servers. If  the 
build-in can't afford new versions from beginning to end then the 
functionality is useless. So become NetBeans.
Had a look to your URL: great. Have to do the same for my MacOSX  10.4.9 
i386 platform then. Unix is not Linux - unfortunately -.

If I ever succeed, wil keep you informed.
My tool is Xcode but it is not an IDE as NetBeans is.
I'm positive telling you somebody did the correct swap from build-in 
5.0.17 to 5.0.20 or even 6.x.x, but it is not just a copy/paste action.

These Netbean Tomcat dudes are flippin smart
Is NetBeans.org a subsidiary of Sun or an independent organization  like 
Apache.org?



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread dimitryous r.

Hi,
Thanks you for your reply.
If I'm reading you correctly, my approach is useless.
Its actually amazing because when you debug... it use the NEW  
tomcat... you will be able to tell straight away because when you  
compile a servel, if it is in the new tomcat, it will dissapear  
because netbeans wants it to use the BUILD code.


NetBeans, just for fun??? Don't want to install 10 Tomcat servers. If  
the build-in can't afford new versions from beginning to end then the  
functionality is useless. So become NetBeans.
Had a look to your URL: great. Have to do the same for my MacOSX  
10.4.9 i386 platform then. Unix is not Linux - unfortunately -.

If I ever succeed, wil keep you informed.
My tool is Xcode but it is not an IDE as NetBeans is.
I'm positive telling you somebody did the correct swap from build-in  
5.0.17 to 5.0.20 or even 6.x.x, but it is not just a copy/paste action.

These Netbean Tomcat dudes are flippin smart
Is NetBeans.org a subsidiary of Sun or an independent organization  
like Apache.org?



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Johnny Kewl

Repost had power failure...


Sorry for delay... hell of a electric storm here...

You made me look again... ha ha
OK... you got the previous TOOLS->SERVER MANAGER->ADD SERVER story.
You can set up 10 tomcats if you want, just make sure each one as a unique 
server and shutdown port.


THEN just start a project, make a servlet etc.  If you right click, 
select

PROPERTIES RUN you will see you can run any of the tomcats.

Its actually amazing because when you debug... it use the NEW tomcat... 
you will be able to tell straight away because when you compile a servel, 
if it is in the new tomcat, it will dissapear because netbeans wants it to 
use the BUILD code.


These Netbean Tomcat dudes are flippin smart

Here is link for the linux guys
http://gentoo-wiki.com/HOWTO_Setup_Netbeans_and_Tomcat



- Original Message - 
From: "David Short" <[EMAIL PROTECTED]>

To: "'Tomcat Users List'" 
Sent: Tuesday, April 17, 2007 6:34 PM
Subject: RE: IDE



NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?

-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: IDE

Dont pull it out...
Just stick a new one in...

Just download the Tomcat you want... if its windows, the server version 
is

cool.
Stick it somewhere on one of your hard-drives.

Go to TOOLS -> SERVER MANAGER
Click NEW SERVER

Netbeans will now use the new Tomcat... and you can switch between them 
if

you want.

Enjoy


- Original Message -
From: "dimitryous r." <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 9:57 AM
Subject: Re: IDE



Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX).
Deplyoment is very easy.

I don't know how to pull out this version with a more recent one  5.0.20
...

Any ideas?

TIA
On 6 avr. 07, at 02:47, David Short wrote:


I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Johnny Kewl

Sorry for delay... hell of a electric storm here...

You made me look again... ha ha
OK... you got the previous TOOLS->SERVER MANAGER->ADD SERVER story.
You can set up 10 tomcats if you want, just make sure each one as a unique 
server and shutdown port.


THEN just start a project, make a servlet etc.  If you right click, 
select

PROPERTIES RUN you will see you can run any of the tomcats.

Its actually amazing because when you debug... it use the NEW tomcat... you 
will be able to tell straight away because when you compile a servel, if it 
is in the new tomcat, it will dissapear because netbeans wants it to use the 
BUILD code.


These Netbean Tomcat dudes are flippin smart

Here is link for the linux guys
http://gentoo-wiki.com/HOWTO_Setup_Netbeans_and_Tomcat



- Original Message - 
From: "David Short" <[EMAIL PROTECTED]>

To: "'Tomcat Users List'" 
Sent: Tuesday, April 17, 2007 6:34 PM
Subject: RE: IDE



NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?

-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: IDE

Dont pull it out...
Just stick a new one in...

Just download the Tomcat you want... if its windows, the server version is
cool.
Stick it somewhere on one of your hard-drives.

Go to TOOLS -> SERVER MANAGER
Click NEW SERVER

Netbeans will now use the new Tomcat... and you can switch between them if
you want.

Enjoy


- Original Message -
From: "dimitryous r." <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 9:57 AM
Subject: Re: IDE



Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX).
Deplyoment is very easy.

I don't know how to pull out this version with a more recent one  5.0.20
...

Any ideas?

TIA
On 6 avr. 07, at 02:47, David Short wrote:


I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread dimitryous r .

Hi there

Here is a partial list of my ports:

	 Open TCP Port: 	80			http://192.168.0.1/			Apache HTTPD 1.3.33 +  
php5 + MySQL

 ...
 Open TCP Port: 3306
jdbc:mysql://192.168.0.1:3306/javatest?" +

"user=the_user&password=the_pswd"

MySQL

 Open TCP Port: 3700???
 Open TCP Port: 3820???
 Open TCP Port: 3920???
	 Open TCP Port: 	4848		http://192.168.0.1:4848/	Sun Java™ System  
Application Server Admin Console

 Open TCP Port: 7676???
 Open TCP Port: 8009???
 Open TCP Port: 8080http://192.168.0.1:8080/
Apache Tomcat 5.5.20
 Open TCP Port: 8081http://192.168.0.1:8081/
Apache Tomcat 5.5.17
	 Open TCP Port: 	8181		https://192.168.0.1:8181/	idem for ssl  
connections

 Open TCP Port: 8686???

As you see, the Apache Tomcat 5.5.17 is useless as the first one is  
running at boot time.


? Is there a way to avoid to launch Apache Tomcat 5.5.17 when I  
launch NetBeans 5.5 ?


? Will try change some of the code within NetBeans ?

On 17 avr. 07, at 18:34, David Short wrote:


NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?

-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: IDE

Dont pull it out...
Just stick a new one in...

Just download the Tomcat you want... if its windows, the server  
version is

cool.
Stick it somewhere on one of your hard-drives.

Go to TOOLS -> SERVER MANAGER
Click NEW SERVER

Netbeans will now use the new Tomcat... and you can switch between  
them if

you want.

Enjoy


- Original Message -
From: "dimitryous r." <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 9:57 AM
Subject: Re: IDE



Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX).
Deplyoment is very easy.

I don't know how to pull out this version with a more recent one   
5.0.20

...

Any ideas?

TIA
On 6 avr. 07, at 02:47, David Short wrote:

I'm sure this question has been asked many times.  So, I  
apologize in

advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






RE: IDE

2007-04-17 Thread David Short
NetBeans uses the embedded Tomcat 5.5.17 by default.  How can a newly
installed Tomcat 5.5.20 be configured to be used as the default?

-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 4:33 AM
To: Tomcat Users List
Subject: Re: IDE

Dont pull it out...
Just stick a new one in...

Just download the Tomcat you want... if its windows, the server version is
cool.
Stick it somewhere on one of your hard-drives.

Go to TOOLS -> SERVER MANAGER
Click NEW SERVER

Netbeans will now use the new Tomcat... and you can switch between them if
you want.

Enjoy


- Original Message -
From: "dimitryous r." <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 9:57 AM
Subject: Re: IDE


> Hello, NetBeans 5.5 at http://www.netbeans.org does it.
> But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX). 
> Deplyoment is very easy.
>
> I don't know how to pull out this version with a more recent one  5.0.20 
> ...
>
> Any ideas?
>
> TIA
> On 6 avr. 07, at 02:47, David Short wrote:
>
>> I'm sure this question has been asked many times.  So, I apologize in
>> advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
>> compatible with Apache and Tomcat?
>>
>> Thanks in advance.
>>
>> Dave
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread Johnny Kewl

Dont pull it out...
Just stick a new one in...

Just download the Tomcat you want... if its windows, the server version is 
cool.

Stick it somewhere on one of your hard-drives.

Go to TOOLS -> SERVER MANAGER
Click NEW SERVER

Netbeans will now use the new Tomcat... and you can switch between them if 
you want.


Enjoy


- Original Message - 
From: "dimitryous r." <[EMAIL PROTECTED]>

To: "Tomcat Users List" 
Sent: Tuesday, April 17, 2007 9:57 AM
Subject: Re: IDE



Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX). 
Deplyoment is very easy.


I don't know how to pull out this version with a more recent one  5.0.20 
...


Any ideas?

TIA
On 6 avr. 07, at 02:47, David Short wrote:


I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-17 Thread dimitryous r.

Hello, NetBeans 5.5 at http://www.netbeans.org does it.
But it comes with his own Apache Tomcat JSP (5.0.17 for MacOSX).  
Deplyoment is very easy.


I don't know how to pull out this version with a more recent one  
5.0.20 ...


Any ideas?

TIA
On 6 avr. 07, at 02:47, David Short wrote:


I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-06 Thread Johnny Kewl

Ah... get a chance to tell you how cool Netbeans is, love love love it.
Does most any Java programming, and it excels with Tomcat.
Use a wizard to make your JSP or Servlet, then debug it in the editor, and 
then deploy, all very easy.


Apache is all text configuration... it actually could do with a good 
configuration tool but I have never seen one. Apache has very good help 
files that will get you going.


Typically you develop your Tomcat stuff, and plug into Apache afterwards for 
stuff like load balancing and clustering, and you can debug your servlet 
with Apache acting as a front end... dont worry about that, you'll pick up 
Apache once you get going with Tomcat and Netbeans.


If you going to learn Netbeans, just keep in mind that the "Web Visual 
Development" is bleeding edge.
That stuff lets you develop web sites like VB IDE's, but its not a good way 
to learn servlets and JSP's... it uses Tag handlers, Script, CSS, Java 
Server Faces to work its magic, and they are all deep frameworks, so the 
HTML page and the Java will look foreign.


So get Netbeans, use the project manager to make a NORMAL "web application", 
then right click on the project and make a JSP page, and right click on the 
project and make a Servlet, then right click on those items and run them... 
you will see Tomcat work and the test pages in the browser.
If you look at the code, its easy to understand and you'll learn quickly. 
Then you can start looking at stuff like Java Server Faces, Tag handling, or 
Struts in the wizards and decide if you want to go that way. There are 
so many frameworks, its overwhelming, so better to get into the basic stuff 
first.
Spring is also a popular framework as well and you can download the Spring 
plugin for Netbeans...


Can even get a C++ module for Netbeans.

Put in this way... I used to develop with Visual Studio Netbeans Tomcat 
and Java are better.
Not only as tools, but you will find these tools allow you to leverage a 
huge open source environment, and that means with smart design, your clients 
only need to pay you.
There are terrific dB's out there like Postgresql, there are powerful search 
engines, XML tools, and you'll find most of the Apache site Open Source 
integrates beautifully.


Developing on Windows works very very well, very easy to setup, and a nice 
dev environment.
Then... run your creation on plain XP or MS Server 2000/3 or drop it into 
linux.


If you new to Java take your time with the basics, you'll find you can 
do most things... then have a look at stuff like JBoss Spring Struts etc.


Netbeans. very very good, and sponsored by Sun, so you can be sure all 
the fancy stuff like Enterprise EJB's are also covered.


I get very excited when I see a newbie coming to Tomcat and Netbeans 
theres a learning curve but you never going to look back.

I call it foreplay... and theres a major orgasm ahead of you ha ha.

Have Fun

- Original Message - 
From: "David Short" <[EMAIL PROTECTED]>

To: 
Sent: Friday, April 06, 2007 2:47 AM
Subject: IDE



I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-05 Thread Rashmi Rubdi

NetBeans and Eclipse are the most popular ones.

http://www.netbeans.org/ + Visual Web Pack
http://www.netbeans.org/products/visualweb/

http://www.eclipse.org/proposals/eclipse-jsf/

jEdit is great with macros and vertical copy-paste, but it's a
plain-text editor.

-Rashmi

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDE

2007-04-05 Thread David Smith
I don't do anything with jsf (yet), but have done a lot of work with 
NetBeans.  It does a very nice job.


--David

David Short wrote:

I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



IDE

2007-04-05 Thread David Short
I'm sure this question has been asked many times.  So, I apologize in
advance.  Can anyone recommend a freeware Java/JSP/JSF IDE that is
compatible with Apache and Tomcat?

Thanks in advance.

Dave


RE: Tomcat and NetBeans IDE - THE BEST

2007-03-10 Thread org
Hi there,

I also only recently started using Tomcat and Netbeans and its a match made in 
heaven.
I use Tomcat for EVERYTHING its fantastic, wonderful, best thing I ever 
discovered, and Netbeans is sizzling hot as well.

No, you dont have to use the embedded Tomcat server, and it wont be long before 
you get a later Tomcat and want to use that anyway...
So what you do is open TOOLS->SERVER MANAGER and point it to the Tomcat version 
you want to use... its that easy.

Now you do not have to worry about starting and stopping Tomcat(the new one) 
when developing, as soon as you start a servlet it will happen automatically. 
If you want to stop it, you do it from INSIDE Netbeans either in the 
Runtime Tag, or you will see you can do it from the Tomcat Tag in the OUTPUT 
section of netbeans so you develop as normal.

Now when you CLEAN and BUILD your project you will see that it creates a DIST 
folder with the WAR file... that you simply drop into the WEPAPPS folder of ANY 
TOMCAT and then start THAT tomcat as a standalone (without netbeans 
running) and its deployed you can also use the Tomcat manager from the web 
browser but I find this method easier.

Now just one thing that can be confusing when Netbeans does all its magic 
and lets your debug stuff... it actually creates a temporary BUILD folder and 
when you
testing that is the code that is ACTUALLY running in the TOMCAT you using. Now 
what happens alot is that you drop your WAR file into tomcat BUT its not 
actiully deployed because NETBEANS still has control of Tomcat and what is 
actually happening is that Tomcat is still running your servlet in the BUILD 
folder.
It doesnt pick the WAR file up. So what I do before checking a WAR in tomcat, 
is DELETE the projects BUILD folder. Now if Tomcat complains, thats good, 
because you know it was still looking at the devlopment environment. Just stop 
tomcat, put the WAR file in WEBAPPS and restart it, it will pick up on the new 
WAR.

Dont give up, Netbeans and Tomcat are magic, best development environment I've 
ever used.

If you want to see some pretty cool stuff I've developed on Tomcat go to 
http://coolese.100free.com/

Theres 
a) A replication system for POSTGRESQL
b) A web site search engine based on LUCENE
c) An Application Server HARBOR, that lets you run normal java apps from 
anywhere if you also think, JBOSS, SPRING etc are too complex.

ALL DONE IN TOMCAT and NETBEANS... I love them.

==
> Hi , I am new to tomcat and be grateful for your reply and explanation.
   
>  I have downloaded NetBeans which is bundled with Tomcat server .  I use 
> tomcat from within
> the environment to test my pages.



Tomcat and NetBeans IDE

2007-03-01 Thread Arshan Varsi
Hi , I am new to tomcat and be grateful for your reply and explanation.
   
  I have downloaded NetBeans which is bundled with Tomcat server .  I use 
tomcat from within the environment to test my pages.
   
  Now I need to work with other applications that will be using Tomcat. 
   
  My question is , is the version of Tomcat bundled and installed as part of 
NetBeans a complete version (the same that would be downloaded from  Apache 
Tomcat website ? 
   
  Or to use Tomcat with other apps I need to download another version ? or 
perhaps plug-ins?
   
   
  Thank you in advance
  Arshan


-
 Here’s a new way to find what you're looking for - Yahoo! Answers 

Re: Best IDE for dev of Tomcat Servlet?

2006-02-17 Thread Joe Riopel
I've tried both Eclipse and Netbeans and they're both great. I just
seem to be more productive with Netbeans.  It's unexplainable !

-Joe

On 2/16/06, Glen Mazza <[EMAIL PROTECTED]> wrote:
> Pulkit Singhal wrote:
> > I would say Eclipse web edition...but you have to figure out how to
> > integrate it with tomcat...shld be able to find a tutorial on that out there
> > somewhere.
> >
>
> I use Eclipse WTP but don't bother integrating it with Tomcat--I use the
> manager Ant tasks[1] for autodeploying WAR files instead.  This also
> creates some IDE-independence.
>
> Glen
>
> [1]
> http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant
>
> > On 2/16/06, Mike Reynolds <[EMAIL PROTECTED]> wrote:
> >
> >>What is the best development environment for developing a Tomcat servlet?
> >>
> >>
> >>-
> >>Brings words and photos together (easily) with
> >>PhotoMail  - it's free and works with Yahoo! Mail.
> >>
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Glen Mazza

Pulkit Singhal wrote:

I would say Eclipse web edition...but you have to figure out how to
integrate it with tomcat...shld be able to find a tutorial on that out there
somewhere.



I use Eclipse WTP but don't bother integrating it with Tomcat--I use the 
manager Ant tasks[1] for autodeploying WAR files instead.  This also 
creates some IDE-independence.


Glen

[1] 
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant



On 2/16/06, Mike Reynolds <[EMAIL PROTECTED]> wrote:


What is the best development environment for developing a Tomcat servlet?


-
Brings words and photos together (easily) with
PhotoMail  - it's free and works with Yahoo! Mail.







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



RE: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread James Reynolds

Or use NetBeans. It comes with Tomcat Bundled and you can deploy to it
using one button.  You can also configure it to deploy to your existing
Tomcat Installations, very easily, with one button execution.

I've only had one side effect from using NetBeans with Tomcat.  When my
company switched to IntelliJ, we had problems with Tomcat when we
configured the new IDE to control it.  It appears that NetBeans copies
some files to Tomcat that are not compatible with IntelliJ.
Reinstalling a fresh version of Tomcat fixed the problem.

-Original Message-
From: Pulkit Singhal [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 4:39 PM
To: Tomcat Users List
Subject: Re: Best IDE for dev of Tomcat Servlet?

I would say Eclipse web edition...but you have to figure out how to
integrate it with tomcat...shld be able to find a tutorial on that out
there somewhere.

On 2/16/06, Mike Reynolds <[EMAIL PROTECTED]> wrote:
>
> What is the best development environment for developing a Tomcat
servlet?
>
>
> -
> Brings words and photos together (easily) with PhotoMail  - it's free 
> and works with Yahoo! Mail.
>


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



Re: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Pulkit Singhal
I would say Eclipse web edition...but you have to figure out how to
integrate it with tomcat...shld be able to find a tutorial on that out there
somewhere.

On 2/16/06, Mike Reynolds <[EMAIL PROTECTED]> wrote:
>
> What is the best development environment for developing a Tomcat servlet?
>
>
> -
> Brings words and photos together (easily) with
> PhotoMail  - it's free and works with Yahoo! Mail.
>


Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread Mike Reynolds
What is the best development environment for developing a Tomcat servlet?


-
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.