フォーラム

ホーム » Liferay IDE » English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
David H Nebinger
Setting server.xml and context.xml...
2012/09/18 19:38
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 8431

参加年月日: 2006/09/01

最近の投稿

Okay, this is just pissing me off...

I have some JMS entities that I have set up in server.xml and context.xml as JNDI resources (because they are global references), but every time I stop and then start (not restart) the bundled tomcat within the IDE, it freaking overwrites my files and, because the JNDI entities are not there, things fail. I have to delete the ones that the IDE has overwritten, replace with the ones that I want to use, then restart tomcat again...

How can I stop the IDE from overwriting conf/server.xml and conf/context.xml?
Gregory Amerson
RE: Setting server.xml and context.xml...
2012/09/18 16:19
答え

Gregory Amerson

LIFERAY STAFF

ランク: Liferay Master

投稿: 969

参加年月日: 2010/02/16

最近の投稿

Hey David,

Can you try making your edits to the server.xml and context.xml that is in the Eclipse workspace? In there you should see a Servers project and under it there is a folder for every server instance. Inside that folder you will see the various tomcat config files. Try making your changes there and then restarting the server. Those files should be copied out to the tomcat instance on each startup.
Jack Bakker
RE: Setting server.xml and context.xml...
2012/09/18 16:58
答え

Jack Bakker

ランク: Liferay Master

投稿: 734

参加年月日: 2010/01/03

最近の投稿

no kidding

and all this time I've been maintaining a server.xml.jdbc and a context.xml.jdbc that I copy into place

I guess u don't know till u ask

Thanks Greg (and David for asking)
David H Nebinger
RE: Setting server.xml and context.xml...
2012/09/18 19:44
答え

David H Nebinger

Community Moderator

ランク: Liferay Legend

投稿: 8431

参加年月日: 2006/09/01

最近の投稿

Gregory Amerson:
Can you try making your edits to the server.xml and context.xml that is in the Eclipse workspace? In there you should see a Servers project and under it there is a folder for every server instance. Inside that folder you will see the various tomcat config files. Try making your changes there and then restarting the server. Those files should be copied out to the tomcat instance on each startup.


Thank you, thank you, thank you!
ugandhar @
RE: Setting server.xml and context.xml...
2013/03/26 5:45
答え

ugandhar @

ランク: Junior Member

投稿: 25

参加年月日: 2011/11/21

最近の投稿

Thanks Gregory
viral bhat
RE: Setting server.xml and context.xml...
2014/08/19 1:28
答え

viral bhat

ランク: New Member

投稿: 5

参加年月日: 2014/05/05

最近の投稿

Thanks. It also Work for me.