Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 11 of 32 FirstFirst ... 9 10 11 12 13 21 ... LastLast
Results 151 to 165 of 466
  1. #151
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    I could have said the same thing.

    Take our script wrap an simple if statement and they called it there own with zero credit. So which is unfair? I at least gave credit, and it was more than one line.

    Also if he has issue with it they can talk professionally with us in regards to it. I am not about to talk or debate this here.

    Last edited by dgbaker; 05-10-2004 at 02:45 PM.
    Regards,
    David
    Forum Moderator

  2. #152
    AexiSolutions
    Guest

    Default

    One improvement you might want to make is..

    instead of...

    Code:
            if [ -d "/home/$user" ]; then
                    echo "User exists continuing setup"
            else
                    echo "User does not exist or is spelled wrong!"
                    echo "Please verify and try again!"
                    exit
            fi
    Replace it with

    Code:
            if [ -d "/home/$user" ]; then
                    echo "User exists continuing setup"
            elif [ -d "/home2/$user" ]; then
                    echo "User Exists In Home2, This script currently does not support that"
                    exit 1
            else
                    echo "User does not exist or is spelled wrong!"
                    echo "Please verify and try again!"
                    exit
            fi
    Obviously it just takes a few lines of code to make it support home2, but I dont really have the time to set it up, and this is your project anyway so I will leave it to you
    Last edited by AexiSolutions; 05-10-2004 at 02:56 PM.

  3. #153
    Member
    Join Date
    Mar 2004
    Location
    New York, USA
    Posts
    6

    Default

    Very VERY defensive I see? Heh. As if you did something wrong and are trying to forcefully lash out and prove your point so that I wont argue with you about it?

    Haha, not intimidating.

    A) I don’t know the guy, nor do I care that you took his script. But I just thought it was funny how he comes up with this thing, and then you completely re-brand it as your own.
    B) Did you “talk to him professionally” before ripping off his script? No? Oh…
    C) Chill out.

    I’m no programmer, or script author, in fact, I wouldn’t even know how to properly apply the script – but I do know that if I take someone else’s book, and add 3 lines of writing to it, and then put a new cover on it and sell it as my own, people will not only see that as horribly unprofessional, but they’d view me (or you in this case) as more or less a big joke.

    Oh, not to mention it’d be illegal. But as I said, I’m no script author, so I don’t know what’s legal / illegal in terms of copying other people’s scripts so I’m not saying you should be punished by the law or anything, lol, I just think it’s unfair that you took credit for his work.

  4. #154
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Like I said, I am not going to debate this. Issue closed.
    Regards,
    David
    Forum Moderator

  5. #155
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Originally posted by AexiSolutions
    One improvement you might want to make is..

    instead of...

    Code:
            if [ -d "/home/$user" ]; then
                    echo "User exists continuing setup"
            else
                    echo "User does not exist or is spelled wrong!"
                    echo "Please verify and try again!"
                    exit
            fi
    Replace it with

    Code:
            if [ -d "/home/$user" ]; then
                    echo "User exists continuing setup"
            elif [ -d "/home2/$user" ]; then
                    echo "User Exists In Home2, This script currently does not support that"
                    exit 1
            else
                    echo "User does not exist or is spelled wrong!"
                    echo "Please verify and try again!"
                    exit
            fi
    Obviously it just takes a few lines of code to make it support home2, but I dont really have the time to set it up, and this is your project anyway so I will leave it to you
    Thanks Aexi - Script has been updated.
    Regards,
    David
    Forum Moderator

  6. #156
    Member
    Join Date
    Mar 2004
    Location
    New York, USA
    Posts
    6

    Default

    Issue closed? What a joke...

  7. #157
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    I wish I could heed the warning on the fisrt post but I need to install this for a client as much as I hate to.

    I cant get past the pre-install script. I keep getting a failure as it cant optain the java version. I have tried installing the Sun java SDK rpm but it still generates that error.

    What do I need to do? What am I missing?

    Its a RHE 3 box.

  8. #158
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    What does the following give you?

    cd /usr/java
    ls -l
    Regards,
    David
    Forum Moderator

  9. #159
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    drwxr-xr-x 3 root root 4096 May 10 17:52 ./
    drwxr-xr-x 19 root root 4096 May 10 17:52 ../
    drwxr-xr-x 8 root root 4096 May 10 17:52 j2sdk1.4.2_04/

  10. #160
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    In /usr/local do you have the following?

    lrwxrwxrwx 1 root root 23 Apr 27 17:39 jdk -> /usr/java/j2sdk1.4.2_04/
    lrwxrwxrwx 1 root root 28 Apr 27 17:39 jre -> /usr/java/j2sdk1.4.2_04/jre//

    If so run the following command and try the install again.

    export JAVA_HOME=/usr/local/jdk
    Regards,
    David
    Forum Moderator

  11. #161
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    I dont have those. This is what i have in usr/local/

    root@server1 [/usr/local]# ls -l
    total 72
    drwxr-xr-x 18 root root 4096 Mar 10 13:23 ./
    drwxr-xr-x 19 root root 4096 May 10 17:52 ../
    drwxr-xr-x 14 root root 4096 Apr 18 20:22 apache/
    drwxr-xr-x 4 root wheel 4096 Mar 10 13:23 bandmin/
    drwxr-xr-x 2 root root 4096 May 7 14:27 bin/
    drwx--x--x 33 cpanel cpanel 4096 Apr 29 07:38 cpanel/
    drwxr-xr-x 2 root root 4096 Mar 10 13:23 etc/
    drwxr-xr-x 3 root root 4096 May 9 21:17 frontpage/
    drwxr-xr-x 2 root root 4096 Mar 10 13:23 games/
    drwxr-xr-x 3 root root 4096 Mar 10 13:23 include/
    drwxr-xr-x 3 root root 4096 Mar 10 13:28 lib/
    drwxr-xr-x 2 root root 4096 Mar 10 13:23 libexec/
    drwxr-xr-x 3 root root 4096 Mar 10 13:23 man/
    drwxr-xr-x 2 root root 4096 Mar 10 13:23 sbin/
    drwxr-xr-x 4 root root 4096 Mar 10 13:23 share/
    drwxr-xr-x 2 root root 4096 Mar 10 13:23 src/
    lrwxrwxrwx 1 root root 4 Mar 10 13:14 ssl -> /usr/
    drwxr-xr-x 10 nobody nobody 4096 Apr 18 21:40 urchin/
    drwxr-xr-x 6 root root 4096 Mar 10 13:23 Zend/

  12. #162
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Let's create them manually

    cd /usr/local
    ln -s /usr/java/j2sdk1.4.2_04 jdk
    ln -s /usr/java/j2sdk1.4.2_04/jre jre

    export JAVA_HOME=/usr/local/jdk

    Now try the install again.
    Regards,
    David
    Forum Moderator

  13. #163
    Member
    Join Date
    Jan 2003
    Posts
    7

    Default Package util does not exist

    Hey peeps.

    On the main tomcat install, (where you get the default page and have links to sample scripts etc) if i test the snoop script it works fine.

    But if i upload the snoop script to one of my sub accounts with servlets etc installed i get.

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    org.apache.jasper.JasperException: Unable to compile class for JSP

    An error occurred at line: 13 in the jsp file: /snoop.jsp

    Generated servlet error:
    [javac] Compiling 1 source file

    /usr/local/jakarta/jakarta-tomcat-5.0.19/work/Catalina/www.huntermilitaryhistory.net.au/_/org/apache/jsp/snoop_jsp.java:63: package util does not exist
    out.print(util.HTMLFilter.filter(request.getPathInfo()));
    ^



    An error occurred at line: 15 in the jsp file: /snoop.jsp

    Generated servlet error:
    /usr/local/jakarta/jakarta-tomcat-5.0.19/work/Catalina/www.huntermilitaryhistory.net.au/_/org/apache/jsp/snoop_jsp.java:67: package util does not exist
    out.print(util.HTMLFilter.filter(request.getQueryString()));
    ^

    see full error

    http://www.huntermilitaryhistory.net.au/snoop.jsp

  14. #164
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    Ok. The preinstall worked and the install script ran.

    But I could not find the ./cpinstall.sh script in the download. Also I could not visit http://servername:8080 all I get is a page can not be displayed message.

    When I try to run the starttomcat script I get.

    /usr/sbin/starttomcat: line 16: ./bin/startup.sh: No such file or directory

  15. #165
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    That would mean the install did not run successfully for some reason.

    1. Are you logged in as root?
    2. re-download the latest package and try it.
    3. cpinstall.sh has been replaced with tcinstall in the latest package.
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. Tomcat or Resin Installer Problems
    By ramorse in forum cPanel Developers
    Replies: 0
    Last Post: 07-08-2005, 12:29 PM
  2. Tomcat Installer gets Stuck????
    By scapeweb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-16-2005, 05:37 AM
  3. ** New Tomcat 4.0.3 Installer **
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 91
    Last Post: 06-30-2004, 07:08 PM
  4. New Tomcat 4.1.30 installer
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-09-2004, 06:04 PM
  5. ** New Tomcat 4.0.3 Installer **
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-05-2003, 03:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube