Lance,
There are two options.
- change java-home as: java-home="C:/Program Files/Java/jdk1.6.0_10"
in domain.xml.
- remove java-home value from domain.xml and replace
AS_JAVA=C:/Program Files/Java/jdk1.6.0_10 in install-dir/config
asenv file.
By doing either of this, you should be able to see that server uses
the "intended" Java.
It looks to me that " is making launcher think that it is not
a valid value.
Also, an alternate way of seeing which Java server uses -- run:
asadmin generate-jvm-report.
Thanks,
Kedar
Lance J. Andersen wrote:
> Hi Bill, Peter,
>
> I installed Java SE 6U10 as Peter suggested. I also updated my Java
> Home in domain.xml to be via the admin gui:
> <java-config debug-options="-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
> system-classpath="" classpath-suffix="" java-home=""C:/Program
> Files/Java/jdk1.6.0_10/"">
> Added the property
> <jvm-options>-Djavax.activation.debug=true</jvm-options>
>
>
> And I was still seeing the error.
>
>
> What is weird to me was that Prelude is using Java SE 6U06 JRE to boot
> based on the jvm log file(BTW, why doe the JVM info get written to a
> separate file now).
> I am running everything from NB 6.5RC2 and I have the Project set to use
> Java SE 6U10 as well. JAVA_HOME is *not* set in the System environment.
>
> So i happened to notice that the default Java SE for Netbeans was Java
> SE 1.6.06 which matches the stack trace below. Unfortunately even if
> the project that you are running is set to use a JVM other than the
> default, processes such as the start of Prelude do not appear to honor
> that which get started by running that Project.
>
> So the next step was to modify my %NB_HOME%\etc\netbeans.conf file to
> use Java SE 1.6.10.
> Once I did that and rebooted, the JavaMail error went away.
>
>
> A couple of questions:
>
> - Is there a reason that the java-config value for java-home is ignored
> when starting Prelude from Netbeans?
> - Where does the default for ${com.sun.aas.javaRoot} get derived from
> now which is the default for domain.xml in a fresh install
> - Any particular reason why I must manually edit the netbeans.conf to
> change the default JVM when the JVM platform manager knows what is the
> default? At a minimum we should allow for using a different JVM other
> than the default for starting services such as Prelude without requiring
> a reboot of netbeans.
> - If we have issues like this, shouldn't we require a minimum Java SE
> version and at least put a warning in the log at boot time?
>
>
> I will put together a blog which hopefully save others from stumbling
> across this error and if they do at least know how to move forward.
>
> Thank you Bill and Peter with the pointers on this.
>
> Regards
> Lance
>
> Here is the log with the activation debugging enabled.
>
>
> INFO: Launching GlassFish on Apache Felix OSGi platform
> Welcome to Felix.
> =================
> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [9]
> INFO: Started bundle org.glassfish.core.kernel [79]
> INFO: Started bundle org.glassfish.common.common-util [59]
> INFO: Started bundle GlassFish-Application-Common-Module [33]
> INFO: APIClassLoader = Class Loader for Bundle
> [GlassFish-Application-Common-Module [33] ]
> no resource bundle found for version, using default GlassFish version
> INFO: registering service =
> org.apache.felix.framework.StartLevelImpl_at_dc67e, contract =
> org.osgi.service.startlevel.StartLevel, name = null
> INFO: registering service =
> org.apache.felix.framework.PackageAdminImpl_at_609959, contract =
> org.osgi.service.packageadmin.PackageAdmin, name = null
> INFO: Started bundle org.glassfish.branding.branding [37]
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> INFO: Started bundle org.glassfish.common.internal-api [61]
> INFO: Started bundle org.glassfish.admin.config-api [42]
> INFO: Started bundle org.glassfish.registration.glassfish-registration [73]
> INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [19]
> INFO: Started bundle org.glassfish.deployment.deployment-common [69]
> INFO: Started bundle org.glassfish.flashlight.flashlight-framework [72]
> INFO: Listening on port 8080
> INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
> INFO: Listening on port 4848
> INFO: Started bundle org.glassfish.common.container-common [83]
> INFO: The Admin Console is already installed, but not yet loaded.
> INFO: Started bundle org.glassfish.persistence.jpa-connector [24]
> INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [12]
> INFO: Started bundle org.glassfish.web.gf-web-connector [99]
> INFO: Started bundle org.glassfish.security.security [21]
> INFO: security.secmgroff
> INFO: Started bundle org.glassfish.security.securitycommon [23]
> INFO: Security startup service called
> INFO: Started bundle org.glassfish.security.realms [39]
> INFO: Security service(s) started successfully....
> INFO: registering service =
> org.glassfish.web.DirContextURLStreamHandlerService_at_4d41e2, contract =
> org.osgi.service.url.URLStreamHandlerService, name = null
> INFO: Started bundle org.glassfish.web.web-glue [91]
> INFO: Started bundle org.glassfish.common.glassfish-naming [65]
> INFO: Started bundle org.glassfish.common.glassfish-api [84]
> INFO: Started bundle org.glassfish.connectors.connectors-runtime [27]
> INFO: Started bundle org.glassfish.transaction.jta [7]
> INFO: Created HTTP listener http-listener-1 on port 8080
> INFO: Created HTTP listener admin-listener on port 4848
> INFO: Created virtual server server
> INFO: Created virtual server __asadmin
> INFO: Started bundle org.glassfish.deployment.dol [10]
> INFO: Started bundle org.glassfish.web.web-core [108]
> INFO: Dual registration of jndi stream handler: factory already defined
> INFO: Unknown loader 91.0 class
> org.apache.felix.framework.searchpolicy.ContentClassLoader
> INFO: Started bundle org.glassfish.web.jstl-connector [97]
> INFO: Started bundle org.glassfish.web.jsf-connector [104]
> INFO: Using
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate
> as the delegate
> INFO: Started bundle org.glassfish.connectors.work-management [45]
> INFO: Started bundle org.glassfish.common.glassfish-ee-api [70]
> INFO: Started bundle org.glassfish.connectors.connectors-internal-api [89]
> INFO: Started JMXConnector, JMXService URL =
> service:jmx:rmi:///jndi/rmi://owner-8zgjfic0j:8686/jmxrmi
> INFO: policy.loading
> INFO: Started bundle org.glassfish.web.war-util [100]
> INFO: Started bundle org.glassfish.security.websecurity [93]
> INFO: Unknown loader
> org.glassfish.internal.api.DelegatingClassLoader_at_11ce2ad class
> org.glassfish.internal.api.DelegatingClassLoader
> INFO: Loading application PreludeJavaMail at /PreludeJavaMail
> INFO: Loading PreludeJavaMail Application done is 7952 ms
> INFO: GlassFish v3 Prelude startup time : Felix(17655ms) startup
> services(9474ms) total(27129ms)
> INFO: in FeedbackBean()
> INFO: in FeedbackBean.setSender(), sender=foo_at_bar.com
> INFO: in FeedbackBean.setMailingList(), mailingList=N
> INFO: in FeedbackBean.setComment(), comment=d
> INFO: in FeedbackBean.sendFeedback()
> INFO: Mail Host:zipzonetennis.com
> Mail Port:587
> Mail User:lance_at_zipzonetennis.com
> Mail Password:tenn1s
> Mail Protocol:smtp
> Mail Host:zipzonetennis.com
> To:+lance_at_luckydogtennis.com
> from:+foo_at_bar.com
> INFO: [sender=foo_at_bar.com, subject 0]
> INFO: DEBUG: JavaMail version 1.4.1
> INFO: DEBUG: not loading file: C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\javamail.providers
> INFO: DEBUG: java.io.FileNotFoundException: C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\javamail.providers (The system cannot
> find the file specified)
> INFO: DEBUG: !anyLoaded
> INFO: DEBUG: not loading resource: /META-INF/javamail.providers
> INFO: DEBUG: successfully loaded resource:
> /META-INF/javamail.default.providers
> INFO: DEBUG: Tables of loaded providers
> INFO: DEBUG: Providers Listed By Class Name:
> {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
> Microsystems, Inc],
> com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
> Microsystems, Inc],
> com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
> Microsystems, Inc],
> com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
> Microsystems, Inc],
> com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
> Microsystems, Inc],
> com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
> Microsystems, Inc]}
> INFO: DEBUG: Providers Listed By Protocol:
> {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
> Microsystems, Inc],
> imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun
> Microsystems, Inc],
> smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
> Microsystems, Inc],
> pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun
> Microsystems, Inc],
> pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
> Microsystems, Inc],
> smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
> Microsystems, Inc]}
> INFO: DEBUG: successfully loaded resource:
> /META-INF/javamail.default.address.map
> INFO: DEBUG: !anyLoaded
> INFO: DEBUG: not loading resource: /META-INF/javamail.address.map
> INFO: DEBUG: not loading file: C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\javamail.address.map
> INFO: DEBUG: java.io.FileNotFoundException: C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\javamail.address.map (The system cannot
> find the file specified)
> INFO: DEBUG: setDebug: JavaMail version 1.4.1
> INFO: DEBUG: getProvider() returning
> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
> Microsystems, Inc]
> INFO: DEBUG SMTP: useEhlo true, useAuth true
> INFO: DEBUG SMTP: trying to connect to host "zipzonetennis.com", port
> 587, isSSL false
> INFO: 220-kapo.lunarmania.com ESMTP Exim 4.69 #1 Tue, 11 Nov 2008
> 07:18:12 -0800
> 220-We do not authorize the use of this system to transport unsolicited,
> 220 and/or bulk e-mail.
> INFO: DEBUG SMTP: connected to host "zipzonetennis.com", port: 587
> INFO: EHLO owner-8zgjfic0j
> INFO: 250-kapo.lunarmania.com Hello
> pool-70-22-243-89.bos.east.verizon.net [70.22.243.89]
> 250-SIZE 52428800
> 250-PIPELINING
> 250-AUTH PLAIN LOGIN
> 250-STARTTLS
> 250 HELP
> INFO: DEBUG SMTP: Found extension "SIZE", arg "52428800"
> INFO: DEBUG SMTP: Found extension "PIPELINING", arg ""
> INFO: DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN"
> INFO: DEBUG SMTP: Found extension "STARTTLS", arg ""
> INFO: DEBUG SMTP: Found extension "HELP", arg ""
> INFO: DEBUG SMTP: Attempt to authenticate
> INFO: AUTH LOGIN
> INFO: 334 VXNlcm5hbWU6
> INFO: bGFuY2VAemlwem9uZXRlbm5pcy5jb20=
> INFO: 334 UGFzc3dvcmQ6
> INFO: dGVubjFz
> INFO: 235 Authentication succeeded
> INFO: DEBUG SMTP: use8bit false
> INFO: MAIL FROM:<foo_at_bar.com>
> INFO: 250 OK
> INFO: RCPT TO:<lance_at_luckydogtennis.com>
> INFO: 250 Accepted
> INFO: DEBUG SMTP: Verified Addresses
> INFO: DEBUG SMTP: lance_at_luckydogtennis.com
> INFO: DATA
> INFO: 354 Enter message, ending with "." on a line by itself
> INFO: MailcapCommandMap: load HOME
> INFO: new MailcapFile: file C:\Documents and Settings\Owner\.mailcap
> INFO: MailcapCommandMap: load SYS
> INFO: new MailcapFile: file C:\Program
> Files\Java\jdk1.6.0_06\jre\lib\mailcap
> INFO: MailcapCommandMap: load JAR
> INFO: MailcapCommandMap: !anyLoaded
> INFO: MailcapCommandMap: not loading mailcap file: /META-INF/mailcap
> INFO: MailcapCommandMap: load DEF
> INFO: new MailcapFile: InputStream
> INFO: parse: image/gif;;
> x-java-view=com.sun.activation.viewers.ImageViewer
> INFO: Type: image/gif
> INFO: Command: view, Class: com.sun.activation.viewers.ImageViewer
> INFO: parse: image/jpeg;;
> x-java-view=com.sun.activation.viewers.ImageViewer
> INFO: Type: image/jpeg
> INFO: Command: view, Class: com.sun.activation.viewers.ImageViewer
> INFO: parse: text/*;;
> x-java-view=com.sun.activation.viewers.TextViewer
> INFO: Type: text/*
> INFO: Command: view, Class: com.sun.activation.viewers.TextViewer
> INFO: parse: text/*;;
> x-java-edit=com.sun.activation.viewers.TextEditor
> INFO: Type: text/*
> INFO: Command: edit, Class: com.sun.activation.viewers.TextEditor
> INFO: Merging commands for type text/*
> INFO: MailcapCommandMap: successfully loaded mailcap file:
> /META-INF/mailcap.default
> INFO: MailcapCommandMap: createDataContentHandler for text/plain
> INFO: search DB #1
> INFO: search fallback DB #1
> INFO: javax.activation.UnsupportedDataTypeException: no object DCH for
> MIME type text/plain
> INFO: at
> javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:870)
> INFO: at javax.activation.DataHandler.writeTo(DataHandler.java:301)
> INFO: at
> javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
> INFO: at
> javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)
> INFO: at
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:636)
> INFO: at demo.FeedbackBean.sendMail(FeedbackBean.java:221)
> INFO: at demo.FeedbackBean.sendFeedback(FeedbackBean.java:121)
> INFO: at
> org.apache.jsp.feedbackThanks_jsp._jspService(feedbackThanks_jsp.java
> from :69)
> INFO: at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
> INFO: at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> INFO: at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>
> INFO: at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
> INFO: at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
> INFO: at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> INFO: at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
>
> INFO: at
> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
>
> INFO: at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
>
> INFO: at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> INFO: at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
> INFO: at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
>
> INFO: at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> INFO: at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> INFO: at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> INFO: at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> INFO: at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> INFO: at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>
> INFO: at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
> INFO: at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
>
> INFO: at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
>
> INFO: at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
>
> INFO: at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
>
> INFO: at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>
> INFO: at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
>
> INFO: at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> INFO: at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> INFO: at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> INFO: at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>
> INFO: at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>
> INFO: at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
>
> INFO: at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> SEVERE: javax.mail.MessagingException: IOException while sending message;
> nested exception is:
> javax.activation.UnsupportedDataTypeException: no object DCH for
> MIME type text/plain
> SEVERE: at
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:676)
> SEVERE: at demo.FeedbackBean.sendMail(FeedbackBean.java:221)
> SEVERE: at demo.FeedbackBean.sendFeedback(FeedbackBean.java:121)
> SEVERE: at
> org.apache.jsp.feedbackThanks_jsp._jspService(feedbackThanks_jsp.java
> from :69)
> SEVERE: at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
> SEVERE: at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> SEVERE: at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>
> SEVERE: at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
> SEVERE: at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
> SEVERE: at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> SEVERE: at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
>
> SEVERE: at
> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
>
> SEVERE: at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
>
> SEVERE: at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> SEVERE: at
> com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
> SEVERE: at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
>
> SEVERE: at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> SEVERE: at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> SEVERE: at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
>
> SEVERE: at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
> SEVERE: at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
> SEVERE: at
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
>
> SEVERE: at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
> SEVERE: at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
>
> SEVERE: at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
>
> SEVERE: at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
>
> SEVERE: at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
>
> SEVERE: at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
>
> SEVERE: at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
>
> SEVERE: at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> SEVERE: at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> SEVERE: at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> SEVERE: at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
>
> SEVERE: at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
>
> SEVERE: at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
>
> SEVERE: at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> SEVERE: Caused by: javax.activation.UnsupportedDataTypeException: no
> object DCH for MIME type text/plain
> SEVERE: at
> javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:870)
> SEVERE: at
> javax.activation.DataHandler.writeTo(DataHandler.java:301)
> SEVERE: at
> javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
> SEVERE: at
> javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)
> SEVERE: at
> com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:636)
> SEVERE: ... 42 more
>
>
> Bill Shannon wrote:
>> Lance J. Andersen wrote:
>>> Hi Bill,
>>>
>>> Thanks for the note. the mailcap below looks the same as what i have
>>> run the TCK against.
>>
>> My next guess is that it's a class loader problem and the class loader
>> isn't finding the mailcap file.
>>
>> Can you set the system property "javax.activation.debug" to "true"?
>> That will cause more debugging output to System.out, which will help
>> narrow down the problem.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>