• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

The First Steps.. you start here

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Installing and configuring JForum
For information about how to install and configure JForum, please refer to the following pages:

:arrow: Automated Installer - http://www.jforum.net/install.htm
:arrow: Manual Installation - http://www.jforum.net/install_no_wizard.htm

Any questions, please be free to post your comments here.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it use the same schemas as phpBB2? e.g., could I copy my phpBB2 database and point JForum at it?

Very cool project.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kinda.. I mean, the migration from phpbb to jforum can be done without any problem. I have in my TODO list make a script that converts phpbb's datatase to jforum's format.

I want to have it until 1.0 final release.
[edited]As of JForum 2.0, a program that migrates from phpbb is available[/edited]

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Newbie question...

I dont know much sql yet. How do I use the .sql scripts included in the JForum install? The mysql man pages dont seem to be too helpfull with it and I cant find anything mentioning .sql etc...

Thanks

Dar
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could use the "mysql" command to do that. For example:



and so on.

For more help about the command line options, type

mysql --help

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I don't know if this is a bug or if I am justs doing things incorrectly, but when I try to import the sql info into the database I get the following error:

ERROR 1005 at line 79: Can't create table './jforum/user_groups.frm' (errno: 150)

Does anyone know what I am doing wrong?

Thanks
[originally posted on jforum.net by lengjai]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello lengjai,

No, your not doing anything wrong. This is a known problem, I fell into the same trap myself recently. It's necessary to drop the FOREIGN KEY statement from the db_struct file. I have posted Rafael's reply to my problem below, this is from the "JForum Woes..." thread in the forum.

The mysql error 150 is relacted to foreign keys. Mysql documentation says that it occurs when you have a table using constraints, then you use DROP myTable and then try to recreate the table ..

The "solution" for that, according to the documentation, is to have the key sequence of constraints in the time you create the table ( aka, the sequence numbers must be in CREATE statement ). But it didn't work for me at all..

A quick solution? just drop the FOREIGN KEY xxxxx from the db_struct script .. this will not change the forum's behavior. I'm trying to solve this, anyway.

Rafael



Hope that helps.
[originally posted on jforum.net by Diello]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't want to sound daft, but could you give a bit of an example for configuring Tomcat.

Which things go in which directories etc etc
[originally posted on jforum.net by nsedley]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, I recomend you to read the intro available at tomcat's site:

http://jakarta.apache.org/tomcat

Anyway, here are some basic explanation:

1) Look for a directory called "webapps" into your tomcat's instalation directory;

2) Unpack jforum into this webapps dir;

3) Start tomcat and try to access



It should work. If not, you'll need to add some configuration to tomcat's server.xml config file. Something like:



Where the attribute docBase contains the directory name where jforum files are.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is my face now. Can't get it running.

One can read
"The administration interface is accessible at admBase/login.page. For example, considering that you are using your local machine to test, and the context path you configured is called "forum", you could access the admin by typing ".

But where do I set this context? I just get an error message telling me that IE can't find the page. Is there any documentation about this SW?

I have started a MySQL-server, unpacked all files and put them on my wedserver. Changed stuff in database.properties and I have run the file mysql_db_struct.sql-file. How much more is it to get it running for evaluation?

/Martin
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Search for a tag named Context, there must be an example you can use. It will be much as the example I gave you in the previous post.

I *really* recomend you to read the basic tomcat tutorial. The URL

http://jakarta.apache.org/tomcat

have the documentation you will need, both for tomcat 4 and 5.
For example,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

tells you how to start, the basics of Tomcat.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html

explains how to configure the server.xml file.

And
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

is an example of context configuration.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You re-write the phpbb or just implemented ? and if yopu implemented why diont call this of mod? :?:

The phpbb guys can go angry if they conseder it a coopeyith infrasion ... no ?
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:You re-write the phpbb or just implemented ? and if yopu implemented why diont call this of mod? :?:

The phpbb guys can go angry if they conseder it a coopeyith infrasion ... no ?



Just look at the source. The only thing of phpbb that JForum has is the layout and the database, which one I have adapted to fit my needs.
JForum is completely written from the strach, unlike the forum of Nukes on JBoss project, that even has the phpbb code commented on the java files.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Kinda.. I mean, the migration from phpbb to jforum can be done without any problem. I have in my TODO list make a script that converts phpbb's datatase to jforum's format.

I want to have it until 1.0 final release.

Rafael



Hi Rafael,

Are these scripts available yet? If not, do you have a document that describes the procedure to convert from phpbb to JForum?

Thanks!
[originally posted on jforum.net by Fudster]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Fudster wrote:
Are these scripts available yet? If not, do you have a document that describes the procedure to convert from phpbb to JForum?



hhmm.. I have it somewhere in my hd.. but am not finding it.. oh well...

Basically, phpbb has posts and posts_text .. jforum just have posts.. there is little changes in the user table..
the major "problem", or the harder part, is that phpbb uses some kind of hash in the bbcode tags, and jforum dont.. so these hashes must be removed..

if I find the scripts, I put here.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:

