quality@glassfish.java.net

Re: GFv3 Eclipse plugin 1.07 bug

From: Survivant 00 <survivant00_at_gmail.com>
Date: Sat, 27 Sep 2008 10:52:40 -0400

I removed and installed the new version myself. but I have a problem.

I'm not able to start GF v3 from Eclipse.

I always obtain a error message.

here the log from eclipse.


!ENTRY com.sun.enterprise.jst.server.sunappsrv 1 1 2008-09-27 10:32:46.265
!MESSAGE Sun App Server: in SUN SunAppServerLaunch launch

!ENTRY com.sun.enterprise.jst.server.sunappsrv 1 1 2008-09-27 10:32:46.265
!MESSAGE Sun App Server: Domain Name is :domain1

!ENTRY com.sun.enterprise.jst.server.sunappsrv 1 1 2008-09-27 10:32:46.265
!MESSAGE Sun App Server: Domain Dir is
:C:/glassfish-snapshot-v3-prelude-09_22_2008/glassfishv3-prelude/glassfish/domains

!ENTRY com.sun.enterprise.jst.server.sunappsrv 1 1 2008-09-27 10:32:46.265
!MESSAGE Sun App Server: Domain Name is :domain1

!ENTRY com.sun.enterprise.jst.server.sunappsrv 1 1 2008-09-27 10:32:46.281
!MESSAGE Sun App Server: in SunAppServerBehaviour setProcess

!ENTRY org.eclipse.wst.server.core 4 0 2008-09-27 10:33:46.750
!MESSAGE Server GlassFish V3 SNAPSHOT at localhost failed to start.



if I look for the log in GF, there nothing.

but if I try to start GF myself with asadmin start-domain -v

it's crashed and lot of error in the console, but nothing in the server.log
that is related to the error.



here the domains.xml

<domain log-root="${com.sun.aas.instanceRoot}/logs"
application-root="${com.sun.aas.instanceRoot}/applications" version="10.0">
  <system-applications>
    <application enabled="true" context-root=""
location="file:/C:/Temp/glassfish-snapshot-v3-prelude-09_22_2008/glassfishv3-prelude/glassfish/../glassfish/lib/install/applications/__admingui/"
directory-deployed="true" name="__admingui" object-type="system-admin">
      <engine sniffer="web" />
      <engine sniffer="security" />
    </application>
  </system-applications>
  <applications />
  <resources>
    <jdbc-resource pool-name="__TimerPool" jndi-name="jdbc/__TimerPool"
object-type="system-admin" />
    <jdbc-resource pool-name="DerbyPool" jndi-name="jdbc/__default" />
    <jdbc-connection-pool
datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource"
res-type="javax.sql.XADataSource" name="__TimerPool">
      <property name="databaseName"
value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer" />
      <property name="connectionAttributes" value=";create=true" />
    </jdbc-connection-pool>
    <jdbc-connection-pool
datasource-classname="org.apache.derby.jdbc.ClientDataSource"
is-isolation-level-guaranteed="false" res-type="javax.sql.DataSource"
name="DerbyPool">
      <property name="PortNumber" value="1527" />
      <property name="Password" value="APP" />
      <property name="User" value="APP" />
      <property name="serverName" value="localhost" />
      <property name="DatabaseName" value="sun-appserv-samples" />
      <property name="connectionAttributes" value=";create=true" />
    </jdbc-connection-pool>
  </resources>
  <servers>
    <server name="server" config-ref="server-config">
      <application-ref ref="__admingui" virtual-servers="__asadmin" />
      <resource-ref ref="jdbc/__TimerPool" />
      <resource-ref ref="jdbc/__default" />
    </server>
  </servers>
  <configs>
    <config name="server-config">
      <http-service>
        <access-log rotation-suffix="yyyy-MM-dd"
rotation-interval-in-minutes="15" />
        <http-listener port="8080" id="http-listener-1" address="0.0.0.0"
default-virtual-server="server" server-name="">
          <property name="proxiedProtocols" value="ws/tcp" />
        </http-listener>
        <http-listener port="8181" id="http-listener-2" enabled="false"
address="0.0.0.0" security-enabled="true" default-virtual-server="server"
server-name="">
          <ssl ssl3-enabled="false" cert-nickname="s1as" />
        </http-listener>
        <http-listener port="4848" id="admin-listener" address="0.0.0.0"
default-virtual-server="__asadmin" server-name="" />
        <virtual-server id="server"
http-listeners="http-listener-1,http-listener-2">
          <property name="docroot"
value="${com.sun.aas.instanceRoot}/docroot" />
          <property name="accesslog"
value="${com.sun.aas.instanceRoot}/logs/access" />
          <property name="sso-enabled" value="false" />
        </virtual-server>
        <virtual-server id="__asadmin" http-listeners="admin-listener">
          <property name="docroot"
value="${com.sun.aas.instanceRoot}/docroot" />
          <property name="accesslog"
value="${com.sun.aas.instanceRoot}/logs/access" />
          <property name="sso-enabled" value="false" />
        </virtual-server>
        <request-processing thread-count="20"
