JBoss Startup Problem -
when start jboss server run jsp page, gives error as:
failed create directory structure: c:\program files\jboss-4.2.2.ga\server\default\log and pop-up appears saying
starting jboss v4.2 @ localhost has encountered problem. server jboss v4.2 @ localhost failed start. please tell me do?
when starting first time configuration (here being default, if not present, jboss creates directories:
$jboss_home\server\default\data$jboss_home\server\default\log$jboss_home\server\default\tmp$jboss_home\server\default\work
these used store , write logs, temporary files , other various files generated.
there error when tries create log folder , because not have permissions write , create folders. ( though every time since jboss likes write lot of logs time ).
in windows vista/7, program files folder not (usually) write-able, application started user cannot create or modify there. run jboss administrator don't, it's bad idea. files need created/modified application should stored in user's folder, application data or somewhere else on hard drive.
possible solutions:
- either install jboss server somewhere else have write access. ( needs when running storing logs )
- configure jboss store logs , other files in different directories, outside of normal program files one. example specify different directory logs can set jvm startup property
jboss.server.log.dir( specify @ startup usingjava -djboss.server.log.dir=c:/i_can_write_here/. can find properties other directories (and lot more) @ http://community.jboss.org/wiki/jbossproperties
Comments
Post a Comment