Fudster wrote:
Are these scripts available yet? If not, do you have a document that describes the procedure to convert from phpbb to JForum?



hhmm.. I have it somewhere in my hd.. but am not finding it.. oh well...

Basically, phpbb has posts and posts_text .. jforum just have posts.. there is little changes in the user table..
the major "problem", or the harder part, is that phpbb uses some kind of hash in the bbcode tags, and jforum dont.. so these hashes must be removed..

if I find the scripts, I put here.

Rafael



Thank-you Rafael,

I have a phpbb board that is in active use, that I'm integrating with a J2EE app. My integration is limited to sharing the database, and one way to get tighter integration would be by converting the board to JForum. Further, I might be willing to actively contribute to JForum - looks good, and I'd like to learn some FreeMarker.

However, I'm not willing to begin a conversion unless I have some fairly detailed information or a script to get me through the conversion successfully, so:


"there is a little change in the user table"
"I have it somewhere on my hd.. but am not finding it.. oh well..."
"if I find the scripts, I put here."



just do not give me the detail and confidence I was hoping for... :-)

JForum looks fairly stable (albeit somewhat lacking in project organization and documentation, at the moment) - I'd think that there are many Java programmers that would make the switch to JForum if there was some assurance of a smooth conversion.

I am very new to MySQL, but if you are willing to do your part and recover your information on the conversion, and start a script, I would be willing to prove it out for you, and possibly help you debug it, as my time allows.
[originally posted on jforum.net by Fudster]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm a complete noob at CVS, but I think there is a documentation error at:

https://jforum.dev.java.net/servlets/ProjectSource

It gives the following command(s):

OLD:
cvs -d :pserver:guest@cvs.dev.java.net:/cvs login

CORRECT (I think):
cvs -d :pserver:guest@jforum.dev.java.net:/cvs login

THis is the same for all the other commands on the page. I.e. jforum is not specified specifically. Because I'm a noob to CVS and just copied & pasted I took a while for me to figure this out.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, the context path is not hard coded. It is fetched using the code



the "/forums" string is the module name, not the context name

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Inside the file:
net\jforum\view\forum\ForumVH.java

String path = JForum.getRequest().getContextPath() +"/forums/"+ action +"/";

this path is hard coded and will not work with an other context path.

Wouldn't it be better to add a param in the SystemGlobals.properties?

Greetings from Germany
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rafael,

I've had some problems running JForum with postgres (blank page, connection problems on catalina's log) and noticed that the problem was on SystemGlobals.properties, which insisted on using "database.driver.name=mysql". I've corrected that and now it seems to be running OK, but am worried about the header of SystemGlobals.properties:


# JForum default configuration options
# DO NOT EDIT THIS FILE!
# Just enter the options you want to change in "installation.config"
# options placed in "installation.config" override options in this file.
# Version: $Id: SystemGlobals.properties,v 1.23 2004/06/21 03:48:12 rafaelsteil Exp $


What should we do w/r this warning? I couldn't find installation.config !

thanks
Rafael
[originally posted on jforum.net by Rafael Santos]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just ignore this warning. You can change SystemGlobals.properties without any problems.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Just ignore this warning. You can change SystemGlobals.properties without any problems.

Rafael



OK, thanks - I'll send some other comments and suggestions to the jira thingie.

Rafael
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rafael, "baixei" o JForum RC-4 e percebi que ṇo h�� nenhum .jsp. Fiz todos os passos para a configura̤̣o mas ṇo consegui testar, mesmo porque o index.htm est�� vazio.
Eu preciso "baixar" mais alguma coisa?
Grato,

Cristie.

