This is solemn, but joyful occasion
This is a solemn but joyful occasion.
Both are possible. I prefer it without the commas - just because it's tidier. Here's more on commas with adjectives.