Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to create service error

582068Apr 15 2008 — edited Oct 13 2011
Hi,

I just moved my mail component from CS 6.2 to CS 10gR3. when i try to
send mail it gives the error

System code execution error. Unable to create service. Unable to
instantiate java class code for 'CustomClasses.Generic_Mail' at
location 'CustomClasses.Generic_Mail' with default location at
'CustomClasses.Generic_Mail'.

In the Content Server Log file the below error is captured.

The request was not processed by the Service handler because of a
protocol error.
The request headers parsed from the request are:
{HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;
.NET CLR 1.1.4322; .NET CLR 2.0.50727), HTTP_ACCEPT_ENCODING=gzip,
deflate, REQUEST_METHOD=POST, IsSocketConnection=1,
IdcAuthChallengeType=http, HTTP_ACCEPT_LANGUAGE=en-us, ThreadCount=1,
SERVER_NAME=devcmctb.ikon.org, SERVER_SOFTWARE=Apache/2.0.52 (Red
Hat),

HTTP_REFERER=http://devcmctb.ikon.org/cms/groups/hr_handbook/documents/web_dev_c\
onsumption/handbook_feedback_form.hcsp,
HTTP_CGIPATHROOT=/cms/idcplg, RemoteClientHostAddress=127.0.0.1,
HTTP_HOST=devcmctb.ikon.org, GATEWAY_INTERFACE=CGI/1.1,
REMOTE_ADDR=10.11.2.32,
BOUNDARY=---------------------------7d839e1200d8,
SERVER_PROTOCOL=HTTP/1.1, SERVER_PROTOCOL_TYPE=NONE,
IDC_REQUEST_AGENT=webserver, REMOTE_HOST=10.11.2.32,
HTTP_CONNECTION=Keep-Alive, RemoteClientPort=4444, SERVER_PORT=80,
CONTENT_TYPE=multipart/form-data;
boundary=---------------------------7d839e1200d8,
RemoteClientRemotePort=38485, CONTENT_LENGTH=2106,
IDC_REQUEST_CTIME=1208275580, HTTP_ACCEPT=*/*,
SCRIPT_NAME=/cms/idcplg,
PATH_TRANSLATED=/oracle/ucm/server/weblayout/idcplg}
--------------
System code execution error. Unable to create service. Unable to
instantiate java class code for 'CustomClasses.Generic_Mail' at
location 'CustomClasses.Generic_Mail' with default location at
'CustomClasses.Generic_Mail'. java.lang.NoClassDefFoundError:
javax/mail/Address [ Details ]
An error has occurred. The stack trace below shows more information.

!csServiceRequestProtocolErrorReport,{HTTP_USER_AGENT=Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR
2.0.50727)\, HTTP_ACCEPT_ENCODING=gzip\, deflate\,
REQUEST_METHOD=POST\, IsSocketConnection=1\,
IdcAuthChallengeType=http\, HTTP_ACCEPT_LANGUAGE=en-us\,
ThreadCount=1\, SERVER_NAME=devcmctb.ikon.org\,
SERVER_SOFTWARE=Apache/2.0.52 (Red Hat)\,

HTTP_REFERER=http://devcmctb.ikon.org/cms/groups/hr_handbook/documents/web_dev_c\
onsumption/handbook_feedback_form.hcsp\,
HTTP_CGIPATHROOT=/cms/idcplg\, RemoteClientHostAddress=127.0.0.1\,
HTTP_HOST=devcmctb.ikon.org\, GATEWAY_INTERFACE=CGI/1.1\,
REMOTE_ADDR=10.11.2.32\,
BOUNDARY=---------------------------7d839e1200d8\,
SERVER_PROTOCOL=HTTP/1.1\, SERVER_PROTOCOL_TYPE=NONE\,
IDC_REQUEST_AGENT=webserver\, REMOTE_HOST=10.11.2.32\,
HTTP_CONNECTION=Keep-Alive\, RemoteClientPort=4444\, SERVER_PORT=80\,
CONTENT_TYPE=multipart/form-data;
boundary=---------------------------7d839e1200d8\,
RemoteClientRemotePort=38485\, CONTENT_LENGTH=2106\,
IDC_REQUEST_CTIME=1208275580\, HTTP_ACCEPT=*/*\,
SCRIPT_NAME=/cms/idcplg\,

PATH_TRANSLATED=/oracle/ucm/server/weblayout/idcplg}!csSystemCodeExecutionError!\
csUnableToCreateService!apUnableToInstantiateClass,CustomClasses.Generic_Mail,Cu\
stomClasses.Generic_Mail,CustomClasses.Generic_Mail!syExceptionType2,java.lang.N\
oClassDefFoundError,javax/mail/Address
intradoc.common.ServiceException:

!csUnableToCreateService!apUnableToInstantiateClass,CustomClasses.Generic_Mail,C\
ustomClasses.Generic_Mail,CustomClasses.Generic_Mail
at intradoc.shared.ComponentClassFactory.createClassInstance(Unknown
Source)
at
intradoc.server.ServiceManager.createServiceEx(ServiceManager.java:467)
at
intradoc.server.ServiceManager.processCommand(ServiceManager.java:348)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
Caused by: java.lang.NoClassDefFoundError: javax/mail/Address
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 4 more

My Content Server is installed on Red hat Linux ES 4 and apache 2.0

Can anyone help me resolve the issue?

Thanks,
Neeraj
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2011
Added on Apr 15 2008
1 comment
2,622 views