PS: Voc̻ poderia me passar um e-mail para contato?
[originally posted on jforum.net by Cristie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cristie wrote:Rafael, "baixei" o JForum RC-4 e percebi que ṇo h�� nenhum .jsp. Fiz todos os passos para a configura̤̣o mas ṇo consegui testar, mesmo porque o index.htm est�� vazio.
Eu preciso "baixar" mais alguma coisa?
Grato,

Cristie.

PS: Voc̻ poderia me passar um e-mail para contato?



O JForum nao utiliza JSP. O meu email eh rafael@insanecorp.com

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Voc̻ explicou como se atualiza o banco de dados. Mas, o que temos de fazer para faz̻-lo funcionar no Tomcat? Gostaria de ver ele funcionando. Como eu poderia fazer isso?
[originally posted on jforum.net by Cristie]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cristie wrote:Voc̻ explicou como se atualiza o banco de dados. Mas, o que temos de fazer para faz̻-lo funcionar no Tomcat? Gostaria de ver ele funcionando. Como eu poderia fazer isso?



Todos os passos necessarios para fazer o sistema funcionar estao explicados no primeiro topico desse post. Voce tem alguma duvida em relacao aos passos mencionados?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Fudster wrote:

Rafael Steil wrote:Kinda.. I mean, the migration from phpbb to jforum can be done without any problem. I have in my TODO list make a script that converts phpbb's datatase to jforum's format.

I want to have it until 1.0 final release.

Rafael



Hi Rafael,

Are these scripts available yet? If not, do you have a document that describes the procedure to convert from phpbb to JForum?

Thanks!



Hi there. You can take a look at http://jforum-tools.dev.java.net.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When do you plan to release v 2? I saw U've got migration scripts...
Also Will be oracle Suitable for jforum?


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:When do you plan to release v 2? I saw U've got migration scripts...
Also Will be oracle Suitable for jforum?



JForum 2.0 is out now ( starting from November's 8 ). A migration utility from phpbb is available.

We dont' have yet "native" support for Oracle, but it should not be hard to implement.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
English version below
--------------------------------------------
FRANCAIS

J'ai fait toutes les ̩tapes pour installer manuellement le forum. La db est cr̩̩.
Quelle page dois-je maintenant lancer pour ouvrir le forum?
Quelles sont les r̩pertoires/fichiers que je peux supprimer maintenant que le forum est install̩?

Merci

J'ai h̢te de le tester

----------------------------------------------
ENGLISH

I did all the steps to install manualy jforum. Database created.
What page have I to launch to start the forum?
What are all directories/files i could delete since forum installed?

Thanks


EDIT

When I launched new_rename.htm or index.htm, I got a blank page. Nothing in log file. Nothing append

[originally posted on jforum.net by Blackwings]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Blackwings wrote:
ENGLISH

I did all the steps to install manualy jforum. Database created.
What page have I to launch to start the forum?
What are all directories/files i could delete since forum installed?



You should delete the directory "install", remove the key "install" from WEB-INF/config/modulesMapping.properties ( to not allow other users to "reinstall" your jforum ) and rename "new_rename.htm" to "index.htm"..

Blackwings wrote:
When I launched new_rename.htm or index.htm, I got a blank page. Nothing in log file. Nothing append



Hmmm.. generally blank pages show up when something is wrong.. Many times it is a wrong database configuration. In order to try to find the bug, you can try enabling logging to a file. To do that, open the file WEB-INF/log4j.xml and search for a key like



There you'll find the key



Chage the "value" to the complete path where you want to store the logs.
Then, in the next two "catetory" sections, change



to



and restart your container.

Please let me know if you succeed, and what do you think of the installation steps. We could work to improve it.

Thanks.
Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok,

Now, I have a page appears... but really badly:

http://www.basket-saintleger.be/index.htm

This exception is extracted from the source of the previous link because of format



About my thinking regarding installation manual, mainly it is good but you should explain what to do next, as you told me in your previous post.

After read it, I had the feeling of "something missing, incomplete".

PS: For your info, I'm a java developper so you can speak me with technical word
[originally posted on jforum.net by Blackwings]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forgot to tell you that after modified the path for log4J, using the full path my provider gave me (linux path) jforum.log was not created

Maybe you have a good reason to not use log4j.properties using the normal way.
[originally posted on jforum.net by Blackwings]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Blackwings wrote:I forgot to tell you that after modified the path for log4J, using the full path my provider gave me (linux path) jforum.log was not created

Maybe you have a good reason to not use log4j.properties using the normal way.



Hmm.. check if the file / directory has write permission.

Regard the exception, I'm thinking I released a broken 2.0 package. Another user post a message with an exception which shows some languge key missing. I'm checking this right now. In your case, open WEB-INF/config/languages/en_US.properties and check if the key "ForumBase.recentTopics" is in there.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes! The key exists in en_US but not in fr_FR

I added it in FR. I didn't check for the other languages or if other keys are missing.

Thank

For log4j, I still doesn't have the log file created. No matter, i check that later :roll:

EDIT:
other :
User.langPreference = Your language preference
User.avatarExternal = Use an external image as avatar ( type the URL )

In fact, many other... I'm comparing en_US and fr_Fr and there are plenty of key missing... sometime they are there in FR and not in US!
I will modify mine FR ;)
[originally posted on jforum.net by Blackwings]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the only required file to have all keys is en_US.properties. When loading another language pack, jforum will merge the translations with the english one, so the missiing keys will be shown in english.
However, in order to have this working correctly, the key "i18n.internal" shown never be changed to a value other than "en_US".

But I'll run the test cases again to check if there is something wrong with that.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am interested in developing a discussion forum tool in Java.
Using MySql

Mainly I like to have 3 components

1. When the user posts a Query , It should be saved and also same query is mailed to consultant id related to topic id.

2.Again Consultant will login and post reply to this query.

3.Searching the posted queries and Uploading files in the tool so that
all users can access the info.

I would like to get some open source components and integrate them and need to use it in a week.

So pls guide me or help me in getting those open source components.

Thanking you,
Reddy
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use JForum and change a bit here or there .

But if you want to do yourself from strach, a good upload library is http://jakarta.apache.org/commons/fileupload.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rafael
When I launched index.htm, I got a error page... although i did all steps..

(ForumException.java:85) at net.jforum.JForum.service(JForum.java:285) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:536)

[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had ever rename "new_rename.htm" to "index.htm". The file index.htm still wants to redirect me to forums/list.page.
[originally posted on jforum.net by lonely_star]
 
Squanch that. And squanch this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic