Best unofficial Apache Server developers community |
| |||||
| Aug 30, 2010 | |||||
|
Héctor Rivas Gándara |
|
||||
| Tags: | |||||
Similar Threads
Compilation errors
Hi, I'm trying to compile 3.0.5p1 with libvirt and shared libraries, but I keep running into errors that stop the process. When I use '--enable-shared --with-pic' I get the following error: /usr/bin/ld: /home/cohanna/rpmbuild/BUILD/cfengine-3.0.5p1/pub/libcfpub.a(full-write.o): relocation R_X86_64_PC32 against undefined symbol `wr### @@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value When I use just --with-libvirt I get the following error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4 -I/usr/include -I/usr/include -g -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2 -I/usr/include/db4 -pthread -g -O2 -I/usr/include/db4 -MT libpromises_la-cf3globals.lo -MD -MP -MF .deps/libpromises_la-cf3globals.Tpo -c cf3globals.c -o libpromises_la-cf3globals.o cf3globals.c:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CFVC’ Any ideas on getting this working? Thanks! --Caitlyn
Re: block errors
Ted Yu <yuzh### @gmail.com> wrote: Check the datanode log on 10.15.46.73 <http://10.15.46.73:50010/> You should increase dfs.datanode.max.xcievers On Tue, Jul 13, 2010 at 3:57 AM, Some Body <some### @squareplanet.de> wrote: > Hi All, > > I had a MR job that processed 2000 small (<3MB ea.) files and it took 40 > minutes on 8 nodes. > Since the files are small it triggerred 2000 tasks. I packed my 2000 files > into a single 445MB > sequence file (K,V == Text,Text == <filename>,<file-content>). The new MR > job triggers 7 map > tasks (approx 64MB each) but it takes even longer (49 minutes) so I'm > trying to figure out why. > > I noticed these errors and I'm hoping someone can shed some light on why? > > Before I ran the job I ran hadoop fsck / and everything was healthy. > e.g.: no under-replicated, no corrupt blocks etc. > > ...... > 2010-07-13 03:24:20,807 INFO org.apache.hadoop.mapred.ReduceTask: > GetMapEventsThread exiting > 2010-07-13 03:24:20,807 INFO org.apache.hadoop.mapred.ReduceTask: > getMapsEventsThread joined. > 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: Closed > ram manager > 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: > Interleaved on-disk merge complete: 7 files left. > 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: In-memory > merge complete: 0 files left. > 2010-07-13 03:24:20,814 INFO org.apache.hadoop.mapred.ReduceTask: Merging 7 > files, 2401573706 bytes from disk > 2010-07-13 03:24:20,815 INFO org.apache.hadoop.mapred.ReduceTask: Merging 0 > segments, 0 bytes from memory into reduce > 2010-07-13 03:24:20,818 INFO org.apache.hadoop.mapred.Merger: Merging 7 > sorted segments > 2010-07-13 03:24:20,827 INFO org.apache.hadoop.mapred.Merger: Down to the > last merge-pass, with 7 segments left of total size: 2401573678 bytes > 2010-07-13 03:30:42,329 INFO org.apache.hadoop.hdfs.DFSClient: Exception in > createBlockOutputStream java.io.IOException: Bad connect ack with > firstBadLink 10.15.46.73:50010 > 2010-07-13 03:30:42,329 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning > block blk_4304053493083580280_260714 > 2010-07-13 03:31:03,846 INFO org.apache.hadoop.hdfs.DFSClient: Exception in > createBlockOutputStream java.io.IOException: Bad connect ack with > firstBadLink 10.15.46.35:50010 > 2010-07-13 03:31:03,846 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning > block blk_3680469905814989852_260716 > 2010-07-13 03:31:08,233 INFO org.apache.hadoop.hdfs.DFSClient: Exception in > createBlockOutputStream java.io.IOException: Bad connect ack with > firstBadLink 10.15.46.35:50010 > 2010-07-13 03:31:08,233 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning > block blk_-673505196560500372_260717 > 2010-07-13 03:31:14,243 INFO org.apache.hadoop.hdfs.DFSClient: Exception in > createBlockOutputStream java.io.IOException: Bad connect ack with > firstBadLink 10.15.46.73:50010 > 2010-07-13 03:31:14,243 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning > block blk_-7054031797345836167_260717 > ...... > > >
Re: block errors
Check the datanode log on 10.15.46.73 <http://10.15.46.73:50010/> You should increase dfs.datanode.max.xcievers On Tue, Jul 13, 2010 at 3:57 AM, Some Body <someb### @squareplanet.de> wrote: Hi All, I had a MR job that processed 2000 small (<3MB ea.) files and it took 40 minutes on 8 nodes. Since the files are small it triggerred 2000 tasks. I packed my 2000 files into a single 445MB sequence file (K,V == Text,Text == <filename>,<file-content>). The new MR job triggers 7 map tasks (approx 64MB each) but it takes even longer (49 minutes) so I'm trying to figure out why. I noticed these errors and I'm hoping someone can shed some light on why? Before I ran the job I ran hadoop fsck / and everything was healthy. e.g.: no under-replicated, no corrupt blocks etc. ...... 2010-07-13 03:24:20,807 INFO org.apache.hadoop.mapred.ReduceTask: GetMapEventsThread exiting 2010-07-13 03:24:20,807 INFO org.apache.hadoop.mapred.ReduceTask: getMapsEventsThread joined. 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: Closed ram manager 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: Interleaved on-disk merge complete: 7 files left. 2010-07-13 03:24:20,808 INFO org.apache.hadoop.mapred.ReduceTask: In-memory merge complete: 0 files left. 2010-07-13 03:24:20,814 INFO org.apache.hadoop.mapred.ReduceTask: Merging 7 files, 2401573706 bytes from disk 2010-07-13 03:24:20,815 INFO org.apache.hadoop.mapred.ReduceTask: Merging 0 segments, 0 bytes from memory into reduce 2010-07-13 03:24:20,818 INFO org.apache.hadoop.mapred.Merger: Merging 7 sorted segments 2010-07-13 03:24:20,827 INFO org.apache.hadoop.mapred.Merger: Down to the last merge-pass, with 7 segments left of total size: 2401573678 bytes 2010-07-13 03:30:42,329 INFO org.apache.hadoop.hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink 10.15.46.73:50010 2010-07-13 03:30:42,329 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning block blk_4304053493083580280_260714 2010-07-13 03:31:03,846 INFO org.apache.hadoop.hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink 10.15.46.35:50010 2010-07-13 03:31:03,846 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning block blk_3680469905814989852_260716 2010-07-13 03:31:08,233 INFO org.apache.hadoop.hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink 10.15.46.35:50010 2010-07-13 03:31:08,233 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning block blk_-673505196560500372_260717 2010-07-13 03:31:14,243 INFO org.apache.hadoop.hdfs.DFSClient: Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink 10.15.46.73:50010 2010-07-13 03:31:14,243 INFO org.apache.hadoop.hdfs.DFSClient: Abandoning block blk_-7054031797345836167_260717 ......
Errors with Cassandra 0.7
Hi,
I am trying to run Cassandra 0.7 and I am getting different errors:
First it was while calling client.insert and now while calling
set_keyspace (see below).
Any help is appreciated.
Exception in thread "main" org.apache.thrift.transport.TTransportException
at
org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
at
org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:369)
at
org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:295)
at
org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_set_keyspace(Cassandra.java:439)
at
org.apache.cassandra.thrift.Cassandra$Client.set_keyspace(Cassandra.java:424)
at
rtsim.CassandraInterface.ConnectToKeyspace(CassandraInterface.java:216)
at rtsim.Main.main(Main.java:308)
Note: I get the following when I start Cassandra:
*10/08/19 12:58:26 INFO utils.Mx4jTool: Will not load MX4J,
mx4j-tools.jar is not in the classpath*
Errors on CF with index
I'm finding that once I add an index to a column family that I start
getting
exceptions as I try to add rows to it. It works fine if I don't define
the
column metadata. Any ideas what would cause this?
ERROR 12:44:21,477 Error in ThreadPoolExecutor
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -70
at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -70
at org.apache.cassandra.db.Table.apply(Table.java:389)
at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:196)
at
org.apache.cassandra.service.StorageProxy$1.runMayThrow(StorageProxy.java:194)
at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
... 3 more
This is what the code looks like that's creating the keyspace, cf, and
index:
ColumnDef cd = new ColumnDef("type".getBytes(), "UTF8Type");
cd.setIndex_name("type");
cd.setIndex_type(IndexType.KEYS);
List<ColumnDef> columns = new ArrayList<ColumnDef>();
columns.add(cd);
CfDef cf_def = new CfDef();
cf_def.setKeyspace("Domain_00000000_0000_0000_0000_000000000001");
cf_def.setName("Entity_Fields");
cf_def.setComparator_type("BytesType");
cf_def.setColumn_metadata(columns);
List<CfDef> cf_defs = new ArrayList<CfDef>();
cf_defs.add(cf_def);
KsDef ks_def = new KsDef();
ks_def.setName("Domain_00000000_0000_0000_0000_000000000001");
ks_def.setStrategy_class("org.apache.cassandra.locator.SimpleStrategy");
ks_def.setReplication_factor(1);
ks_def.setCf_defs(cf_defs);
thrift_cassandra.system_add_keyspace(ks_def);
Pig + Cassandra = Connection errors
Hi all, I'm trying to get Pig scripts to work on data in Cassandra and right now I want to simply run the example-script.pig on a different Keyspace/CF containing ~6'000'000 entries. I got it running but then the job aborts after quite some time, and when I look at the logs I see hundreds of these: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.maybeInit(ColumnFamilyRecordReader.java:133) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:224) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:101) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader.nextKeyValue(ColumnFamilyRecordReader.java:95) at org.apache.cassandra.hadoop.pig.CassandraStorage.getNext(Unknown Source) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:142) at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:423) at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67) at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:621) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused at org.apache.thrift.transport.TSocket.open(TSocket.java:185) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.maybeInit(ColumnFamilyRecordReader.java:129) ... 13 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:381) at java.net.Socket.connect(Socket.java:537) at java.net.Socket.connect(Socket.java:487) at org.apache.thrift.transport.TSocket.open(TSocket.java:180) ... 14 more and java.lang.RuntimeException: TimedOutException() at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.maybeInit(ColumnFamilyRecordReader.java:174) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:224) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.computeNext(ColumnFamilyRecordReader.java:101) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:135) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:130) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader.nextKeyValue(ColumnFamilyRecordReader.java:95) at org.apache.cassandra.hadoop.pig.CassandraStorage.getNext(Unknown Source) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:142) at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:423) at org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67) at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:621) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305) at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: TimedOutException() at org.apache.cassandra.thrift.Cassandra$get_range_slices_result.read(Cassandra.java:11030) at org.apache.cassandra.thrift.Cassandra$Client.recv_get_range_slices(Cassandra.java:623) at org.apache.cassandra.thrift.Cassandra$Client.get_range_slices(Cassandra.java:597) at org.apache.cassandra.hadoop.ColumnFamilyRecordReader$RowIterator.maybeInit(ColumnFamilyRecordReader.java:151) ... 13 more I checked that the cassandra cluster is running and all my 3 nodes are up and working. As far as I see it the Jobtracker retries when it get those errors but aborts once a large portion have failed. Any idea on why the Cluster keeps dropping connections or timing out? Regards, Chris
Errors Detection in Derby.log
Hi, We've moved from an Oracle DB to Apache Derby DB as a network server and i wish to have some kind of errors logging/monitoring to view DB errors from an administrator (not a developer's) point of view (I'm looking of somewhat the equivalent of oracle alert log). Is there a list of known error codes? Is it possible to avoid the long exception log and view it in some easy-to-parse way? Thanks, Tzachi.
regression errors on 10.6 branch
Just saw these two fail on a regression run on the 10.6 branch. derbyall/derbynetclientmats/derbynetmats.fail:derbynet/testProtocol.java < PASSED 148a148,149 FAILED - Expecting sqlCode 0 got ffffffff in line 1475 java.lang.Exception etc. derbyall/derbynetmats/derbynetmats.fail:lang/ShutdownDatabase.java Salient part of diff seems to be: com.ibm.db2.jcc.c.DisconnectException: The application server rejected establishment of the connection. An attempt was made to access a database, testOnlyTransactionWasCommitedDB;shutdown=true, which was not found. Searched, but couldn't find likely open issues. Anybody else seen those? I also saw one of the replication tests fail on a fork "not enough space", using the same setting I have used previously for suitesAll. -client -Xms128M -Xmx512M -XX:MaxPermSize=128m but maybe that is no longer sufficient? Dag
build errors for activemq5.3.2
Hi, i downloaded the code from http://svn.apache.org/repos/asf/activ...vemq-parent-5.3.2 and given following commands 1) mvn clean install -Dmaven.test.skip=true -- no error its success. 2) mvn clean install -- success with out any errors. 3) mvn eclipse:eclipse ..then i have imported the project into eclipse , then its gave me lot of errors most of them are for jar file missing. its not picking from /user/.m2/repository/.. is there any other settings i have to do it after importing the project into eclipse.(i have maven eclipse plugin installed ready) can you please give the list of the steps i have to do it for running it from eclipse.. thank you in advance.
Weird errors in mongo
Hi, I've been asked to create a sharded replica set scenario in order to test mongodb for feasibility of use. i was given two machines, so i created two replica sets, and sharded them both. and was told to insert 2million rows and do a few tests. my initial insert caused me a few errors, and i noticed i was missing 5-6 records. so in inserted a 2nd 2million and i lost even more. (only 3.8m records inserted) also, i am no longer able to use find(). any help would be appreciated. here is some of the info i've got... what i ran to insert the first 2m rows. for (var i=1; i<=2000000;i++) db.mycollection.save({mycolumn:i, "Weird":"This is pointless data"}) db.mycollection.find(); error: { "$err" : "assertion client/dbclientcursor.cpp:196", "code" : 0 } db.mycollection.findOne(); Fri Aug 20 12:34:28 uncaught exception: error { "$err" : "assertion client/dbclientcursor.cpp:196", "code" : 0 } when this happens, mongos.log gets -> Fri Aug 20 12:34:28 [conn4] ns: mydb.mycollection ClusteredCursor::query ShardConnection had to change attempt: 0 Fri Aug 20 12:34:28 [conn4] Assertion failure connector == conn- get() client/dbclientcursor.cpp 196 Fri Aug 20 12:34:28 [conn4] ~ScopedDBConnection: _conn != null Fri Aug 20 12:34:28 [conn4] UserException: assertion client/ dbclientcursor.cpp:196 the entire scrollback of my mongodb.log is nothing but these lines. Fri Aug 20 11:36:55 [conn15] shardVersionOk failed ns: (mydb.mycollection) op:(insert) your version is too old ns: mydb.mycollection global: 455|7 client: 455|3 my mongos.log is currently full of balancer moving chunks, but it threw a bunch of these at some point Fri Aug 20 11:36:21 [conn4] ERROR: splitIfShould failed: locking namespace failed Fri Aug 20 11:36:22 [conn4] autosplitting mydb.mycollection size: 1048648 shard: ns:mydb.mycollection at: shard0000:foo/ alpha01.mdc.gameloft.org:10000,alpha02.mdc.gameloft.org:10000 lastmod: 443|4 min: { mycolumn: 3834496.0 } max: { mycolumn: "myvalue" } on: { mycolumn: 3888014.0 }(splitThreshold 1048576) Fri Aug 20 11:36:22 [conn4] ERROR: splitIfShould failed: mulitSplit failing because config not up to date onServer: 443|6 mine: 443|4 "count" : 3878074, MongoDB shell version: 1.6.0 Linux alpha01 2.6.26-2-vserver-amd64 #1 SMP Tue Jan 12 23:33:36 UTC 2010 x86_64 GNU/Linux 24700 ? Sl 25:42 mongod --replSet foo --shardsvr --dbpath / data/db/shard00 --port 10000 --logpath /var/log/mongodb/mongo.log -- fork 26050 ? Sl 25:15 mongod --replSet foo2 --shardsvr --dbpath / data/db/shard01 --port 10001 --logpath /var/log/mongodb/mongo.log -- fork 26343 ? Sl 6:05 mongod --fork --configsvr --dbpath /data/db/ config --port 20000 --logpath /var/log/mongodb/mongo.log 26362 ? Sl 6:27 mongos --fork --configdb alpha01.mdc.gameloft.org:20000 --chunkSize 1 --logpath /var/log/ mongodb/mongos.log Linux alpha02 2.6.26-2-vserver-amd64 #1 SMP Wed Aug 19 23:56:39 UTC 2009 x86_64 GNU/Linux 11690 ? Sl 16:36 mongod --fork --replSet foo --shardsvr -- dbpath /data/db/shard00 --port 10000 --logpath /var/log/mongodb/ mongo.log 11787 ? Sl 10:27 mongod --fork --replSet foo2 --shardsvr -- dbpath /data/db/shard01 --port 10001 --logpath /var/log/mongodb/ mongo.log db.mycollection.stats(); { "sharded" : true, "ns" : "mydb.mycollection", "count" : 3888762, "size" : 295545948, "avgObjSize" : 76.00000925744492, "storageSize" : 421004288, "nindexes" : 2, "nchunks" : 459, "shards" : { "shard0000" : { "ns" : "mydb.mycollection", "count" : 1997079, "size" : 151777952, "avgObjSize" : 75.99997396197146, "storageSize" : 243741440, "numExtents" : 15, "nindexes" : 2, "lastExtentSize" : 49594368, "paddingFactor" : 1, "flags" : 1, "totalIndexSize" : 227598336, "indexSizes" : { "_id_" : 94781440, "mycolumn_1" : 132816896 }, "ok" : 1 }, "shard0001" : { "ns" : "mydb.mycollection", "count" : 1891683, "size" : 143767996, "avgObjSize" : 76.00004651942213, "storageSize" : 177262848, "numExtents" : 14, "nindexes" : 2, "lastExtentSize" : 36068352, "paddingFactor" : 1, "flags" : 1, "totalIndexSize" : 148086784, "indexSizes" : { "_id_" : 78274560, "mycolumn_1" : 69812224 }, "ok" : 1 } }, "ok" : 1 }
JAXB errors in Felix
OK, I've read all the previous posts and tried seven different ways to
Sunday to get this to work. I've seen a fair number of posts with the same
problem, but none of the recommendations seems to work for me.
I'm trying to unmarshal some XML into java objects. My code works fine in
a standalone environment, but when I run it in OSGi I'm getting exceptions.
The line:
JAXBContext jaxbContext = JAXBContext.newInstance(packageName);
// this is line 215 in the stacktrace below
Results in the following exception:
javax.xml.bind.JAXBException: Provider
com.sun.xml.internal.bind.v2.ContextFactory not found - with linked
exception:
[java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory]
at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
at
javax.xml.bind.ContextFinder.find(ContextFinder.java:289)
at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
at
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
at Utils.unMarshall(Utils.java:215)
at
osgi.controller.JCMSController.publish(JCMSController.java:245)
at
osgi.controller.JCMSController.publishTrigger(JCMSController.java:320)
at osgi.hscb.TcpThread.run(TcpThread.java:107)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory
at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:744)
at
org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1656)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:604)
at
org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1487)
at
org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:897)
at
org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)
at
org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:480)
at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:112)
... 9 more
As suggested in many of the posts, I've tried passing in the classloader
to the newInstance call and it doesn't help. Based on the classloader I
use, I can also receive the following exception:
java.lang.RuntimeException: javax.xml.bind.JAXBException:
"xxx.xxxx.xxxx" doesnt contain ObjectFactory.class or jaxb.index
My bundle that contains the xsd's, JAXB compiled objects, and the
marshalling code uses the following dependency:
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api-osgi</artifactId>
<version>2.2</version>
</dependency>
I'm using Glassfish V3-SNAPSHOT.
Am I missing an import package in my manifest? Any pointers would be
greatly appreciated.
Thanks,
Larry
0.7.0.bet1 errors during start up
0.7.0-bet1 4 node clustered, i'd managed to get it into some sort of awful state (i think by accidently creating to many clients, it was also complaining about running out of file handles). Anyway I killed it all and restarted just one node, thought I would let it settle down then start the others. On the first node I got this. (Sorry I cannot be more specific, was not paying too much attention it it all went bang) I managed to get a couple of errors, one of which shutdown the server. Just checking before putting them into Jira, should I split them up? ERROR [pool-1-thread-29] 2010-08-26 14:58:20,021 Cassandra.java (line 2651) Internal error processing get_slice java.lang.IllegalStateException: replication factor (3) exceeds number of endpoints (1) at org.apache.cassandra.locator.RackUnawareStrategy.calculateNaturalEndpoints(RackUnawareStrategy.java:57) at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:88) at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1289) at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1277) at org.apache.cassandra.service.StorageService.findSuitableEndpoint(StorageService.java:1323) at org.apache.cassandra.service.StorageProxy.strongRead(StorageProxy.java:402) at org.apache.cassandraservice.StorageProxy.readProtocol(StorageProxy.java:302) at org.apache.cassandra.thrift.CassandraServer.readColumnFamily(CassandraServer.java:125) at org.apache.cassandra.thrift.CassandraServer.getSlice(CassandraServer.java:231) at org.apache.cassandra.thrift.CassandraServer.multigetSliceInternal(CassandraServer.java:309) at org.apache.cassandra.thrift.CassandraServer.get_slice(CassandraServer.java:270) at org.apache.cassandra.thrift.Cassandra$Processor$get_slice.process(Cassandra.java:2643) at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2499) at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:167) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) So I started the other 3, and two suffered the error below which caused the process to shutdown... ERROR [main] 2010-08-26 14:59:22,315 AbstractCassandraDaemon.java (line 107) Exception encountered during startup. java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:549) at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:339) at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:174) at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:120) at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:90) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:224) Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:545) ... 5 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError at org.apache.cassandra.db.commitlog.CommitLog.discardCompletedSegments(CommitLog.java:408) at org.apache.cassandra.db.ColumnFamilyStore$2.runMayThrow(ColumnFamilyStore.java:445) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) ... 6 more Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apachecassandra.db.commitlog.CommitLog.discardCompletedSegments(CommitLog.java:400) ... 8 more Caused by: java.lang.AssertionError at org.apache.cassandra.db.commitlog.CommitLogHeader$CommitLogHeaderSerializer.serialize(CommitLogHeader.java:157) at org.apache.cassandra.db.commitlog.CommitLogHeader.writeCommitLogHeader(CommitLogHeader.java:124) at org.apache.cassandra.db.commitlog.CommitLogSegment.writeHeader(CommitLogSegment.java:70) at org.apache.cassandra.db.commitlog.CommitLog.discardCompletedSegmentsInternal(CommitLog.java:450) at org.apache.cassandra.db.commitlog.CommitLog.access$300(CommitLog.java:75) at org.apache.cassandra.db.commitlog.CommitLog$6.call(CommitLog.java:394) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at org.apache.cassandra.db.commitlog.PeriodicCommitLogExecutorService$1.runMayThrow(PeriodicCommitLogExecutorService.java:52) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) ... 1 more Aaron
Writing errors to localhost log
Hi, I'm using Tomcat 6.0.26. I notice that when I define an error page for my JSPs <%@ page errorPage="/error-pages/500.jsp" %> The error page gets called properly, but the stack trace of the error is no longer written to my localhost log file, where it used to be output before I inserted the directive. Do you know how I can continue to have the stack trace show up in this file and continue to define an error page for my JSP? Thanks, - Dave
dispatcher compile errors
Anyone else getting:
compile:
[javac] Compiling 1 source file to
/Users/twilliams/Development/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/classes
[javac]
/Users/twilliams/Development/forrest/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java:399:
cannot access SourceResolver
[javac] class file for SourceResolver not found
[javac] resolverDispatcher = new CocoonResolver(m_resolver);
[javac] ^
[javac] 1 error
... in dispatcher? I'll poke around locally but wanted to see if it
was just me since zones is apparently working fine.
--tim
Errors in ClickClick Demos
Hi, does anyone know the status of the ClickClick project? Apperantly, there's low activity on http://code.google.com/p/click-jquery/. Some demo examples are not working correctly (http://clickclick-jquery.appspot.com/ajax/form-demo.htm, http://clickclick-jquery.appspot.com/...idation1-demo.htm). Regards Software Developer, GUI & UX Designer, Consultant, Project Manager Java, ECM, CMS, Open Source, LAMP, Oracle, NoSQL, Mobile OS Berkersheimer Bahnstr. 21 mail axe### @morgner.de 60435 Frankfurt am Main phone +49(0)69/26496757 Deutschland / Germany fax +49(0)69/26496756
cgi applications are *now* generating errors
I'm using apache2 on ubuntu 10.04. Some CGI applications on my own desktop are no long working. The error message stored in the logfile will be something like this: """ (2)No such file or directory: Could not open password file: /usr/local/apache/passwords File does not exist: /home/http/error_pages """ This started happening after I enabled mode_rewrite for apache. some CGI applications with the same permissions and ownership as those generating errors are working. It should also be noted that the ownership and permissions of the directories of the files that work are the same as that of the directories of the files that *do not* workd. Most likely this is the result of the mode_rewrite mods. Please advise. thanks tim
Errors with Python bindings
I'm running a Tornado webserver and using ZooKeeper to store some metadata
and occasionally the ZooKeeper connection will error out irrevocably. Any
subsequent calls to ZooKeeper from this process will result in a
SystemError.
Here is the relevant portion of the Python traceback:
<snip>...
File "/usr/lib/pymodules/python2.5/zuul/storage/zoo.py", line 69, in
call
return getattr(zookeeper, name)(self.handle, *args)
SystemError: NULL result without error in PyObject_Call
I found this in the ZooKeeper server logs:
2010-07-13 06:52:46,488 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Fac### @251] -
Accepted socket connection from /10.2.128.233:54779
2010-07-13 06:52:46,489 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOSer### @742] - Client
attempting to renew session 0x429b865a6270003 at /10.2.128.233:54779
2010-07-13 06:52:46,489 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:Lea### @95] - Revalidating
client: 299973596915630083
2010-07-13 06:52:46,793 - INFO
[QuorumPeer:/0:0:0:0:0:0:0:0:2181:NIOSer### @1424] - Invalid session
0x429b865a6270003 for client /10.2.128.233:54779, probably expired
2010-07-13 06:52:46,794 - INFO
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOSer### @1286] - Closed
socket connection for client /10.2.128.233:54779 which had sessionid
0x429b865a6270003
The ZooKeeper ensemble is healthy; each node responds as expected to the
four letter word commands and a simple restart of the Tornado processes
"fixes" this.
My question is, if this really is due to session expiration why is a
SessionExpiredException not raised? Another question, is there an easy way
to determine the version of the ZooKeeper Python bindings I'm using? I
built the 3.3.0 bindings but I just want to be able to verify that.
Thanks for the help,
Rich
Puppet does not include errors in reports
Hi all. I'm setting up Puppet Dashboard for external node and reporting purposes, and notice that errors on the puppet client side doesn't get reported. For example, one of my classes lack a parameter, which results in the typical "Error 400 on server [...] Could not find value for [...]", but still the report indicates that everything is working perfectly. I've found this behavior on the reports on the local file system, so it's not a dashboard issue. Can I tune puppet to report such errors? I'm surprised that these errors are not reported, and are wondring what kind of error are being reported. Best regards, Kenneth
Debugging errors with external nodes
How do I debug errors with external nodes? When my client connects, the following appears on the puppetmaster when running in debug mode. It's not feasible to always be running the pupeptmaster in debug mode. debug: importing '/etc/puppet/modules/yum/manifests/client.pp' in environment production info: Automatically imported yum::client from yum/client into production /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:217:in `evaluate_ast_node' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:102:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:18:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:77:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:175:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:174:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:75:in `compile' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:34:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen' /usr/lib/ruby/1.8/webrick/server.rb:173:in `call' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen' /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen' /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start' /usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:125:in `start' /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main' /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:398:in `exit_on_fail' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' /usr/sbin/puppetmasterd:4 err: Could not find default node or by name with 'app01.pax.livegamer.com, app01.pax.livegamer, app01.pax, app01' on node app01.pax.livegamer.com
cactus-reports.xsl is being generated with errors
Hi folks, I was following this article about generating XML and HTML report from my cactus tests: http://jakarta.apache.org/cactus/inte...tion_browser.html Unfortunately when I was try to generate one html report about my tests with any kind of failure. In my method where exist failure, the row remains out off formatting table and my report shows the following error: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(ServletTestRunner.java:204) at org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advice(ServletTestRunner.java:218) at org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunner.java:1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.StackOverflowError at java.util.HashMap.put(HashMap.java:425) at java.util.HashSet.add(HashSet.java:194) at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:336) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:128) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:394) at org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:248) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400) at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:128) [...] Please... Does anybody can help me to solution this problem?
no 404 errors after using mod rewrite
Jul 20, 2010 It compiles with no errors , but something missing ? Jul 14, 2010 random number generator Aug 23, 2010 Altcharge Rip-off Report (scam) Jun 9, 2010 | |||||
(84 lines) Aug 30, 2010 09:49
(62 lines) Aug 30, 2010 13:14
(62 lines) Sep 1, 2010 07:29
(15 lines) Sep 1, 2010 10:07
(30 lines) Sep 1, 2010 10:08
(20 lines) Sep 1, 2010 10:54