Edit /etc/apt/sources.list, and add following:
deb http://oss.oracle.com/debian unstable main non-free
then execute
aptitude install oracle-xe oracle-xe-client
to install oracle. finally run
/etc/init.d/oracle-xe configure
The DB by default will be accessed via port 1521. Administration is performed through localhost:8080/apex.
Tuesday, 17 November 2009
Tuesday, 23 December 2008
Jetty 6 : JSP support not configured
Got this when running jetty 6 in eclipse 3.3, make sure to include the jsp jars in the library definition for jetty, so your jsp source can be compiled. See this for more details.
Monday, 22 December 2008
confluence.public.thoughtworks.org - 502 error
CruiseControl Wiki 502 Proxy Error : it seems a bit odd that a company that brought us cruisecontrol for continual build intergration, can't seem to keeps its own web servers up and running for continual use.
Wednesday, 10 December 2008
Lighttpd & PHP
Trying to get lighttpd and php/php-cgi running on windows. This is the command line output
and the stack dump is
C:\tools\LightTPD>LightTPD.exe -f lighttpd.conf -m lib -D 2008-12-10 18:52:18: (log.c.97) server started
8 [sig] LightTPD 3936 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
2008-12-10 18:52:32: (mod_cgi.c.1244) cleaning up CGI: process died with signal 11
2008-12-10 18:52:45: (server.c.1354) [note] graceful shutdown started
2008-12-10 18:52:45: (server.c.1468) server stopped by UID = 400 PID = 2404
and the stack dump is
Stack trace:
Frame Function Args
0022C048 7C802542 (0000007C, 0000EA60, 000000A4, 0022C090)
0022C168 61097F54 (00000000, 7C802600, 7C802542, 000000A4)
0022C258 61095AEB (00000000, 003B0023, 00230000, 0022CE68)
0022C2B8 61095FCB (0022C2D0, 00000000, 00000094, 0022C300)
0022C378 61096182 (00000F60, 00000006, 0022C3A8, 61096383)
0022C388 610961AC (00000006, 0022CE88, 64704338, 0022C3C0)
0022C3A8 61096383 (61103150, 64704338, 64704000, 000003EB)
0022C4D8 64703108 (006B1250, 006BE500, 006BBB78, 00000000)
0022C508 6CA85777 (006B1250, 006BE500, 006BE810, 0022C538)
0022C548 00403C8F (006B1250, 006BE500, 00000005, 6CA865A3)
0022C9C8 00406FDD (006B1250, 006BE500, 00000001, 0040145C)
0022CCA8 004027D8 (00000006, 006B1220, 006B0090, 60030000)
0022CD98 610060D8 (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
Exception: STATUS_ACCESS_VIOLATION at eip=61016583
eax=EC815356 ebx=61108148 ecx=00000000 edx=57E58959 esi=0000000E edi=00000001
ebp=006AC8B8 esp=006AC8B0 program=C:\tools\LightTPD\LightTPD.exe, pid 3936, thread sig
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
006AC8B8 61016583 (61108148, 6111C19B, FFFFFF48, 00000000)
006AC8D8 610166EC (00000001, 00000000, 00000000, 006AC960)
006AC918 61017FD5 (000007C4, 006AC960, 00000000, 00000000)
006ACC58 61018638 (000006D4, 006ACC90, 000000A4, 006ACC8C)
006ACD58 61099F57 (61106F00, 00000000, 00000000, 00000000)
006ACD88 61002F32 (006ACE64, 61018970, 00001074, 00000000)
61003650 61003769 (04A16430, 89000000, FFDA90B0, 24468BFF)
8 [sig] LightTPD 3936 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Tuesday, 2 December 2008
Cargo Jboss42x ANT
Getting the following error when i attempt to use an ANT target to start a locally installed jboss 4.2.3 via the cargo jboss42x containter.
C:\projects\5FL_GERMANY\ValidationService>ant -f cargo.xml jboss-start
Buildfile: cargo.xml
jboss-start:
[echo] ./../../Libs/jboss-4.2.3.GA
[echo] ./../../Libs/cargo/0.9/cargo-core-uberjar-0.9.jar
BUILD FAILED
C:\projects\5FL_GERMANY\ValidationService\cargo.xml:28: org.codehaus.cargo.conta
iner.ContainerException: Cannot create configuration. There's no registered conf
iguration for the parameters (container [id = [jboss42x], type = [installed]], c
onfiguration type [existing]). Actually there are no valid types registered for
this configuration. Maybe you've made a mistake spelling it?
Thursday, 13 November 2008
Customised Eclipse Java Search Results View
I want to be able to have more control over the export options, on the resuts tree from eclipse java search. i plan to customise the search results view, to enable a table view where i can copy/paste various column details.
I've done my initial googling, but all the examples assume that there is customised search and search results extensions being added. I want my 'org.eclipse.search.searchResultViewPages' extension to recieve the same 'org.eclipse.jdt.internal.ui.search.JavaSearchResult' objects that the default view processes.
I want to reuse the default java search dialog
but have a new customised class, that handles the layout of the search results.
the starting point
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_search_searchResultViewPages.html
for writing your own java search queries
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_search.htm
I've done my initial googling, but all the examples assume that there is customised search and search results extensions being added. I want my 'org.eclipse.search.searchResultViewPages' extension to recieve the same 'org.eclipse.jdt.internal.ui.search.JavaSearchResult' objects that the default view processes.
I want to reuse the default java search dialog
icon="icons/full/obj16/jsearch_obj.png"
label="%JavaSearchPage.label"
sizeHint="460,160"
extensions="java:90, jav:90"
showScopeSection="true"
canSearchEnclosingProjects="true"
class="org.eclipse.jdt.internal.ui.search.JavaSearchPage">
but have a new customised class, that handles the layout of the search results.
id="JavaSearchResultPage"
point="org.eclipse.search.searchResultViewPages">
id="org.eclipse.jdt.ui.JavaSearchResultPage"
searchResultClass="org.eclipse.jdt.internal.ui.search.JavaSearchResult"
class="org.eclipse.jdt.internal.ui.search.JavaSearchResultPage">
the starting point
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_search_searchResultViewPages.html
for writing your own java search queries
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_search.htm
Wednesday, 12 November 2008
Apache Forrest - plugin.xmap.output?
site:
[echo]
[echo] Copying the various non-generated resources to site.
[echo] Warnings will be issued if the optional project resources are not found.
[echo] This is often the case, because they are optional and so may not be available.
[echo] Copying project resources and images to site ...
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\build\webapp\resources not found.
[copy] Copying 2 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en
[echo] Copying main skin images to site ...
[copy] Copying 18 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin\images
[copy] Copying 14 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin\images
[echo] Copying project skin images to site ...
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\common\images not found.
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\pelt\images not found.
[echo] Copying main skin css and js files to site ...
[copy] Copying 11 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin
[copy] Copying 4 files to C:\projects\5FL_GERMANY\focus\forrest\build\site\en\skin
[echo] Copying project skin css and js files to site ...
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\common not found.
[copy] Warning: C:\projects\5FL_GERMANY\focus\forrest\src\documentation\skins\pelt not found.
[echo]
[echo] Finished copying the non-generated resources.
[echo] Now Cocoon will generate the rest.
[echo]
[echo] Static site will be generated at:
[echo] C:\projects\5FL_GERMANY\focus\forrest\build\site\en
[echo]
[echo] Cocoon will report the status of each document:
[echo] - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
[echo]
[java] ------------------------------------------------------------------------
[java] cocoon 2.2.0-dev
[java] Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
[java] Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
[java] ------------------------------------------------------------------------
[java] * [1/0] [0/0] 0.891s 0b linkmap.html
[java] org.apache.cocoon.sitemap.PatternException: Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:250)
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:197)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
[java] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
[java] at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
[java] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:292)
[java] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:223)
[java] at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:289)
[java] at org.apache.cocoon.Cocoon.process(Cocoon.java:557)
[java] at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:426)
[java] at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:496)
[java] at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:357)
[java] at org.apache.cocoon.Main.main(Main.java:311)
[java] Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Unable to build LocationMap.
[java] at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(LocationMapModule.java:148)
[java] at org.apache.forrest.locationmap.LocationMapModule.getLocationMap(LocationMapModule.java:105)
[java] at org.apache.forrest.locationmap.LocationMapModule.getAttribute(LocationMapModule.java:203)
[java] at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:246)
[java] ... 14 more
[java] Caused by: org.apache.excalibur.source.SourceNotFoundException: Exception during processing of cocoon://locationmap.xml
[java] at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:207)
[java] at org.apache.forrest.locationmap.LocationMapModule.loadConfiguration(LocationMapModule.java:144)
[java] ... 17 more
[java] Caused by: org.apache.cocoon.ResourceNotFoundException: Resource not found.
[java] at - file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/./sitemap.xmap:403:38
[java] at - file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/./sitemap.xmap:402:63
[java] at org.apache.cocoon.components.source.SourceUtil.handle(SourceUtil.java:377)
[java] at org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:450)
[java] at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:281)
[java] at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
[java] at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:537)
[java] at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:174)
[java] at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:437)
[java] at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:199)
[java] ... 18 more
[java] Caused by: org.apache.excalibur.source.SourceNotFoundException: file:/C:/projects/Libs/apache-forrest-0.8/main/webapp/././../../../Libs/apache-forrest-0.8/main/webapp/locationmap.xml doesn't exist.
[java] at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
[java] at org.apache.cocoon.components.source.SourceUtil.getInputSource(SourceUtil.java:445)
[java] ... 24 more
[java] Caused by: java.io.FileNotFoundException: C:\projects\Libs\apache-forrest-0.8\main\webapp\.\.\..\..\..\Libs\apache-forrest-0.8\main\webapp\locationmap.xml (The system cannot find the path specified)
[java] at java.io.FileInputStream.open(Native Method)
[java] at java.io.FileInputStream.(FileInputStream.java:106)
[java] at org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
[java] ... 25 more
[java] X [0] linkmap.html BROKEN: URI not found: Cannot get variable 'plugin.xmap.output' in expression '{lm:plugin.xmap.output}'
[java] Total time: 0 minutes 4 seconds, Site size: 0 Site pages: 1
[java] Java Result: 1
[echo]
[echo] Copying broken links file to site root.
[echo]
[copy] Copying 1 file to C:\projects\5FL_GERMANY\focus\forrest\build\site\en
BUILD FAILED
C:\projects\5FL_GERMANY\focus\forrest\build.xml:16: The following error occurred while executing this line:
C:\projects\Libs\apache-forrest-0.8\main\targets\site.xml:180: Error building site.
There appears to be a problem with your site build.
Read the output above:
* Cocoon will report the status of each document:
- in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
- See C:\projects\5FL_GERMANY\focus\forrest\build\site\en/broken-links.xml