fixing xml editing on iweb

Page 3 of 3 FirstFirst 123
Results 51 to 75 of 75
  1. #51
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    this worked to me:

    1. post from Romulan -> Download link for the JDK1.5 -> http://www.sendspace.com/file/4jmzu9

    2. unpack this to: /usr/local/ -> foldername -> jdk1.5.0_05
    /usr/local/jdk1.5.0_05 <- need chmod 755 ->

    java folder include booth java version folders

    3. root/.bashrc -> last lines

    # ~/.bashrc: executed by bash(1) for non-login shells.
    # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
    # for examples

    # If not running interactively, don't do anything
    [ -z "$PS1" ] && return

    # don't put duplicate lines in the history. See bash(1) for more options
    #export HISTCONTROL=ignoredups

    # check the window size after each command and, if necessary,
    # update the values of LINES and COLUMNS.
    shopt -s checkwinsize

    # make less more friendly for non-text input files, see lesspipe(1)
    [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

    # set variable identifying the chroot you work in (used in the prompt below)
    if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
    fi

    # set a fancy prompt (non-color, unless we know we "want" color)
    case "$TERM" in
    xterm-color)
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
    ;;
    *)
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
    ;;
    esac

    # Comment in the above and uncomment this below for a color prompt
    #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

    # If this is an xterm set the title to user@host:dir
    case "$TERM" in
    xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
    ;;
    *)
    ;;
    esac

    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.

    #if [ -f ~/.bash_aliases ]; then
    # . ~/.bash_aliases
    #fi

    # enable color support of ls and also add handy aliases
    if [ "$TERM" != "dumb" ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
    #alias dir='ls --color=auto --format=vertical'
    #alias vdir='ls --color=auto --format=long'
    fi

    # some more ls aliases
    #alias ll='ls -l'
    #alias la='ls -A'
    #alias l='ls -CF'

    # enable programmable completion features (you don't need to enable
    # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
    # sources /etc/bash.bashrc).
    #if [ -f /etc/bash_completion ]; then
    # . /etc/bash_completion
    #fi

    export JAVA_HOME=/usr/java/jdk1.5.0_05
    export CLASSPATH=/root/apache-tomcat-5.5.28/common/lib/jsp-api.jar:/root/apache-tomcat-5.5.28/common/lib/servlet-api.jar

    4. root/.profile - last lines

    # ~/.profile: executed by Bourne-compatible login shells.

    if [ "$BASH" ]; then
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    fi

    mesg n
    # User specific environment and startup programs

    PATH=$PATH:$HOME/bin:/usr/java/jdk1.6.0_17/bin
    BASH_ENV=$HOME/.bashrc
    USERNAME="root"

    PATH=$PATH:$HOME/bin:/usr/lib/mysql/bin
    BASH_ENV=$HOME/.bashrc
    USERNAME="ROOT"

    export USERNAME BASH_ENV PATH
    export CLASSPATH=.:/usr/java/jdk1.6.17/lib/dt.jar:/usr/java/jdk1.6.0_17/lib/tools.jar:/usr/java/jdk1.6.0_17/lib/mysql-connector-java-5.0.8-bin.jar
    export PATH=$JAVA_HOME/bin:$PATH
    export JAVA_HOME=/usr/java/jdk1.5.0_05

    restart server - not only PW server - restart machine -> fine :)
    Last edited by fgru; 11-04-10 at 06:26 AM.

  2. #52
    SON OF MARFEL hrace009 is offline
    Grand MasterRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by tawdarky View Post
    I did all those things and pwAdmin won't run why?
    that's a path from my server, you should look in to your server where is your jdk path...

    i'am not using Ubuntu server that has release, but i'am using Slackware for my own now... so that's why i don't answer your request at .profile and .bashrc

  3. #53
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    @hrace " but i'am using Slackware for my own now " - write this in your first post --- all think you have ubuntu - its your release :)

  4. #54
    SON OF MARFEL hrace009 is offline
    Grand MasterRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: fixing xml editing on iweb

    it's still same way at syntax and structure folder, coz it still basicly LINUX

    the different is how to mantaint those file server PW and using those Tomcat.

  5. #55
    Elite Member tawdarky is offline
    Member +Rank
    Nov 2008 Join Date
    RomaniaLocation
    125Posts

    Re: fixing xml editing on iweb

    So how do you install java on virtual box?

  6. #56
    SON OF MARFEL hrace009 is offline
    Grand MasterRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: fixing xml editing on iweb

    yes i install it with the same way with ubuntu server

  7. #57
    Newbie smithy298 is offline
    MemberRank
    Jul 2009 Join Date
    2Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by fgru View Post
    this worked to me:

    1. post from Romulan -> Download link for the JDK1.5 -> http://www.sendspace.com/file/4jmzu9

    2. unpack this to: /usr/local/ -> foldername -> jdk1.5.0_05



    java folder include booth java version folders

    3. root/.bashrc -> last lines




    4. root/.profile - last lines




    5. root/tomcat_start.sh - line 3




    6. root/tomcat_stop.sh - line 3




    restart server - not only PW server - restart machine -> fine :)



    I tried the method above. pwAdmin can start and i can login but i can't start the server. It says 'starting of server failed'.

  8. #58
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    go back to your original [ jdk1.5.0_05 to jdk1.6.xx ] -> can you start the server ?

  9. #59
    Elite Member tawdarky is offline
    Member +Rank
    Nov 2008 Join Date
    RomaniaLocation
    125Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by fgru View Post
    go back to your original [ jdk1.5.0_05 to jdk1.6.xx ] -> can you start the server ?
    Yes i can

  10. #60
    SON OF MARFEL hrace009 is offline
    Grand MasterRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by fgru View Post
    @hrace " but i'am using Slackware for my own now " - write this in your first post --- all think you have ubuntu - its your release :)
    i think it not need... you just need to grow up and looking some thing you don't know, and don't command me to put anything, coz i'am not your PERSONAL HELP DESK

  11. #61
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    hrace ?!? ... no comment - sry for writing and help ...

  12. #62
    Newbie smithy298 is offline
    MemberRank
    Jul 2009 Join Date
    2Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by fgru View Post
    go back to your original [ jdk1.5.0_05 to jdk1.6.xx ] -> can you start the server ?

    Yes, i can start the server if i switch back to 1.6.xx.

  13. #63
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    try hrace´s post -> http://forum.ragezone.com/f452/fixin...ml#post5597060 - its very easy :) OR dont edit start.sh / end.sh from my post

  14. #64
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: fixing xml editing on iweb

    Zetta how did u fix the mySQl database error? I have the same problem when I upgrade to pwAdmin 1.0

    Also it appears that pwAdmin is not using my .pwadminconf.jsp file as I am using the old config file from hrace009's vbox server and it still accepts root as the pass and the rates still show 50 when the config file has a different password and rates at 15.

    Any ideas why this is?

    I am using hrace009's vbox server files.

    thx

  15. #65
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb


  16. #66
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by fgru View Post
    I have read this thread many times. Zetta didn't say how he fixed it and I couldn't understand what your post was telling me to do.

    could you please reword it. and say what I must change and in which files.

  17. #67
    RaGEZONER fgru is offline
    Grand MasterRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: fixing xml editing on iweb

    k - pwadminconf.jsp contain String iweb_password - this passWD is for login to pwAdmin AND for login to DataBase ...

    pwAdmin 1.0 passWD is root [ pwadmin under 1.0 has passwd: hrace009 ]
    MySQL passWD is hrace009

    you musst change pwadmin passwd or MySQL passwd [ md5 decrypt -> http://www.php-space.info/php/space/md5-generatoren.php ]

    63a9f0ea7bb98050796b649e85481845 = md5 -> root
    4417086f7ca83a0f21ed7f7ccd29361e = md5 -> hrace009

    btw. database name is " dbo "

    example:


    ...

    //String iweb_password = "63a9f0ea7bb98050796b649e85481845";//root
    String iweb_password = "4417086f7ca83a0f21ed7f7ccd29361e";//hrace009


    String db_host = "localhost";
    String db_port = "3306";
    String db_user = "root";
    String db_password = "hrace009";
    String db_database = "dbo";

    ...
    this is access for booth login - pwadmin / mysql by passwd hrace009 [ default passwd for mysql is " hrace009 " ]


    ...

    String iweb_password = "63a9f0ea7bb98050796b649e85481845";//root
    //String iweb_password = "4417086f7ca83a0f21ed7f7ccd29361e";//hrace009


    String db_host = "localhost";
    String db_port = "3306";
    String db_user = "root";
    String db_password = "root";
    String db_database = "dbo";

    ...
    this is access for booth login - pwadmin / mysql by passwd root [ default passwd for mysql is " hrace009 " - change to passwd " root " ]
    Last edited by fgru; 11-04-10 at 07:31 PM.

  18. #68
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: fixing xml editing on iweb

    The old .pwadminconf.jsp already had this information in it. what i did was copy this across into the new pwAdmin 1.0 folder. And I also edited the file with some of that information beforehand

    the thing is it doesnt appear to be reading anything from the .pwadminconf.jsp file. the password is still the same and it cant find the database because it is still trying to find "pw" instead of "dbo". the rates are still 50 even though the .pwadminconf.jsp says 15.

  19. #69
    Grand Master ronny1982 is offline
    Grand MasterRank
    Jan 2010 Join Date
    744Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by Drakaer View Post
    The old .pwadminconf.jsp already had this information in it. what i did was copy this across into the new pwAdmin 1.0 folder. And I also edited the file with some of that information beforehand

    the thing is it doesnt appear to be reading anything from the .pwadminconf.jsp file. the password is still the same and it cant find the database because it is still trying to find "pw" instead of "dbo". the rates are still 50 even though the .pwadminconf.jsp says 15.


    1. If you make changes to sourcecode in a Web Application you always have to clear the precompiled files in the Application Server Cache directory (/tomcat/work)
    2. The rates are part of server description constants, if you don't make the correct server description in the configuration file, sure it don't shows the correct rates...


    http://pwadmin.codeplex.com/documentation

  20. #70
    Nerd-IO Romulan is offline
    Grand MasterRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: fixing xml editing on iweb

    btw, nice for your 200posts ronny! You can have a little title below your name lool

  21. #71
    Grand Master ronny1982 is offline
    Grand MasterRank
    Jan 2010 Join Date
    744Posts

    Re: fixing xml editing on iweb

    uhm... 200th anniversary and still stuck on pwi v79 tasks structure, so no new release from sTASKedit...

    http://eisregen.kilu.org/smileys/pig...74DD928AF5.gif

    btw. anyone else has problem that images can't be added to posts and will be replaced bei [i]-tag

  22. #72
    SON OF MARFEL hrace009 is offline
    Grand MasterRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by ronny1982 View Post
    uhm... 200th anniversary and still stuck on pwi v79 tasks structure, so no new release from sTASKedit...

    http://eisregen.kilu.org/smileys/pig...74DD928AF5.gif

    btw. anyone else has problem that images can't be added to posts and will be replaced bei [i]-tag
    >.< you geting old

  23. #73
    3D Illusionist Drakaer is offline
    Grand MasterRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by ronny1982 View Post
    1. If you make changes to sourcecode in a Web Application you always have to clear the precompiled files in the Application Server Cache directory (/tomcat/work)
    2. The rates are part of server description constants, if you don't make the correct server description in the configuration file, sure it don't shows the correct rates...


    http://pwadmin.codeplex.com/documentation
    Cool thx ronny it works now

  24. #74
    Newbie ROmenGod is offline
    MemberRank
    Sep 2010 Join Date
    12Posts

    Re: fixing xml editing on iweb

    Quote Originally Posted by hrace009 View Post
    you can use jdk-1_5_0_21, it's not a problem as long it still jdk-1_5_0_XXXXXXXX

    download
    jdk-1_5_0_21-linux-i586.bin from ronny1982
    jdk-1_5_0_05-linux-i586.bin from Romulan
    jdk-1_5_0_21-linux-i586.bin from official JAVA thanks to Vision@Net to find it for me and help me on it

    how to make it worked support with XML mode at pwAdmin?
    put your jdk-1_5_0_21-linux-i586.bin to /usr/java/ with winSCP. and leave jdk-1_6_0_17 directory in there and don't ever touch it or you will be dieeeeee

    chmod jdk-1_5_0_21-linux-i586.bin from 644 to 755, or for simple way, at winSCP right click jdk-1_5_0_21-linux-i586.bin and chose properties, find word Octal change those number to 755

    now at your console

    type: hrace009@server07:#./usr/java/jdk-1_5_0_21-linux-i586.bin

    just hit spacebar, and let the installer do it for you.
    if it asking for press ENTER just press it until your keyboard broken just kidding

    now finaly find your .profile and .bashrc

    find words : /usr/java/jdk1.6.0_17/jre, change it to /usr/java/jdk1.5.0_21/jre

    then save it...

    reboot your server....

    enter your user login and password
    user:ronny1982_pretygurlz
    password: romulan_jerk
    just kidding

    then start your tomcat_start.sh, run http://172.18.0.7:8083/pwAdmin

    gentelment start your enggine!!! ( i mean start your server )
    open character database.... chose one character. then press XML MODE and you will see a miracle of pwAdmin
    -------------------
    ------------------

    Release using hrace009's VB release

    have problem with XML view so
    so i downloaded and transfered
    -> jdk-1_5_0_21-linux-i586.bin &jdk1.5.0_05.tar with WInSCP transfered to root/usr/java


    -> unziped jdk1.5.0_05.tar files content to usr/java


    -> With winscp chged permission to 755


    -> hrace009@server07:#./usr/java/jdk-1_...linux-i586.bin
    space > space ............
    Yes to accept

    Edited .profile and .bashrc
    .bashrc (last line)
    Code:
    export JAVA_HOME=/usr/java/jdk1.5.0_05
    .profile
    Code:
    export JAVA_HOME=/usr/java/jdk1.5.0_05

    can access 1) http://192.168.0.10/adminer/
    2)http://192.168.0.10/adminer/adminer-...ed7f7ccd29361e

    3)able to use wincSCP

    4) BUT unable to access http://192.168.0.10:8080/pwAdmin/

    any help pls


    pics






    reading this post
    Quote Originally Posted by Romulan View Post
    This is my configuration:

    (tomcat_start.sh)
    Code:
    echo ""
    echo "=== APACHE TOMCAT ==="
    export JAVA_HOME=/usr/java/jdk1.5.0_05/jre
    apache-tomcat-5.5.28/bin/startup.sh
    sleep 5
    echo "=== DONE! ==="
    echo ""
    (tomcat_stop.sh)
    Code:
    echo ""
    echo "=== APACHE TOMCAT ==="
    export JAVA_HOME=/usr/java/jdk1.5.0_05/jre
    apache-tomcat-5.5.28/bin/startup.sh
    sleep 5
    echo "=== DONE! ==="
    echo ""
    Your java path must be this ( /usr/java/jdk1.5.0_05/jre ) !!!

    If not, correct it...

    Btw, XML editor and SSL support only work with this JDK version !
    i edited my tomcat start sh and stop . still unable to connect


    [pic of stat up after editing tomcat start sh

    Last edited by ROmenGod; 03-12-10 at 11:39 PM.

  25. #75
    Nerd-IO Romulan is offline
    Grand MasterRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: fixing xml editing on iweb

    Spoiler:
    Quote Originally Posted by ROmenGod View Post
    -------------------
    ------------------

    Release using hrace009's VB release

    have problem with XML view so
    so i downloaded and transfered
    -> jdk-1_5_0_21-linux-i586.bin &jdk1.5.0_05.tar with WInSCP transfered to root/usr/java


    -> unziped jdk1.5.0_05.tar files content to usr/java


    -> With winscp chged permission to 755


    -> hrace009@server07:#./usr/java/jdk-1_...linux-i586.bin
    space > space ............
    Yes to accept

    Edited .profile and .bashrc
    .bashrc (last line)
    Code:
    export JAVA_HOME=/usr/java/jdk1.5.0_05
    .profile
    Code:
    export JAVA_HOME=/usr/java/jdk1.5.0_05

    can access 1) http://192.168.0.10/adminer/
    2)http://192.168.0.10/adminer/adminer-...ed7f7ccd29361e

    3)able to use wincSCP

    4) BUT unable to access http://192.168.0.10:8080/pwAdmin/

    any help pls


    pics






    reading this post

    i edited my tomcat start sh and stop . still unable to connect


    [pic of stat up after editing tomcat start sh



    Your tomcat seem to be correctly launched without any error.

    Oh I found it... If you can access at "http://192.168.0.10/adminer/" then try "http://192.168.0.10/pwAdmin/"

    And switch back to your previous Java version also before trying pwAdmin again.....
    Last edited by Romulan; 03-12-10 at 10:29 PM.



Page 3 of 3 FirstFirst 123

Advertisement