header-buffer-length-in-bytes="8192" initial-thread-count="2"
thread-increment="1" />
        <keep-alive max-connections="250" />
        <connection-pool />
        <http-protocol forced-response-type="AttributeDeprecated"
default-response-type="AttributeDeprecated" />
        <http-file-cache globally-enabled="false"
file-caching-enabled="false" />
        <property name="accessLoggingEnabled" value="false" />
      </http-service>
      <iiop-service>
        <orb use-thread-pool-ids="thread-pool-1" />
        <iiop-listener port="3700" id="orb-listener-1" address="0.0.0.0" />
        <iiop-listener port="3820" id="SSL" address="0.0.0.0"
security-enabled="true">
          <ssl cert-nickname="s1as" />
        </iiop-listener>
        <iiop-listener port="3920" id="SSL_MUTUALAUTH" address="0.0.0.0"
security-enabled="true">
          <ssl cert-nickname="s1as" client-auth-enabled="true" />
        </iiop-listener>
      </iiop-service>
      <admin-service system-jmx-connector-name="system"
type="das-and-server">
        <jmx-connector port="8686" address="0.0.0.0"
security-enabled="false" name="system" auth-realm-name="admin-realm" />
        <das-config dynamic-reload-enabled="true"
deploy-xml-validation="full"
autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy"
autodeploy-enabled="true" />
        <property name="adminConsoleContextRoot" value="/admin" />
        <property name="adminConsoleDownloadLocation"
value="glassfish/lib/install/applications/admingui.war" />
        <property name="ipsRoot" value="${com.sun.aas.installRoot}/.." />
        <property name="adminConsoleVersion"
value="3.0,0-26:20080922T100335Z" />
      </admin-service>
      <web-container>
        <session-config>
          <session-manager>
            <manager-properties />
            <store-properties />
          </session-manager>
          <session-properties />
        </session-config>
      </web-container>
      <ejb-container max-pool-size="32" pool-resize-quantity="8"
steady-pool-size="0"
session-store="${com.sun.aas.instanceRoot}/session-store">
        <ejb-timer-service />
      </ejb-container>
      <mdb-container max-pool-size="32" pool-resize-quantity="8"
steady-pool-size="0" />
      <jms-service default-jms-host="default_JMS_host" type="EMBEDDED">
        <jms-host
host="/export2/hudson/jobs/gf-prelude-build/workspace/v3/distributions-prelude/glassfish/target/local_image/glassfish/glassfishv3-prelude/glassfish"
name="default_JMS_host" />
      </jms-service>
      <log-service log-rotation-limit-in-bytes="2000000"
file="${com.sun.aas.instanceRoot}/logs/server.log">
        <module-log-levels />
      </log-service>
      <security-service>
        <auth-realm
classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
name="admin-realm">
          <property name="file"
value="${com.sun.aas.instanceRoot}/config/admin-keyfile" />
          <property name="jaas-context" value="fileRealm" />
        </auth-realm>
        <auth-realm
classname="com.sun.enterprise.security.auth.realm.file.FileRealm"
name="file">
          <property name="file"
value="${com.sun.aas.instanceRoot}/config/keyfile" />
          <property name="jaas-context" value="fileRealm" />
        </auth-realm>
        <auth-realm
classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm"
name="certificate" />
        <jacc-provider
policy-provider="com.sun.enterprise.security.provider.PolicyWrapper"
name="default"
policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl">
          <property name="repository"
value="${com.sun.aas.instanceRoot}/generated/policy" />
        </jacc-provider>
        <jacc-provider
policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider"
name="simple"
policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory"
/>
        <audit-module classname="com.sun.enterprise.security.Audit"
name="default">
          <property name="auditOn" value="false" />
        </audit-module>
        <message-security-config auth-layer="SOAP">
          <provider-config provider-type="client"
provider-id="XWS_ClientProvider"
class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
            <request-policy auth-source="content" />
            <response-policy auth-source="content" />
            <property name="encryption.key.alias" value="s1as" />
            <property name="signature.key.alias" value="s1as" />
            <property name="dynamic.username.password" value="false" />
            <property name="debug" value="false" />
          </provider-config>
          <provider-config provider-type="client"
provider-id="ClientProvider"
class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule">
            <request-policy auth-source="content" />
            <response-policy auth-source="content" />
            <property name="encryption.key.alias" value="s1as" />
            <property name="signature.key.alias" value="s1as" />
            <property name="dynamic.username.password" value="false" />
            <property name="debug" value="false" />
            <property name="security.config"
value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
          </provider-config>
          <provider-config provider-type="server"
provider-id="XWS_ServerProvider"
class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
            <request-policy auth-source="content" />
            <response-policy auth-source="content" />
            <property name="encryption.key.alias" value="s1as" />
            <property name="signature.key.alias" value="s1as" />
            <property name="debug" value="false" />
          </provider-config>
          <provider-config provider-type="server"
