Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Questions on creating a Apache Derby Server definition in WTP
Questions on creating a Apache Derby Server definition in WTP [message #84493] Wed, 16 March 2005 19:50 Go to next message
Eclipse UserFriend
Hello,

I work on the Apache Derby project (a 100% Java database) and am looking
into the option of adding a Derby Server definition into the WTP.

To look at existing server definitions, I checked out from the WTP (CVS
codeline) the JBoss and Tomcat ones based on the following tutorial.

http://www.eclipse.org//webtools/testtutorials/developingwtp /DevelopingWTP.html

into my environment today. But the following packages shows errors:

org.eclipse.jst.server.generic.serverdefinitions
org.eclipse.jst.server.generic.ui
org.eclipse.jst.server.jboss.core
org.eclipse.jst.server.jboss.ui
org.eclipse.jst.server.tomcat.ui
org.eclipse.jst.server.ui


- some classes not being found
Example:
The project was not built since its build path is incomplete. Cannot
find the class file for org.eclipse.wst.server.core.ITaskModel.

- Illegal attributes in 'plugin.xml'

- unknow extension point
Example:
'org.eclipse.wst.server.core.serverConfigurationTypes'

....more

I did observe from the CVS (web interface) that some files have been
moved, I presume the above are related to that, is that correct or I am
missing some other plug-ins ?

I would also like to know:
- if there are any pointers to creating a server definition in WTP
- does all server definitions come under the org.eclipse.jst.server package.

Any other suggestions/comments, please do let me know.

Regards,
Rajesh
Re: Questions on creating a Apache Derby Server definition in WTP [message #85545 is a reply to message #84493] Mon, 21 March 2005 23:22 Go to previous messageGo to next message
Eclipse UserFriend
Rajesh also posted to the wtp-dev mailing list. Here's my response from
there:
Hi Rajesh,

The JBoss plugins are out of date and not part of WTP right now, so that
explains why they are not compiling. If you have recent copies of the other
plugins, they should compile fine.

The main server tools framework is in the WST server component. The best
place to start is in the overview on the org.eclipse website, and the
javadoc in org.eclipse.wst.server.core and org.eclipse.wst.server.ui. The
extension points in these two plugins provide support for a new server type,
as demonstrated by the Tomcat support.

The jst.server.generic plugins provide a simpler mechanism that can be
extended only for Java servers. It allows the majority of the support to be
done via an XML file instead of Java code. I'm not sure whether Derby will
fit in these parameters, but you can check it out.

Once you have had a chance to get a feel for the support or play around with
it, please feel free to send me specific questions, or arrange a meeting so
that we can discuss.

Thanks,

Tim deBoer
Re: Questions on creating a Apache Derby Server definition in WTP [message #142604 is a reply to message #85545] Thu, 06 October 2005 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: home4slc.pacbell.net

Tim deBoer wrote:
> Rajesh also posted to the wtp-dev mailing list. Here's my response from
> there:
> Hi Rajesh,
>
> The JBoss plugins are out of date and not part of WTP right now, so that
> explains why they are not compiling. If you have recent copies of the other
> plugins, they should compile fine.
>
> The main server tools framework is in the WST server component. The best
> place to start is in the overview on the org.eclipse website, and the
> javadoc in org.eclipse.wst.server.core and org.eclipse.wst.server.ui. The
> extension points in these two plugins provide support for a new server type,
> as demonstrated by the Tomcat support.
>
> The jst.server.generic plugins provide a simpler mechanism that can be
> extended only for Java servers. It allows the majority of the support to be
> done via an XML file instead of Java code. I'm not sure whether Derby will
> fit in these parameters, but you can check it out.
>
> Once you have had a chance to get a feel for the support or play around with
> it, please feel free to send me specific questions, or arrange a meeting so
> that we can discuss.
>
> Thanks,
>
> Tim deBoer
>
>
Hi Tim,

I'm looking into this as well, but I am new to plug-in development.
I've been looking at the Tomcat plug-ins, but am feeling a bit
overwhelmed. I noticed above that you mentioned the generic server
framework, and I believe the Geronimo plug-ins use this
framework.

Would you recommend for a newbie like myself to first attempt the
methodology Geronmio used?

Regards,

Susan Cline
Re: Questions on creating a Apache Derby Server definition in WTP [message #142622 is a reply to message #84493] Thu, 06 October 2005 15:29 Go to previous messageGo to next message
Eclipse UserFriend
I think you may be confused as to what youare attempting to accomlish

1. We can already connect to Derby using RDB protionof wtp..both embdded ie to Geronimoa and etc that embed derby

2. You can alsow use RDB portionof wtp to connect to a stand alone derby server using IBM DB2 Universal driver..

SeverdefFiles plugin api was meant only for J2EE servers..ie EJb and Servlet contianers.. DErby is neither..

..ie you might be trying to fit a square peg in a round hole..
Re: Questions on creating a Apache Derby Server definition in WTP [message #142631 is a reply to message #142622] Thu, 06 October 2005 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: home4slc.pacbell.net

Fred Grott wrote:

> I think you may be confused as to what youare attempting to accomlish
>
> 1. We can already connect to Derby using RDB protionof wtp..both embdded ie to Geronimoa and etc that embed derby
>
> 2. You can alsow use RDB portionof wtp to connect to a stand alone derby server using IBM DB2 Universal driver..
>
> SeverdefFiles plugin api was meant only for J2EE servers..ie EJb and Servlet contianers.. DErby is neither..
>
> .ie you might be trying to fit a square peg in a round hole..

Hi Fred,

I may be confused :-) but I am not confused in the way I believe you
are referring to. I do know that you can connect to an Apache Derby
database using the rdb set of tools.

What I am referring to is a methodology to start and stop the derby
network server using the servers view. I realize this is primarily for
J2EE servers, but I would like to investigate being able to start and
stop the Derby Network server this way.

Susan
Re: Questions on creating a Apache Derby Server definition in WTP [message #142828 is a reply to message #142631] Fri, 07 October 2005 16:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gercan.removeThis.acm.org

Susan, server tools in WTP can be used for any server including the
Derby. Actually, about 6 months ago we had a created a .serverdef file
that does start and stop Derby just to see if it works. I can send this
to you if you are interested.
A note on generic server framework. Athough it will support start/stop
operations for any server, currently publish support is limited to j2ee
modules only.
--
Gorkem Ercan

Susan Cline wrote:
> Fred Grott wrote:
>
>> I think you may be confused as to what youare attempting to accomlish
>>
>> 1. We can already connect to Derby using RDB protionof wtp..both
>> embdded ie to Geronimoa and etc that embed derby
>>
>> 2. You can alsow use RDB portionof wtp to connect to a stand alone
>> derby server using IBM DB2 Universal driver..
>>
>> SeverdefFiles plugin api was meant only for J2EE servers..ie EJb and
>> Servlet contianers.. DErby is neither..
>>
>> .ie you might be trying to fit a square peg in a round hole..
>
>
> Hi Fred,
>
> I may be confused :-) but I am not confused in the way I believe you
> are referring to. I do know that you can connect to an Apache Derby
> database using the rdb set of tools.
>
> What I am referring to is a methodology to start and stop the derby
> network server using the servers view. I realize this is primarily for
> J2EE servers, but I would like to investigate being able to start and
> stop the Derby Network server this way.
>
> Susan
Re: Questions on creating a Apache Derby Server definition in WTP [message #142857 is a reply to message #142828] Fri, 07 October 2005 20:12 Go to previous message
Eclipse UserFriend
Originally posted by: home4slc.pacbell.net

Gorkem Ercan wrote:
>
> Susan, server tools in WTP can be used for any server including the
> Derby. Actually, about 6 months ago we had a created a .serverdef file
> that does start and stop Derby just to see if it works. I can send this
> to you if you are interested.
> A note on generic server framework. Athough it will support start/stop
> operations for any server, currently publish support is limited to j2ee
> modules only.
> --
> Gorkem Ercan
>

Hi Gorkem,

I did get this up and hobbling today. But if you wouldn't mind sending
me your .serverdef anyway, I would appreciate it.

Thanks,

susan
Previous Topic:How to programmatically create and configure server definitions?
Next Topic:plz! help me, this problem is hunting me down !
Goto Forum:
  


Current Time: Thu May 08 18:00:41 EDT 2025

Powered by FUDForum. Page generated in 0.05760 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top