I was looking into jetspeed Log file and I found out this error any one
familiar with this beast???
C:\jakarta-tomcat-4.1.12\webapps\adm\WEB-INF\conf\datamining.xreg
Exception: java.io.UTFDataFormatException: invalid byte 1 of 1-byte
UTF-8 sequence (0x94)
Stack Trace follows:
java.io.UTFDataFormatException: invalid byte 1 of 1-byte UTF-8 sequence
(0x94)
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:678)
at org.apache.xerces.impl.io.UTF8Reader.read(UTF8Reader.java:537)
Thanks
Javed
> After Checking each of the entries I think the probelm is with the
> following entry :
>
> <portlet-entry name="UserDetailEntry" hidden="false" type="ref"
> parent="JSP" application="false">
> <meta-info>
> <title>User Detail Entry Portal</title>
> <description>User Details for Data Mining
> Portal</description>
> </meta-info>
> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
> <parameter name="template" hidden="true" value="UserDetails.jsp"/>
> <parameter name="action" hidden="true"
> value="portlets.UserDetailAction" />
> <media-type ref="html"/>
> <url cachedOnURL="true"/>
> </portlet-entry>
>
>
>
>> Joe!
>> None of them currently!!
>>
>>
>>> Couple things to check:
>>>
>>> --If you're using the registry watch daemon, make sure the refresh
>>> time is set low enough to be useful (like 60 seconds), and verify
>>> that the registry is actually getting loaded by checking your log
>>> files. The refresh time is set in JetspeedResources.properties, prop
>>> name is: services.Registry.refreshRate
>>>
>>> --If you are stopping/starting your server to reload .xreg files,
>>> make sure you copy the .xreg file to the config directory AFTER you
>>> shut down the server. Turbine writes registry entries back out to
>>> the .xreg files on shutdown, so if you copy it before the shutdown,
>>> it will just be overwritten.
>>>
>>>
>>> Hey Javed,
>>>
>>> Which of the portlet entries below were not showing up in the UI?
>>>
>>>> -----Original Message-----
>>>> From: Richard Bourner [mailto:[EMAIL PROTECTED]]
>>>> Sent: Tuesday, December 17, 2002 6:06 PM
>>>> To: Jetspeed Users List
>>>> Subject: RE: Whats wrong with xreg file
>>>>
>>>>
>>>> I have the same problem with a different portlet.
>>>> It doesn't show in my list either.
>>>>
>>>> Did anyone encounter ths problem before.
>>>> (I have the same config except for MySQL).
>>>>
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>>> > -----Original Message-----
>>>> > From: Javed Mahmud [mailto:[EMAIL PROTECTED]]
>>>> > Sent: Tuesday, December 17, 2002 6:01 PM
>>>> > To: [EMAIL PROTECTED]
>>>> > Subject: Whats wrong with xreg file
>>>> >
>>>> >
>>>> > Hello All,
>>>> > I am working on JSP Portlet. I m working with jetspeed-1.4-b2,
>>>> jakarta-tomcat-4.1.12 and j2sdk1.4.1_01 using MySQL.
>>>> > Can somebody tell me what is wrong with the following xreg file.
>>>> All
>>>> the jsp files and action classes are in the right
>>>> package (following
>>>> > the turbine package structure). It does not come up in the list of
>>>> portlets to be added.
>>>> >
>>>> > Thanks
>>>> > Javed
>>>> >
>>>> > <?xml version="1.0" encoding="UTF-8"?>
>>>> > <registry>
>>>> > <portlet-entry name="DataMining" hidden="false"
>>>> type="instance"
>>>> > application="false">
>>>> > <meta-info>
>>>> > <title>Data Mining Australia</title>
>>>> > <description>Data Mining Australia Example
>>>> > Portlet</description>
>>>> > </meta-info>
>>>> >
>>>> >
>>>> <classname>com.datamining.portal.portlets.DataMiningPortlet</c
>>>> lassname>
>>>> > <media-type ref="html"/>
>>>> > <url cachedOnURL="true"/>
>>>> > </portlet-entry>
>>>> > <portlet-entry name="DataMiningJSP" hidden="false" type="ref"
>>>> > parent="JSP" application="false">
>>>> > <meta-info>
>>>> > <title>Data Mining JSP</title>
>>>> > <description>First Data Mining JSP
>>>> Portlet</description>
>>>> > </meta-info>
>>>> >
>>>> >
>>>> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
>>>> > <parameter name="template" value="datamining.jsp"
>>>> hidden="false"
>>>> > cachedOnName="true" cachedOnValue="true"/>
>>>> > <media-type ref="html"/>
>>>> > <url cachedOnURL="true"/>
>>>> > </portlet-entry>
>>>> > <portlet-entry name="FramedDataMiningJSP"
>>>> hidden="false" type="ref"
>>>> > parent="JSP" application="false">
>>>> > <meta-info>
>>>> > <title>Framed Data Mining JSP</title>
>>>> > <description>First Framed Data Mining JSP
>>>> > Portlet</description>
>>>> > </meta-info>
>>>> >
>>>> >
>>>> <classname>org.apache.jetspeed.portal.portlets.IFramePortlet</
>>>> classname>
>>>> > <parameter name="src" value="datamining.jsp"
>>>> hidden="false"
>>>> > cachedOnName="true" cachedOnValue="true"/>
>>>> > <parameter name="width" value="100%" hidden="false"
>>>> > cachedOnName="true" cachedOnValue="true"/>
>>>> > <parameter name="scrolling" value="auto" hidden="false"
>>>> > cachedOnName="true" cachedOnValue="true"/>
>>>> > <media-type ref="html"/>
>>>> > <url cachedOnURL="true"/>
>>>> > </portlet-entry>
>>>> > <portlet-entry name="UserDetailEntry" hidden="false"
>>>> type="ref"
>>>> > parent="JSP" application="false">
>>>> > <meta-info>
>>>> > <title>User Detail Entry Portal</title>
>>>> > <description>User Details for Data Mining
>>>> Portal</description>
>>>> > </meta-info>
>>>> >
>>>> >
>>>> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
>>>> > <parameter name="template" hidden="true"
>>>> value="UserDetails.jsp"/>
>>>> >
>>>> > <parameter name="action" hidden="true"
>>>> > value="portlets.UserDetailAction" />
>>>> > <media-type ref="html"/>
>>>> > <url cachedOnURL="true"/>
>>>> > </portlet-entry>
>>>> > </registry>
>>>> >
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > To unsubscribe, e-mail:
>>>> <mailto:[EMAIL PROTECTED]>
>>>> For additional commands, e-mail:
>>>> <mailto:[EMAIL PROTECTED]>
>>>>
>>>>
>>>> --
>>>> To unsubscribe, e-mail:
>>>> <mailto:[EMAIL PROTECTED]>
>>>> For additional commands, e-mail:
>>>> <mailto:[EMAIL PROTECTED]>
>>>>
>>>>
>>>
>>> --
>>> To unsubscribe, e-mail:
>>> <mailto:[EMAIL PROTECTED]> For additional
>>> commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>> *---------------------------------------*
>> |Research Assistant |
>> |Building 10 |
>> |Room 4405 |
>> |Faculty of Information Technology |
>> |Department of Computer Systems |
>> |University of Technology Sydney |
>> |Phone: 9514 4513 |
>> |Mobile : 0413 607172 |
>> *---------------------------------------*
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]> For additional
>> commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
> *---------------------------------------*
> |Research Assistant |
> |Building 10 |
> |Room 4405 |
> |Faculty of Information Technology |
> |Department of Computer Systems |
> |University of Technology Sydney |
> |Phone: 9514 4513 |
> |Mobile : 0413 607172 |
> *---------------------------------------*
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]> For additional
> commands, e-mail: <mailto:[EMAIL PROTECTED]>
*---------------------------------------*
|Research Assistant |
|Building 10 |
|Room 4405 |
|Faculty of Information Technology |
|Department of Computer Systems |
|University of Technology Sydney |
|Phone: 9514 4513 |
|Mobile : 0413 607172 |
*---------------------------------------*
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>