provider-id="ServerProvider"
class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule">
            <request-policy auth-source="content" />
            <response-policy auth-source="content" />
            <property name="encryption.key.alias" value="s1as" />
            <property name="signature.key.alias" value="s1as" />
            <property name="debug" value="false" />
            <property name="security.config"
value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" />
          </provider-config>
        </message-security-config>
      </security-service>
      <transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs" />
      <monitoring-service>
        <module-monitoring-levels />
      </monitoring-service>
      <java-config debug-options="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
system-classpath="" classpath-suffix="">
        <jvm-options>-client</jvm-options>
        <jvm-options>-XX:+UnlockDiagnosticVMOptions</jvm-options>
        <jvm-options>-XX:+LogVMOutput</jvm-options>

<jvm-options>-XX:LogFile=${com.sun.aas.instanceRoot}/logs/jvm.log</jvm-options>

<jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>

<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>

<jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
        <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
        <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
        <jvm-options>-Xmx512m</jvm-options>

<jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>

<jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>

<jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>

<jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>

<jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
        <jvm-options>-XX:NewRatio=2</jvm-options>
      </java-config>
      <thread-pools>
        <thread-pool thread-pool-id="thread-pool-1" />
      </thread-pools>
      <management-rules enabled="true" />
    </config>
  </configs>
  <property name="administrative.domain.name" value="domain1" />
</domain>


I move GF installation folder (unziped) from c:\temp\glassfish to
c:\glassfish

no idea if it's releated to the plugin are the GF.



2008/9/26 Ludovic Champenois <Ludovic.Champenois_at_sun.com>

> Survivant 00 wrote:
>
>> thanks,
>>
>> if I can download the jar and install them myself it will be OK.. but
>> there is still a problem. The auto-update didn't work in Eclipse. I should
>> be able from Eclipse, check for the latest version.
>>
>>
> First of, we should not cross post mails into different mailing lists.
> Second, which update center do you use? Either you try to re-register a new
> server and click the additional servers ... link or you register our update
> center:
> https://ajax.dev.java.net/eclipse
>
> Ludo
>
>>
>>
>> 2008/9/26 Davis Nguyen <Davis.Nguyen_at_sun.com <mailto:Davis.Nguyen_at_sun.com
>> >>
>>
>> Resend the the message with larger audience with cc
>> users_at_glassfishplugins.dev.java.net
>> <mailto:users_at_glassfishplugins.dev.java.net> alias
>> -davis
>>
>>
>> Hi Survivant
>>
>> Was you able to find information from the website below. It
>> contains some more instructions/troubleshooting for installation,
>> instructions for manual installation and links to the actual
>> binaries for the various versions.
>>
>> https://glassfishplugins.dev.java.net/download/index.html
>>
>>
>> Thanks,
>> -davis
>>
>>
>>
>>
>> Survivant 00 wrote:
>>
>>> why want I try to update Glassfish JavaEE 1.07 Eclipse always
>>> said is up to date ?
>>>
>>> there is a updatesite for the addon ?
>>>
>>>
>>>
>>> 2008/9/26 Survivant 00 <survivant00_at_gmail.com
>>> <mailto:survivant00_at_gmail.com>>
>>>
>>> that was fast :)
>>>
>>> 2008/9/26 ludovic champenois <Ludovic.Champenois_at_sun.com
>>> <mailto:Ludovic.Champenois_at_sun.com>>
>>>
>>> Survivant 00 wrote:
>>>
>>>> I just try to create a Dynamic Web project in Eclipse
>>>> and binding it to GFv3 server, but I got a error message
>>>>
>>>> I have the nightly build 22 september (zip)
>>>>
>>>> I unzip the GF zip file but I don't see the missing
>>>> files either. Do I have to install something else to
>>>> use the plugin ?
>>>>
>>>
>>> See the message on user list:
>>> "Version 1.0.10 of the GlassFish plugin for eclipse was
>>> published
>>> today. Here is a link to the release notes which lists
>>> the bug
>>> fixes that are included:
>>> https://ajax.dev.java.net/eclipse/releasenotes.html
>>>
>>> As with previous versions, you can download it from
>>> within Eclipse using
>>> the Download additional server adapters link on the New
>>> Server Wizard.
>>>
>>> Please send your comments to
>>> users_at_glassfishplugins.dev.java.net
>>> <mailto:users_at_glassfishplugins.dev.java.net> or
>>> dev_at_glassfishplugins.dev.java.net
>>> <mailto:dev_at_glassfishplugins.dev.java.net> and file any
>>> bugs in the issuetracker
>>> at https://glassfishplugins.dev.java.net/issues/.
>>>
>>> We look forward to your feedback!
>>> Rochelle "
>>>
>>> Ludo
>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail:
>>>> quality-unsubscribe_at_glassfish.dev.java.net <mailto:
>>>> quality-unsubscribe_at_glassfish.dev.java.net>
>>>> For additional commands, e-mail:
>>>> quality-help_at_glassfish.dev.java.net <mailto:
>>>> quality-help_at_glassfish.dev.java.net>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>